background image

3.1.3.

 

RF 802.15.4 PANID

The PANID identifies the 802.15.4 network. It is 2-byte length and must be unique. All the devices 
in the same network should have the same PANID.

3.1.4. IPv6 Header Compression Shared Context

R-Idge can be configured to use the LOWPAN_IPHC encoding format (as specified in RFC 6282). 

The LOWPAN_IPHC encoding format relies on shared context to allow compression of arbitrary 
prefixes. 

Up to five (5) shared contexts can be configured on the router. By default, there is no shared 
context defined.

3.2. Configuring R-Idge

If necessary, these factory default parameters can be changed. The configuration program 

cfgtool

” is provided for this purpose.

3.2.1.

 

Set up the Configuration program

The Configuration program is available in deb package, rpm package and source code.

It can be downloaded at the following url 

http://www.rosand-tech.com/downloads

.

 

See the instructions detailed in the document “Firmware Configuration Manual” if you need to 
compile the source code.

3.2.2.

 

Prepare your user account

In order to be able to change the R-Idge configurable parameters, your account must belong to 
the group “dialout”. 

Run the command:

 

grep dialout /etc/group

If your account is not listed, add it to the “dialout” group

 

sudo useradd -G dialout <account>

Log out and login again to activate the account.

3.2.3.

 

Change the configurable parameters

Let's assume that your network uses channel 21 and PANID 1001. 

Run the command:

 

Configuring R-idge on Linux

Technical guide (revision 1.1)

 

6

Содержание R-Idge

Страница 1: ...R Idge 6LoWPAN USB router User Guide Revision 1 1 ...

Страница 2: ...uration program 6 3 2 2 Prepare your user account 6 3 2 3 Change the configurable parameters 6 3 3 Setting up the network 7 3 3 1 Activate IPv6 routing 7 3 3 2 Configure the network 7 3 4 Routing configuration 7 3 4 1 Configure Neighbor Discovery RA RS 7 3 4 2 Configuring RPL 8 4 INSTALLING NEW FIRMWARE 9 4 1 Set up the installation program 9 4 2 Prepare the new firmware 9 4 3 Put the router in bo...

Страница 3: ...ks and interconnects them to the enterprise local and wide area IPv6 networks R Idge eliminates need to dedicated high cost 6LoWPAN router and offers a seemless scalability This document explains how to run R Idge on Linux 2 6 and above Introduction Technical guide revision 1 1 3 ...

Страница 4: ...yACM0 ifconfig usb0 If you have other serial device which might already use dev ttyACM0 or a network device which might already use usb0 you can perform the following process unplug R Idge run the two commands ls dev ttyACM ifconfig plug R Idge to the computer run again the two commands ls dev ttyACM ifconfig R Idge corresponds to the added ttyACMx and usbx device For the remaining of the document...

Страница 5: ...is 11 the highest channel number is 26 All the devices should use the same channel in order to be able to communicate RF channel can be chosen between these 16 channels 3 1 2 RF output power The RF output parameter controls the power of the RF transmission The value of RF output can be chosen between 5 and 255 The following table shows typical output power settings RF output Typical output power d...

Страница 6: ...ovided for this purpose 3 2 1 Set up the Configuration program The Configuration program is available in deb package rpm package and source code It can be downloaded at the following url http www rosand tech com downloads See the instructions detailed in the document Firmware Configuration Manual if you need to compile the source code 3 2 2 Prepare your user account In order to be able to change t...

Страница 7: ... 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 ...

Страница 8: ...vd start 3 4 2 Configuring RPL If you want to use the RPL protocol within your WSN a Linux RPL Edge Router daemon is provided The rpld daemon is available in deb package rpm package and source code It can be downloaded at the following url http www rosand tech com downloads In order to activate rpl on usb0 in daemon mode background run the following command rpld i usb0 D You can run man rpld to kn...

Страница 9: ...ile unzip filename zip It will produce an Intel HEX file filename version hex 4 3 Put the router in bootloader mode Before uploading the firmware the router must be in bootloader mode Please follow the below instructions Press the reset button the led RED will switch on Maintain the reset button pressed until the led RED is off The led GREEN will blink The router is now in bootloader mode 4 4 Uplo...

Страница 10: ...Revision History Revision number Date Description 1 0 15 04 2012 Initial version 1 1 01 08 2012 Add Configuring RPL Installing new firmware Revision history Technical guide revision 1 1 10 ...

Отзывы: