mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 03:09:41 +02:00
install/: added build and usage instructions for dirtpan
- install/INSTALL-Ben: added build instructions for dirtpan - install/USAGE: removed comment that doesn't work (it does) - install/USAGE: added usage instructions for dirtpan
This commit is contained in:
parent
7e2c576f7b
commit
601d1bf173
@ -99,3 +99,21 @@
|
||||
make
|
||||
|
||||
scp src/iz src/izcoordinator src/izchat $NN:/usr/sbin/
|
||||
cd ..
|
||||
|
||||
7. Build dirtpan, a crude IPv4-over-IEEE 802.15.4 tunnel
|
||||
|
||||
git clone git://projects.qi-hardware.com/ben-wpan.git
|
||||
git clone git://projects.qi-hardware.com/f32xbase.git
|
||||
|
||||
# If compiling dirtpan.c fails due a missing ieee802145.h header,
|
||||
# copy it over from lowpan-tools:
|
||||
|
||||
cp lowpan-tools-0.2.2/include/ieee802154.h tools/dirtpan/
|
||||
|
||||
cd ben-wpan/tools
|
||||
OWRT make TARGET=ben_openwrt
|
||||
OWRT make -C dirtpan TARGET=ben_openwrt
|
||||
JLime make TARGET=ben_jlime
|
||||
JLime make -C dirtpan TARGET=ben_jlime
|
||||
scp dirtpan/dirtpan $NN:/usr/sbin
|
||||
|
@ -1,7 +1,5 @@
|
||||
Setup between two Bens:
|
||||
|
||||
(for reference - doesn't work yet)
|
||||
|
||||
Ben1:
|
||||
iz add wpan-phy0
|
||||
ip link set wpan0 address de:ad:be:af:ca:fe:ba:be
|
||||
@ -21,3 +19,16 @@ Ben2:
|
||||
|
||||
Based on
|
||||
http://sourceforge.net/apps/trac/linux-zigbee/wiki/GettingStarted-0.2
|
||||
|
||||
|
||||
Instead of izchat, you can also set up crude IPv4 networking. For
|
||||
this, we need two IPv4 addresses, let's call them $IP1 for Ben1 and
|
||||
$IP2 for Ben2.
|
||||
|
||||
Ben1:
|
||||
dirtpan 777 1 8001 'ifconfig $ITF $IP1 dstaddr $IP2 up'
|
||||
Ben2:
|
||||
dirtpan 777 8001 1 'ifconfig $ITF $IP2 dstaddr $IP1 up'
|
||||
|
||||
$ITF is an environment variable dirtpan sets to the name of the TUN
|
||||
interface (tun0, etc.) before it invokes ifconfig.
|
||||
|
Loading…
Reference in New Issue
Block a user