This is more of a question than an issue, but I didn't get any response on IRC. I'm trying to get wpan-ping to work with hwsim:
$ sudo modprobe mac802154_hwsim
$ sudo iwpan dev wpan0 set pan_id 0xbeef
$ sudo iwpan dev wpan1 set pan_id 0xbeef
$ sudo iwpan dev wpan0 set short_addr 0x1000
$ sudo iwpan dev wpan1 set short_addr 0x1001
$ sudo ip link set wpan0 up
$ sudo ip link set wpan1 up
$ wpan-ping -i wpan1 -da 0x1000 &
Server mode. Waiting for packets...
$ wpan-ping -i wpan0 -a 0x1001
PING 0x1001 (PAN ID 0xbeef) 5 data bytes
Hit 500 ms packet timeout
Hit 500 ms packet timeout
Hit 500 ms packet timeout
Hit 500 ms packet timeout
Hit 500 ms packet timeout
Hit 500 ms packet timeout
^C
I can see packets on both interfaces in wireshark, but I don't see anything on the server. One odd thing I noticed is that wpan-ping always binds to 0x1000, even when I specify using wpan1.
This is more of a question than an issue, but I didn't get any response on IRC. I'm trying to get
wpan-pingto work withhwsim:I can see packets on both interfaces in wireshark, but I don't see anything on the server. One odd thing I noticed is that
wpan-pingalways binds to0x1000, even when I specify usingwpan1.