Comments (4)
Hello @pszkotak!
As I am not able to find any reference regarding this part I don't know if I should care about missing plugins.
Your configure summary looks fine.
I just want to use only the simulator (there are no NCP connected) so I skipped the following:
sudo /usr/local/sbin/wpantund -o NCPSocketName /dev/ttyUSB0
Where did you get that line? I'm pretty sure that's not in the tutorial.
after I tried to start the wpantund for the first time the following was observed (reboot solved the issue):
We've occasionally noticed D-Bus getting in a weird state and not liking wpantund
until after a reboot. We've only ever seen this on our desktop machines, we've never seen it happen on our embedded devices.
We see that IP adresses differ from the tutorial
Yeah, the address values appear to be only mildly stable across platforms, but what is weird is fe80:0:0:0:0:ff:fe00:3000
vs fe80:0:0:0:0:ff:fe00:0
. @jwhui, any idea where that 3000
might have come from?
Is
wpantund[1794]: Error fetching property 96 from NCP: 2
expected?
At the moment, this is expected behavior. That is PROP_IPv6_LL_ADDR
, which isn't currently implemented on the NCP (2 = STATUS_UNIMPLEMENTED
). It is a harmless red herring.
Logs observed on Terminal B:
wpantund[1794]: State change: "offline" -> "associating" wpantund[1794]: "fdde:ba7a:b1e5:0:9704:6a73:208:7028" was added to "utun6" wpantund[1794]: Network Name: wpantund-test wpantund[1794]: State change: "associating" -> "associated" wpantund[1794]: "fdde:ba7a:b1e5:0:9704:6a73:208:7028" was added to "utun6" wpantund[1794]: "fe80::e0b3:5405:90b0:fd87" was added to "utun6" wpantund[1794]: "fe80::e0b3:5405:90b0:fd87" was removed from "utun6" wpantund[1794]: "fdde:ba7a:b1e5:0:9704:6a73:208:7028" was removed from "utun6" wpantund[1794]: "fdde:ba7a:b1e5:0:9704:6a73:208:7028" was removed from "utun6" wpantund[1794]: "fdde:ba7a:b1e5:0:9704:6a73:208:7028" was removed from "utun6" wpantund[1794]: "fe80::e0b3:5405:90b0:fd87" was removed from "utun6" wpantund[1794]: "fdde:ba7a:b1e5:0:9704:6a73:208:7028" was added to "utun6" wpantund[1794]: "fe80::e0b3:5405:90b0:fd87" was added to "utun6"
That looks kinda odd.
There is no reply from the simulated mesh device.
It happens every time, same symptoms observed.
Please advise, how I can proceed further with this issue?
First, make sure you don't have any stray copies of ot-cli
or ot-ncp
running. If you do, they can interfere with things and cause similar behavior. This caused me a bit of grief myself.
Once you have ruled that out, you can turn on some debugging in wpantund
by doing the following:
wpanctl -I utun6 set SyslogMask all
This will make the current instance of wpantund dump out IP traffic and NCP traffic in the logs. Then try pinging again. You may also want to try pinging the link-local address of the ot-cli
, just to see if that works:
ping6 fe80:0:0:0:f3d9:2a82:c8d8:fe43%utun6
Could I also get you to paste in the output from typing route -6
while wpantund
is running in this state?
from wpantund.
Yeah, the address values appear to be only mildly stable across platforms, but what is weird is fe80:0:0:0:0:ff:fe00:3000 vs fe80:0:0:0:0:ff:fe00:0. @jwhui, any idea where that 3000 might have come from?
The 6 most significant bits of the RLOC is the Router ID. Earlier versions of OpenThread used a deterministic method for allocating Router IDs to assist with debugging. However, the spec requires that the Router ID be selected at random and OpenThread has been updated to reflect that.
from wpantund.
Hello @darconeous, @jwhui,
Thank you for such a quick replies, I did not expect that!
Where did you get that line? I'm pretty sure that's not in the tutorial.
It's taken from the wpantund installation guide.
First, make sure you don't have any stray copies of ot-cli or ot-ncp running. If you do, they can interfere with things and cause similar behavior. This caused me a bit of grief myself.
I'm sure there were none as this was the first thing I have done after the reboot but I will keep it in mind when performing next tries.
wpantund started with a command: /usr/local/sbin/wpantund -o Config:NCP:SocketPath "system:examples/apps/ncp/ot-ncp 2" -o SyslogMask "all"
During all the time we had no more ot processes than these two.
root@debian:/home/pisz# ps -A | grep ot-
1953 pts/0 00:00:00 ot-cli
1957 pts/4 00:00:00 ot-ncp
checked ipconfig and route -6:
root@debian:/home/pisz# ifconfig utun6
utun6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::e0b3:5405:90b0:fd87/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:172 (172.0 B)
root@debian:/home/pisz# route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: U 256 0 0 lo
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 utun6
::/0 :: !n -1 1 1 lo
::1/128 :: Un 0 1 13 lo
fe80::a00:27ff:fed5:702/128 :: Un 0 1 0 lo
fe80::e0b3:5405:90b0:fd87/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 utun6
::/0 :: !n -1 1 1 lo
root@debian:/home/pisz#
After executing join 1
in the wpanctl the following was observed:
wpantund[2186]: [NCP->] CMD_PROP_VALUE_IS(PROP_PHY_CHAN)
wpantund[2186]: SELECT: fd_count=8 cms_timeout=60000
wpantund[2186]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[2186]: SELECT: write_fd_set:
wpantund[2186]: [->NCP] Dropping matched packet.
wpantund[2186]: SELECT: fd_count=8 cms_timeout=59658
wpantund[2186]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[2186]: SELECT: write_fd_set:
wpantund[2186]: [->NCP] Dropping matched packet.
wpantund[2186]: SELECT: fd_count=8 cms_timeout=59626
wpantund[2186]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[2186]: SELECT: write_fd_set:
wpantund[2186]: [->NCP] Dropping matched packet.
wpantund[2186]: SELECT: fd_count=8 cms_timeout=56046
wpantund[2186]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[2186]: SELECT: write_fd_set:
wpantund[2186]: [->NCP] Dropping matched packet.
wpantund[2186]: SELECT: fd_count=8 cms_timeout=52038
wpantund[2186]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[2186]: SELECT: write_fd_set:
ifconfig, route -6
root@debian:/home/pisz# ifconfig utun6
utun6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fdde:ba7a:b1e5:0:9704:6a73:208:7028/64 Scope:Global
inet6 addr: fe80::e0b3:5405:90b0:fd87/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:724 (724.0 B)
root@debian:/home/pisz# route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: U 256 0 0 lo
fdde:ba7a:b1e5::/64 :: U 256 0 0 utun6
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 utun6
::/0 :: !n -1 1 1 lo
::1/128 :: Un 0 1 13 lo
fdde:ba7a:b1e5:0:9704:6a73:208:7028/128 :: Un 0 1 0 lo
fe80::a00:27ff:fed5:702/128 :: Un 0 1 0 lo
fe80::e0b3:5405:90b0:fd87/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 utun6
::/0 :: !n -1 1 1 lo
ping
root@debian:/home/pisz# ping6 fe80:0:0:0:f3d9:2a82:c8d8:fe43%utun6
PING fe80:0:0:0:f3d9:2a82:c8d8:fe43%utun6(fe80::f3d9:2a82:c8d8:fe43) 56 data bytes
^C
--- fe80:0:0:0:f3d9:2a82:c8d8:fe43%utun6 ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11003ms
result:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE438000C00008040005261E7E5700000000A4C60A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=22921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE438000640108040006271E7E5700000000FFC40A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=21921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE438000CDFF08040007281E7E570000000094C50A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=20921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE4380008EFD08040008291E7E5700000000D2C60A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=19921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE438000EAFD080400092A1E7E570000000075C50A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=18921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE4380009BFD0804000A2B1E7E5700000000C3C40A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=17921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE43800059FA0804000B2C1E7E570000000004C70A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
wpantund[1956]: SELECT: fd_count=8 cms_timeout=16921
wpantund[1956]: SELECT: read_fd_set: 4, 5, 6, 7
wpantund[1956]: SELECT: write_fd_set:
wpantund[1956]: [->NCP] IPv6 len:104 type:58 [SECURE]
wpantund[1956]: to(remote):[fe80::f3d9:2a82:c8d8:fe43]
wpantund[1956]: from(local):[fe80::e0b3:5405:90b0:fd87]
wpantund[1956]: ↳ {80037268006000000000403A40FE80000000000000E0B3540590B0FD87FE80000000000000F3D92A82C8D8FE438000FBF90804000C2D1E7E570000000061C60A0000000000101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F3031323334353637}
root@debian:/home/pisz# ifconfig utun6
utun6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fdde:ba7a:b1e5:0:9704:6a73:208:7028/64 Scope:Global
inet6 addr: fe80::e0b3:5405:90b0:fd87/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:2020 (1.9 KiB)
root@debian:/home/pisz# route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: U 256 0 0 lo
fdde:ba7a:b1e5::/64 :: U 256 0 0 utun6
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
::1/128 :: Un 0 1 13 lo
fdde:ba7a:b1e5:0:9704:6a73:208:7028/128 :: Un 0 1 0 lo
fe80::a00:27ff:fed5:702/128 :: Un 0 1 0 lo
fe80::e0b3:5405:90b0:fd87/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
When I was messing with the wpantund I also noticed that each leave
and join 1
adds one inet6 addr to the interface. In case it was relevant please find it below:
root@debian:/home/pisz# ifconfig utun6
utun6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fdde:ba7a:b1e5:0:9704:6a73:208:7028/64 Scope:Global
inet6 addr: fe80::e0b3:5405:90b0:fd87/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:2020 (1.9 KiB)
root@debian:/home/pisz# route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: U 256 0 0 lo
fdde:ba7a:b1e5::/64 :: U 256 0 0 utun6
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
::1/128 :: Un 0 1 13 lo
fdde:ba7a:b1e5:0:9704:6a73:208:7028/128 :: Un 0 1 0 lo
fe80::a00:27ff:fed5:702/128 :: Un 0 1 0 lo
fe80::e0b3:5405:90b0:fd87/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
wpanctl:utun6> leave
Leaving current WPAN. . .
wpanctl:utun6> join 1
Joining "wpantund-test" DEBA7AB1E5EAF00D
Successfully Joined!
wpanctl:utun6> status
utun6 => [
"NCP:State" => "associated"
"Daemon:Enabled" => true
"NCP:Version" => "OPENTHREAD/g8ef67d2; Jul 6 2016 10:00:09"
"Daemon:Version" => "0.07.00 (0.07.00-3-gc0ffa2a-dirty; Jul 6 2016 09:41:12)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [E2B3540590B0FD87]
"NCP:Channel" => 11
"Network:NodeType" => "leader"
"Network:Name" => "wpantund-test"
"Network:XPANID" => 0xDEBA7AB1E5EAF00D
"Network:PANID" => 0xFFFF
"IPv6:LinkLocalAddress" => "fe80::e0b3:5405:90b0:fd87"
"IPv6:MeshLocalAddress" => "fdde:ba7a:b1e5:0:572:2165:c49b:7283"
"IPv6:MeshLocalPrefix" => "fdde:ba7a:b1e5::/64"
"com.nestlabs.internal:Network:AllowingJoin" => false
]
wpanctl:utun6>
root@debian:/home/pisz# ifconfig utun6
utun6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fdde:ba7a:b1e5:0:9704:6a73:208:7028/64 Scope:Global
inet6 addr: fe80::e0b3:5405:90b0:fd87/64 Scope:Link
inet6 addr: fdde:ba7a:b1e5:0:572:2165:c49b:7283/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:2468 (2.4 KiB)
root@debian:/home/pisz# route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: U 256 0 0 lo
fdde:ba7a:b1e5::/64 :: U 256 0 0 utun6
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
::1/128 :: Un 0 1 14 lo
fdde:ba7a:b1e5:0:572:2165:c49b:7283/128 :: Un 0 1 0 lo
fdde:ba7a:b1e5:0:9704:6a73:208:7028/128 :: Un 0 1 0 lo
fe80::a00:27ff:fed5:702/128 :: Un 0 1 0 lo
fe80::e0b3:5405:90b0:fd87/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
root@debian:/home/pisz#
wpanctl:utun6> leave
Leaving current WPAN. . .
wpanctl:utun6> join 1
Joining "wpantund-test" DEBA7AB1E5EAF00D
Successfully Joined!
wpanctl:utun6> status
utun6 => [
"NCP:State" => "associated"
"Daemon:Enabled" => true
"NCP:Version" => "OPENTHREAD/g8ef67d2; Jul 6 2016 10:00:09"
"Daemon:Version" => "0.07.00 (0.07.00-3-gc0ffa2a-dirty; Jul 6 2016 09:41:12)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [E2B3540590B0FD87]
"NCP:Channel" => 11
"Network:NodeType" => "leader"
"Network:Name" => "wpantund-test"
"Network:XPANID" => 0xDEBA7AB1E5EAF00D
"Network:PANID" => 0xFFFF
"IPv6:LinkLocalAddress" => "fe80::e0b3:5405:90b0:fd87"
"IPv6:MeshLocalAddress" => "fdde:ba7a:b1e5:0:2a71:18a8:3ce0:2710"
"IPv6:MeshLocalPrefix" => "fdde:ba7a:b1e5::/64"
"com.nestlabs.internal:Network:AllowingJoin" => false
]
wpanctl:utun6>
root@debian:/home/pisz# ifconfig utun6
utun6 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fdde:ba7a:b1e5:0:9704:6a73:208:7028/64 Scope:Global
inet6 addr: fe80::e0b3:5405:90b0:fd87/64 Scope:Link
inet6 addr: fdde:ba7a:b1e5:0:572:2165:c49b:7283/64 Scope:Global
inet6 addr: fdde:ba7a:b1e5:0:2a71:18a8:3ce0:2710/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:3116 (3.0 KiB)
root@debian:/home/pisz# route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: U 256 0 0 lo
fdde:ba7a:b1e5::/64 :: U 256 0 0 utun6
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
::1/128 :: Un 0 1 15 lo
fdde:ba7a:b1e5:0:572:2165:c49b:7283/128 :: Un 0 1 0 lo
fdde:ba7a:b1e5:0:2a71:18a8:3ce0:2710/128 :: Un 0 1 0 lo
fdde:ba7a:b1e5:0:9704:6a73:208:7028/128 :: Un 0 1 0 lo
fe80::a00:27ff:fed5:702/128 :: Un 0 1 0 lo
fe80::e0b3:5405:90b0:fd87/128 :: Un 0 1 0 lo
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 utun6
::/0 :: !n -1 1 14 lo
In the end I managed to get it working.
We see that even if the channel 14
has been specified in the ot-cli the following is reported.
wpanctl:utun6> status
utun6 => [
"NCP:State" => "associated"
"Daemon:Enabled" => true
"NCP:Version" => "OPENTHREAD/g8ef67d2; Jul 6 2016 10:00:09"
"Daemon:Version" => "0.07.00 (0.07.00-3-gc0ffa2a-dirty; Jul 6 2016 09:41:12)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [E2B3540590B0FD87]
"NCP:Channel" => 11 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
"Network:NodeType" => "leader"
"Network:Name" => "wpantund-test"
"Network:XPANID" => 0xDEBA7AB1E5EAF00D
"Network:PANID" => 0xFFFF <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
"IPv6:LinkLocalAddress" => "fe80::e0b3:5405:90b0:fd87"
"IPv6:MeshLocalAddress" => "fdde:ba7a:b1e5:0:572:2165:c49b:7283"
"IPv6:MeshLocalPrefix" => "fdde:ba7a:b1e5::/64"
"com.nestlabs.internal:Network:AllowingJoin" => false
]
Now instead entering:
> networkname wpantund-test
> extpanid DEBA7AB1E5EAF00D
> channel 14
> masterkey 00112233445566778899AABBCCDDEEFF
I do:
> networkname wpantund-test
> extpanid DEBA7AB1E5EAF00D
> channel 11
> panid 1234
> masterkey 00112233445566778899AABBCCDDEEFF
Changed panid as well, I am not sure if 0xFFFF is an allowed value.
After these changes I am able to ping the simulated device.
Thank you for your involvement, I'm waiting for further comments.
from wpantund.
Closing stale issue.
from wpantund.
Related Issues (20)
- Error code definition with wpanctl in Diagnostic mode HOT 1
- Unit wpantund.service could not be found. HOT 4
- ping a node in thread network with the ipv6 address. HOT 2
- removing devices from a thread network. HOT 5
- Unable to forward NCP logs HOT 6
- Bidirectional IPv6 reachability between Thread and Ethernet/Wi-Fi HOT 1
- joiner -e <psk> fails on NCP firmware HOT 1
- Cross compile configure error: Unable to find a usable implementation of boost::signals2 HOT 1
- Build errors on macOS HOT 3
- New Release ?
- stack-buffer-overflow in metric_len
- wpantund on NCP? HOT 6
- NCP is in offline state HOT 6
- configure: error: Package requirements (dbus-1 >= 1.4) were not met: HOT 2
- Unexpected reset on connected board HOT 1
- Install doesn't create a wpantund.service on Ubuntu 21.10 HOT 8
- wpantund.service is not running by default
- HomeBrew Formulae ist deprecated; manual installation is not applicable. HOT 2
- brew install for OSX no formulae exists HOT 1
- Problem with wpanctl getprop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpantund.