-
Notifications
You must be signed in to change notification settings - Fork 194
RaspberryPi Software Configuration
6LBR on the RaspberryPi should work with any Linux distribution, but it has been extensively tested with the Raspbian distribution, which is a debian-based operating system optimized for the RaspberryPi. We provide several ways to get started with 6LBR on the RPi:
- Method 1: Install 6LBR on an existing Raspbian image following the instructions on this page. This supposes that you already have an existing installation of Raspbian on an SD card, or that you would like to install one from the official Raspbian repository. In any case, refer to the Raspbian documentation for information on how to install raspbian.
- Method 2: Use The Instant Border Router a full SD Card image based on Raspbian already with 6LBR already pre-installed
6LBR can be installed using .deb packages. You can either build the packages yourself, or download the .deb file hosted on the 6LBR project website.
Download the 6lbr package on the RPI if you do not plan to build it yourself. Check the releases page for the latest packages.
wget https://raw.github.com/wiki/cetic/6lbr/releases/cetic-6lbr_1.0-0_armhf.deb
If you intent to use tap-bridging, you need to install bridge-utils :
apt-get install bridge-utils
Due to a limitation in the kernel serial driver in the current Raspian distribution, you need to modify the system configuration. In the boot partition, open the /boot/cmdline.txt file and add the following configuration parameter :
dwc_otg.speed=1This enables the support for the high baudrate usb-serial SLIP connector with the slip-radio mote.
The Nooliberry radio communicates at 38400 baud over the UART.
- remove the following parameters from /boot/cmdline.txt
console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
- note that you do not need
dwc_otg.speed=1
in that file for the Nooliberry, due to the lower baudrate - Also, in /etc/inittab the following line at the bottom of the file should be commented out, because the Nooliberry needs to use the ttyAMA0:
#Spawn a getty on Raspberry Pi serial line
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
- Install it :
dpkg -i cetic-6lbr-1.0-0_armhf.deb
- Update the configuration files as needed. The /etc/6lbr folder will contain a list of sample configuration files. Take the one closest to your setup, rename it to 6lbr.conf, and tweak its settings using the documentation as reference.
- Start the daemon
/etc/init.d/6lbr start
If you would rather build the packages yourself,
1. On your RPi, obtain the latest version of 6LBR:
apt-get update apt-get install git git clone https://github.com/cetic/6lbr cd 6lbr/examples/6lbr
2. In 6lbr source directory, do the following commands (you have time for a coffee):
make all_native make tools
3. Install directly using the following command :
make install
4. Or build and install using a .deb package :
make rpi_deb
5. The new .deb package should be created
TODO
- Home
- Features
- Supported Hardware
- Download
- Changelog
- FAQ
- Installation:
- Configuration
- Deployment
- Documentation
- Extensions
- Tools
- Examples
- Tutorials
- Publications
- Acknowledgements
- Internal and old