wernermisc/mlt/wpan-ipv4/ben2

15 lines
272 B
Plaintext
Executable File

#!./pex
!dmesg -n 1
!clear
iz add wpan-phy0
ip link set wpan0 address be:e2:be:e2:be:e2:be:e2
ifconfig wpan0 up
iz assoc wpan0 777 1 11 short
dirtpan 777 8001 1 'ifconfig $ITF 10.0.0.2 dstaddr 10.0.0.1 up' &
ping -c 10 10.0.0.1
:ssh 10.0.0.1
ssh -t 10.0.0.1 ./ben1.rmt