mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 14:38:05 +02:00
12 lines
238 B
Plaintext
12 lines
238 B
Plaintext
|
#!./pex
|
||
|
!dmesg -n 1
|
||
|
!clear
|
||
|
iz add wpan-phy0
|
||
|
ip link set wpan0 address ca:fe:ca:fe:ca:fe:ca:fe
|
||
|
ifconfig wpan0 up
|
||
|
izcoordinator -d 1 -l lease -i wpan0 -p 0x777 -s 1 -c 11 &
|
||
|
|
||
|
dirtpan 777 1 8001 'ifconfig $ITF 10.0.0.1 dstaddr 10.0.0.2 up'
|
||
|
|
||
|
|