Root/install/USAGE

1Setup between two Bens:
2
3Ben1:
4    iz add wpan-phy0
5    ip link set wpan0 address de:ad:be:af:ca:fe:ba:be
6    ifconfig wpan0 up
7    izcoordinator -d 1 -l lease -i wpan0 -p 0x777 -s 1 -c 11
8
9Ben2:
10    iz add wpan-phy0
11    ip link set wpan0 address ca:fe:ca:fe:ca:fe:ca:fe
12    ifconfig wpan0 up
13    iz assoc wpan0 777 1 11 short
14
15Ben1:
16    izchat 777 1 8001
17Ben2:
18    izchat 777 8001 1
19
20Based on
21http://sourceforge.net/apps/trac/linux-zigbee/wiki/GettingStarted-0.2
22
23
24Instead of izchat, you can also set up crude IPv4 networking. For
25this, we need two IPv4 addresses, let's call them $IP1 for Ben1 and
26$IP2 for Ben2.
27
28Ben1:
29    dirtpan 777 1 8001 'ifconfig $ITF $IP1 dstaddr $IP2 up'
30Ben2:
31    dirtpan 777 8001 1 'ifconfig $ITF $IP2 dstaddr $IP1 up'
32
33$ITF is an environment variable dirtpan sets to the name of the TUN
34interface (tun0, etc.) before it invokes ifconfig.
35

Archive Download this file

Branches:
buffer-frames
master



interactive