cfgtool -c serial -p ridge -U channel:w:21: -U panid:w:1001:
You can run
man cfgtool
to know about all the options of
cfgtool
.
The document “Firmware Configuration Manual” gives more detailed information. It can be
downloaded at the url
http://www.rosand-tech.com/products/r-idge/doc.html
.
3.3. Setting up the network
3.3.1. Activate IPv6 routing
Edit the file “/etc/sysctl.conf” by setting to 1 ipv6 forwarding:
net.ipv6.conf.all.forwarding=1
Run the command:
sudo echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
3.3.2.
Configure the network
Configure the IPV6 address on
usb0
:
ip -6 address add 2001:db8:1::1/64 dev usb0
3.4. Routing configuration
R-Idge can work with different routing protocols. In this section, we will show how to configure two
routing protocols:
- Neighbor Discovery (RA/RS)
- RPL
Choose the most suited routing protocol for your Wireless Sensor Network.
3.4.1. Configure Neighbor Discovery (RA/RS)
radvd is the Linux IPv6 Router Advertisement daemon.
Install the radvd daemon.
In order to run radvd on the interface
usb0
and to advertise the prefix
2001:db8:1::/64
for
address autoconfiguration, add the following section to the radvd configuration file
(usually /etc/radvd.conf):
Configuring R-idge on Linux
Technical guide (revision 1.1)
7