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.

6lbr - pinging a sensor node from beaglebone black

Expert 1105 points


Hello, 

I can ping, send UDP packets or view the sensor node webpages from my PC but I can't connect /ping to the same node in Beaglebone black I am using  6lbr version 1.4,  

can you please guide me about this?
thanks
rifo

below is my /etc/6lbr/6lbr.conf  contents
********************************************************

root@beaglebone:/etc/6lbr# cat /etc/6lbr/6lbr.conf
#This file contains a default configuration for BeagleBone platform using
#a Telos SLIP Radio
#The full list of parameters and their meaning can be found in 6lbr.conf.example

MODE=ROUTER
#MODE=SMART-BRIDGE
#MODE=RPL-RELAY
#MODE=FULL-TRANSPARENT-BRIDGE
#MODE=NDP-ROUTER
#MODE=6LR
#MODE=RPL-ROOT

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

DEV_RADIO=/dev/ttyACM0
BAUDRATE=115200

#Enable this line if radio device is not detected
#SCAN_DEVICE=/usr/lib/6lbr/bb-scan-usb.sh

LOG_LEVEL=3 #INFO and above only

******************************************

cat /var/log/6lbr.log output can be found below

********************************************************************************
Thu Jan 5 07:38:18 UTC 2017 : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.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
Contiki-6lbr-1.4.0 started with IPV6, RPL
Rime started with address 1.2.3.4.5.6.7.8
MAC mac_wrapper RDC br-rdc SEC llsec-wrapper NETWORK sicslowpan
2017-01-05 7:38:18.904348: NOTICE: 6LBR: Starting 6LBR version 1.4.0 (Contiki-6lbr-1.4.0)
2017-01-05 7:38:18.907574: INFO: ETH: 6LBR watchdog started (interval: 60)
2017-01-05 7:38:18.908072: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2017-01-05 7:38:18.908551: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2017-01-05 7:38:18.912885: INFO: PLUGIN: Initialising lwm2m-client
2017-01-05 7:38:18.913366: INFO: NVM: NVM Magic : 2009
2017-01-05 7:38:18.913396: INFO: NVM: NVM Version : 5
2017-01-05 7:38:18.913413: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2017-01-05 7:38:18.913572: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-01-05 7:38:18.913623: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2017-01-05 7:38:18.913641: INFO: MAC: Using 'csma' mac driver
2017-01-05 7:38:18.914196: INFO: SLIP: SLIP started on /dev/ttyACM0
2017-01-05 7:38:18.924794: INFO: SCMD: Started br-cmd process
2017-01-05 7:38:18.925490: INFO: BR-RDC: Reset SLIP Radio
2017-01-05 7:38:18.925998: INFO: BR-RDC: Fetching MAC address
2017-01-05 7:38:18.930113: ERROR: SLIP: Unknown command
2017-01-05 7:38:18.930919: INFO: BR-RDC: Got MAC: 00:12:4b:00:0a:27:c7:d7
2017-01-05 7:38:19.925334: INFO: ETH: RAW Ethernet interface init
2017-01-05 7:38:19.937190: INFO: TAP: opened device /dev/eth0
2017-01-05 7:38:19.937748: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
eth0 Link encap:Ethernet HWaddr 04:a3:16:ed:19:51
inet addr:192.168.2.154 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6a3:16ff:feed:1951/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:8106 errors:0 dropped:0 overruns:0 frame:0
TX packets:2308 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1059283 (1.0 MiB) TX bytes:506050 (494.1 KiB)
Interrupt:175

2017-01-05 7:38:20.122827: INFO: TAP: Eth MAC address : 04:a3:16:ed:19:51
2017-01-05 7:38:20.123481: INFO: ETH: Eth MAC address : 04:a3:16:ed:19:51
2017-01-05 7:38:20.124003: INFO: LLSEC: Using 'nullsec' llsec driver
2017-01-05 7:38:20.124338: INFO: 6LBR: Security layer initialized
2017-01-05 7:38:20.124946: ERROR: SLIP: Unknown command
2017-01-05 7:38:20.129922: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:a27:c7d7
2017-01-05 7:38:20.130470: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:a27:c7d7
2017-01-05 7:38:20.130997: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2017-01-05 7:38:20.131434: INFO: 6LBR: RA Daemon enabled
2017-01-05 7:38:20.131766: INFO: 6LBR: Checking addresses duplication
2017-01-05 7:38:31.139982: INFO: 6LBR: Configured as DODAG Root fd00::212:4b00:a27:c7d7
2017-01-05 7:38:31.144058: INFO: 6LBR: Starting as RPL ROUTER
2017-01-05 7:38:31.153810: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2017-01-05 7:38:31.165585: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-01-05 7:38:31.175470: INFO: NODECFG: Node Config init
2017-01-05 7:38:31.183600: INFO: NODECFG: No node_config.conf file specified
2017-01-05 7:38:31.187824: INFO: HTTP: Starting webserver on port 80
2017-01-05 7:38:31.188955: INFO: UDPS: UDP server started
CoAP push started
CoAP server started
2017-01-05 7:38:31.202579: INFO: DNS: DNS proxy started
2017-01-05 7:38:31.212094: INFO: PLUGIN: Initialising dummy
2017-01-05 7:38:31.217603: INFO: DUMMY: Dummy init
2017-01-05 7:38:31.219305: INFO: PLUGIN: Initialising lwm2m-client
2017-01-05 7:38:31.219850: INFO: LWM2M: LWM2M Client init
2017-01-05 7:38:31.220384: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2017-01-05 7:38:31.222857: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-01-05 7:38:31.232640: INFO: 6LBR: CETIC 6LBR Started
RD client started

*****************************************************

ifconfig output can be seen below

root@beaglebone:/etc/6lbr# ifconfig
eth0 Link encap:Ethernet HWaddr 04:a3:16:ed:19:51
inet addr:192.168.2.154 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6a3:16ff:feed:1951/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:18018 errors:0 dropped:0 overruns:0 frame:0
TX packets:4169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2969285 (2.8 MiB) TX bytes:939844 (917.8 KiB)
Interrupt:175

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:166 errors:0 dropped:0 overruns:0 frame:0
TX packets:166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:13548 (13.2 KiB) TX bytes:13548 (13.2 KiB)

usb0 Link encap:Ethernet HWaddr 04:a3:16:ed:19:50
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

*********************************************************