cetic / 6lbr

A deployment-ready 6LoWPAN Border Router solution based on Contiki
github.com/cetic/6lbr/wiki
Other
337 stars 195 forks source link

6lbr doesn't work on a new Raspbian #237

Open janeksz opened 7 years ago

janeksz commented 7 years ago

Hi, After creating a new RPi image: Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linx and installing 6lbr I am not able to access 6lbr webpage Everything works fine if I use my old uSD card with the same hardware (RPi2mB, cc2650 Launchpad as SLIP radio, CC2650 sensortags with Contiki as motes) How to debug it?

root@raspberrypi:~# service 6lbr restart root@raspberrypi:~# service 6lbr status ● 6lbr.service - LSB: 6LoWPAN Border Router Loaded: loaded (/etc/init.d/6lbr) Active: active (running) since Fri 2017-01-06 01:51:59 UTC; 8s ago Process: 10617 ExecStop=/etc/init.d/6lbr stop (code=exited, status=0/SUCCESS) Process: 10633 ExecStart=/etc/init.d/6lbr start (code=exited, status=0/SUCCESS) CGroup: /system.slice/6lbr.service ├─10639 /bin/sh /usr/lib/6lbr/6lbr /etc/6lbr/6lbr.conf ├─10643 /usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -... ├─10644 /bin/sh /usr/lib/6lbr/6lbr-watchdog 10643 60 3 /var/log/6l... └─10704 sleep 1

Jan 06 01:51:59 raspberrypi 6lbr[10633]: Starting 6LoWPAN Border Router:. Jan 06 01:51:59 raspberrypi systemd[1]: Started LSB: 6LoWPAN Border Router. root@raspberrypi:~#

All my hardware and 6lbr settings are identical to previous (working) version

my /var/log/6lbr.log is being continuously updated, but i am unable to figure out what is wrong and why I can not see [bbbb::100] in my browser

Friday 6 January 02:03:22 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 wlan0 -f -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 -n /etc/6lbr/node_config.conf -m /usr/lib/6lbr/plugins
Contiki-develop-20160421-6-gb1df3d1 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-06 2:03:23.282507: NOTICE: 6LBR: Starting 6LBR version 1.4.x (Contiki-develop-20160421-6-gb1df3d1) 2017-01-06 2:03:23.283637: INFO: ETH: 6LBR watchdog started (interval: 60) 2017-01-06 2:03:23.287660: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so 2017-01-06 2:03:23.290524: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so 2017-01-06 2:03:23.327259: INFO: PLUGIN: Initialising lwm2m-client 2017-01-06 2:03:23.368001: INFO: NVM: NVM Magic : 2009 2017-01-06 2:03:23.368046: INFO: NVM: NVM Version : 5 2017-01-06 2:03:23.368106: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf wlan0 Link encap:Ethernet HWaddr 00:c1:41:06:0b:97
inet addr:172.19.124.137 Bcast:172.19.125.255 Mask:255.255.254.0 inet6 addr: fe80::7863:b74b:b569:9336/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:25 errors:0 dropped:0 overruns:0 frame:0 TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6623 (6.4 KiB) TX bytes:6659 (6.5 KiB)

2017-01-06 2:03:24.728144: PACKET: TAP: read: 165 2017-01-06 2:03:24.729030: PACKET: TAP: read: 145 2017-01-06 2:03:25.043883: PACKET: PF: bridge_output: Sending packet to Broadcast 2017-01-06 2:03:25.044488: PACKET: PF: wireless_output: sending packet 2017-01-06 2:03:25.045212: PACKET: PF: eth_output: broadcast 2017-01-06 2:03:25.045749: PACKET: PF: eth_output: Sending packet to Ethernet 2017-01-06 2:03:25.046380: PACKET: ETH: write: 78 2017-01-06 2:03:25.046922: DUMP: ETH: 3333ffb5 ee8500c1 41060b97 86dd6000 00000018 3aff0000 00000000 00000000 00000000 0000ff02 00000000 00000000 0001ffb5 ee858700 9d750000 0000aaaa 00000000 00000212 4b0007b5 ee85