This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/SMARTRF06EBK: cannot access [bbbb::100] on rpi3 with latest 6lbr

Part Number: SMARTRF06EBK
Other Parts Discussed in Thread: LAUNCHXL-CC1310

Tool/software: Linux

Hello everyone,

I built lasted 6lbr with Contiki-NG on Raspberrry pi 3B using LAUNCHXL-CC1310 as slip-radio. 6lbr is compiling from the develop branch(commit 728f18f) and contiki-NG is from sixlbr branch of cetic/contiki-ng with commit cd3af6c .I followed the steps from sunmaysky.blogspot.com/.../build-and-run-6lbrcontiki-ng-cc26xx-web.html, but i still cannot access the web page [bbbb::100].The main process is as follows:
1. Change directory to home folder and git clone --recursive github.com/.../6lbr.git
2. Change directory to 6lbr folder and git submodule update --init
3. Change directory to home folder and git clone --recursive github.com/.../contiki-ng.git
4. Change directory to contiki-ng folder and git submodule update --init
5. Change directory to 6lbr/examples/6lbr folder and run the following build command
 "make WITH_CONTIKI=0 WERROR=0 all"
6. sudo make install
7. change to channel 25
8. Create /etc/6lbr/6lbr.conf with the content below
      MODE=ROUTER

      RAW_ETH=1
      BRIDGE=0
      DEV_BRIDGE=br0
      DEV_TAP=tap0
      DEV_ETH=eth0
      RAW_ETH_FCS=0

      DEV_RADIO=/dev/ttyACM0
      BAUDRATE=115200

      LOG_LEVEL=3

9. connect LAUNCHXL-CC1310 running slip radio to Raspberry Pi
10. reboot rpi and start 6lbr service.

the 6lbr.log is:

********************************************************************************
Wed 28 Nov 11:49:35 CST 2018 : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -F /etc/6lbr/factory.dat -o /etc/6lbr/nvm.conf -s /dev/ttyACM0 -r -t eth0 -B 115200 -U /usr/lib/6lbr/6lbr-ifup -D /usr/lib/6lbr/6lbr-ifdown -w /usr/lib/6lbr/www -L 3  -W /var/log/6lbr.timestamp -P 60 -C /var/log/6lbr.ip  -m /usr/lib/6lbr/plugins
[INFO: Main      ] Starting Contiki-NG-release/v4.1-45-gcd3af6c3c
[INFO: Main      ]  Net: pfe
[INFO: Main      ]  MAC: multi-radio
[INFO: Main      ] Link-layer address 0102.0304.0506.0708
2018-11-28 11:49:35.092717: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-NG-release/v4.1-45-gcd3af6c3c)
2018-11-28 11:49:35.092969: INFO: SLIP: Allocated slip device 0 -> 0
2018-11-28 11:49:35.093167: INFO: ETH: 6LBR watchdog started (interval: 60)
2018-11-28 11:49:35.093569: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2018-11-28 11:49:35.093953: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2018-11-28 11:49:35.094308: ERROR: PLUGIN: Could not open /usr/lib/6lbr/plugins/lwm2m.so : /usr/lib/6lbr/plugins/lwm2m.so: undefined symbol: coap_rest_implementation
2018-11-28 11:49:35.094636: INFO: NVM: NVM Magic : 2009
2018-11-28 11:49:35.094809: INFO: NVM: NVM Version : 6
2018-11-28 11:49:35.094980: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2018-11-28 11:49:35.095214: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:35.095424: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2018-11-28 11:49:35.096168: INFO: SLIP: SLIP started on /dev/ttyACM0
2018-11-28 11:49:35.106543: INFO: SCMD: Started br-cmd process
2018-11-28 11:49:35.106700: INFO: BR-RDC: SLIP RADIO configured as RADIO
2018-11-28 11:49:35.106845: INFO: BR-RDC: Configuring SLIP RADIO 0 (API: 2.0)
2018-11-28 11:49:35.107021: INFO: BR-RDC: Reset SLIP Radio
2018-11-28 11:49:35.107170: INFO: BR-RDC: Fetching MAC address
2018-11-28 11:49:35.111136: ERROR: SLIP: Unknown command
2018-11-28 11:49:35.112514: INFO: BR-RDC: Got MAC 0 : 0012.4b00.13f2.ae5f
2018-11-28 11:49:36.506720: INFO: ETH: RAW Ethernet interface init
2018-11-28 11:49:36.547733: INFO: TAP: opened device eth0
2018-11-28 11:49:36.548158: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:c9:f5:9f brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.106/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::cf2a:902d:736d:6b43/64 scope link
       valid_lft forever preferred_lft forever
2018-11-28 11:49:36.622920: INFO: TAP: Eth MAC address : b8:27:eb:c9:f5:9f
2018-11-28 11:49:36.623450: INFO: ETH: Eth MAC address : b8:27:eb:c9:f5:9f
2018-11-28 11:49:36.623917: INFO: MULTICAST: Using 'null' multicast driver
2018-11-28 11:49:36.624488: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:13f2:ae5f
2018-11-28 11:49:36.624964: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:13f2:ae5f
2018-11-28 11:49:36.625431: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2018-11-28 11:49:36.625815: INFO: 6LBR: RA Daemon enabled
2018-11-28 11:49:36.626108: INFO: 6LBR: Checking addresses duplication
2018-11-28 11:49:37.192482: INFO: SLIP: radio: setting channel: 25
radio: setting pan id to 0xabcd
2018-11-28 11:49:38.626879: INFO: RPL: Configured as DODAG Root fd00::212:4b00:13f2:ae5f
2018-11-28 11:49:38.627418: INFO: 6LBR: Starting IP64
2018-11-28 11:49:38.627796: INFO: 6LBR: IPv4 address : 192.168.0.2
2018-11-28 11:49:38.628194: INFO: 6LBR: Starting as RPL-Router
2018-11-28 11:49:38.629131: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:38.629663: INFO: HTTP: Starting webserver on port 80
2018-11-28 11:49:38.630107: INFO: NODECFG: Node Config init
2018-11-28 11:49:38.630406: INFO: NODECFG: No node_config.conf file specified
2018-11-28 11:49:38.630712: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:38.631210: INFO: UDPS: UDP server started
2018-11-28 11:49:38.631513: INFO: DNS: DNS proxy started
2018-11-28 11:49:38.631805: INFO: PLUGIN: Initialising dummy
2018-11-28 11:49:38.632121: INFO: DUMMY: Dummy init
2018-11-28 11:49:38.632423: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:38.632797: INFO: 6LBR: CETIC 6LBR Started


ps:I repeated the steps above on vmware 15 Pro, everything is ok including accessing web page.

Can anyone tell me how to fix this problem? Thanks very much.




  • Your 6lbr.log shows 6lbr starts successfully. When you access to bbbb::100, does the desktop connect to the same router as Raspberry Pi connected to?
  • yes, both PC and RPI are connected to the same router.
  • Which browser do you use?
  • browser: firefox quantum 60.3.0
    rpi: 2018-11-13-raspbian-stretch-lite
  • If you try to use Chrome to access bbbb::100, can Chrome open the web page?
  • page is still unreachable. i am using chrome 70.0.3538.110(32bit).
  • i have compiled and built 6lbr on vmware(instant contiki 3.0) with the same process as on rpi . everything is ok, i can access bbbb::100, so i think browser and build process above should be no problem.
  • I had tested this on Raspberry Pi running Debian OS instead of Rasbian so maybe you can try to use Debian OS to test again.
  • Do you have any proxy settings set in your environment? In other words, what is displayed when echoing the following:

    echo $http_proxy
    echo $https_proxy
    echo $ftp_proxy
    echo $no_proxy

  • I reinstalled my rpi system as well as 6lbr, but the problem still exist. I inputed all the commands you mentioned, and the return result of each  command was a blank line.

  • Do you try Debian instead of Rasbian on Raspberry Pi?
  • I installed pi64-pi(lite version) on rpi3 which is based on Debian Stretch and backed by a 4.11 Linux kernel(github.com/.../pi64). i repeated 6lbr build process, and  i got the same result , page is still unreachable.
    Maybe pi64-pi does not support 6lbr very well. Could You tell me which debian os you are using? thanks.

    here is  6lbr.log

    ********************************************************************************
    Thu Nov 29 15:21:24 CST 2018 : Starting 6LBR
    /usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -F /etc/6lbr/factory.dat -o /etc/6lbr/nvm.conf -s /dev/ttyACM0 -r -t eth0 -B 115200 -U /usr/lib/6lbr/6lbr-ifup -D /usr/lib/6lbr/6lbr-ifdown -w /usr/lib/6lbr/www -L 3  -W /var/log/6lbr.timestamp -P 60 -C /var/log/6lbr.ip  -m /usr/lib/6lbr/plugins
    [INFO: Main      ] Starting Contiki-NG-release/v4.1-45-gcd3af6c3c
    [INFO: Main      ]  Net: pfe
    [INFO: Main      ]  MAC: multi-radio
    [INFO: Main      ] Link-layer address 0102.0304.0506.0708
    2018-11-29 15:21:24.065038: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-NG-release/v4.1-45-gcd3af6c3c)
    2018-11-29 15:21:24.065274: INFO: SLIP: Allocated slip device 0 -> 0
    2018-11-29 15:21:24.065577: INFO: ETH: 6LBR watchdog started (interval: 60)
    2018-11-29 15:21:24.066036: INFO: NVM: NVM Magic : 2009
    2018-11-29 15:21:24.066262: INFO: NVM: NVM Version : 6
    2018-11-29 15:21:24.066506: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
    2018-11-29 15:21:24.066737: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
    2018-11-29 15:21:24.066997: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
    2018-11-29 15:21:24.067800: INFO: SLIP: SLIP started on /dev/ttyACM0
    2018-11-29 15:21:24.078216: INFO: SCMD: Started br-cmd process
    2018-11-29 15:21:24.078482: INFO: BR-RDC: SLIP RADIO configured as RADIO
    2018-11-29 15:21:24.078676: INFO: BR-RDC: Configuring SLIP RADIO 0 (API: 2.0)
    2018-11-29 15:21:24.078911: INFO: BR-RDC: Reset SLIP Radio
    2018-11-29 15:21:24.079104: INFO: BR-RDC: Fetching MAC address
    2018-11-29 15:21:24.082909: ERROR: SLIP: Unknown command
    2018-11-29 15:21:24.084288: INFO: BR-RDC: Got MAC 0 : 0012.4b00.13f2.ae5f
    2018-11-29 15:21:25.478566: INFO: ETH: RAW Ethernet interface init
    2018-11-29 15:21:25.484659: INFO: TAP: opened device eth0
    2018-11-29 15:21:25.484973: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
        link/ether b8:27:eb:c9:f5:9f brd ff:ff:ff:ff:ff:ff
        inet 192.168.0.100/24 brd 192.168.0.255 scope global eth0
           valid_lft forever preferred_lft forever
        inet6 2409:8a5c:3230:4cc0:a8cf:35d7:bf75:ca79/64 scope global mngtmpaddr noprefixroute dynamic
           valid_lft 259042sec preferred_lft 172642sec
        inet6 fe80::ba27:ebff:fec9:f59f/64 scope link
           valid_lft forever preferred_lft forever
    2018-11-29 15:21:25.522721: INFO: TAP: Eth MAC address : b8:27:eb:c9:f5:9f
    2018-11-29 15:21:25.523064: INFO: ETH: Eth MAC address : b8:27:eb:c9:f5:9f
    2018-11-29 15:21:25.523369: INFO: MULTICAST: Using 'null' multicast driver
    2018-11-29 15:21:25.523751: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:13f2:ae5f
    2018-11-29 15:21:25.524039: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:13f2:ae5f
    2018-11-29 15:21:25.524322: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
    2018-11-29 15:21:25.524586: INFO: 6LBR: RA Daemon enabled
    2018-11-29 15:21:25.524763: INFO: 6LBR: Checking addresses duplication
    2018-11-29 15:21:26.121778: INFO: SLIP: radio: setting channel: 25
    radio: setting pan id to 0xabcd
    2018-11-29 15:21:27.525669: INFO: RPL: Configured as DODAG Root fd00::212:4b00:13f2:ae5f
    2018-11-29 15:21:27.526350: INFO: 6LBR: Starting as RPL-Router
    2018-11-29 15:21:27.527697: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
    2018-11-29 15:21:27.528450: INFO: HTTP: Starting webserver on port 80
    2018-11-29 15:21:27.529128: INFO: NODECFG: Node Config init
    2018-11-29 15:21:27.529600: INFO: NODECFG: No node_config.conf file specified
    2018-11-29 15:21:27.529995: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
    2018-11-29 15:21:27.530666: INFO: UDPS: UDP server started
    2018-11-29 15:21:27.531062: INFO: DNS: DNS proxy started
    2018-11-29 15:21:27.531512: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
    2018-11-29 15:21:27.532109: INFO: 6LBR: CETIC 6LBR Started




  • After checking my record, I had used 2016-05-27-raspbian-jessie-lite.img to test this on my Raspberry Pi.
  • Any updates on this?
  • I find there is something wrong with latest 6lbr source code so I suggest you try to use “git checkout ff69ae4214407eeec4c71f87589ac4bc7d3a8a49” on 6lbr to test again.
  • Could you also post the output of "ifconfig" in your terminal when 6lbr is running?
  • Sorry for this late reply. Finally i can access the web page [bbbb::100] with latest 6lbr. i modified my 6lbr.conf and interfaces files following this guild (github.com/.../6LBR-Interface-Configuration). Maybe only bridge mode can work with the latest 6lbr  on rpi3 ?

    Based on my previous configuration,  I did a Wireshark capture on the server and client,  i found that server(bbbb::100) does not  send a SYN/ACK packet after receiving a SYN packet from client during tcp handshake stage, therefor TCP connection cannot be established, Of course,the web page is unreachable.