summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-06-29 11:05:20 +0200
committerGuido Günther <agx@sigxcpu.org>2015-06-29 11:05:20 +0200
commit86a342f84ba4d63d08bc15c7ce5d6740b66cb60c (patch)
treefbf22433197d0b7a82d9df8c5a1efaa7f9c9b2b4 /hw
parent788f9c5d5734a81440bed0dc0b615cc51e1fd654 (diff)
We also need to "ifconfig lowpan0 up"
Diffstat (limited to 'hw')
-rw-r--r--hw/rpi6lowpan.mdwn5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/rpi6lowpan.mdwn b/hw/rpi6lowpan.mdwn
index f6e0355..c69f425 100644
--- a/hw/rpi6lowpan.mdwn
+++ b/hw/rpi6lowpan.mdwn
@@ -179,17 +179,18 @@ Now we have all the tools:
Make sure there's no ifplugd that brings the interface up. Kill it,
if it's there. Then make sure the interface is down, set a pan_id and
-and add create the 6LoWPAN interfade:
+and add create the 6LoWPAN interface:
$ kill $(ps awux | grep "[i]fplugd.*wpan0" | awk '{print $2}')
$ ifconfig wpan0 | grep -qs UP && ifconfig wpan0 down
$ src/iwpan dev wpan0 set pan_id 0xbeef
$ ip link add link wpan0 name lowpan0 type lowpan
$ ifconfig wpan0 up
+ $ ifconfig lowpan0 up
You can now (hopefully) ping the other device:
- $ ping6 -I lowpan0 fe80::f836:9287:905c:a684
+ $ ping6 fe80::f836:9287:905c:a684%lowpan0
PING fe80::f836:9287:905c:a684(fe80::f836:9287:905c:a684) from fe80::cb23:b779:742d:4fd2 lowpan0: 56 data bytes
64 bytes from fe80::f836:9287:905c:a684: icmp_seq=4 ttl=64 time=16.6 ms
64 bytes from fe80::f836:9287:905c:a684: icmp_seq=11 ttl=64 time=30.6 ms