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 is not showing webpage when Setting up a 6LowPAN Border Router (6lbr) using ubutu (contiki) #370

Open tassawarrafi opened 6 years ago

tassawarrafi commented 6 years ago

Hello everyone, I want to create 6lowpan border router in ubuntu (contiki), to get the results from ipv6 tmote sky.

I did exactly as the instruction from: http://morschi.com/2017/03/28/setting-up-a-6lowpan-border-router-6lbr-using-a-vm-and-slip-radio/

Everything goes right when I did first time and border router was created. But when I try it again then it's not working.

I'm getting these results:


Tue Mar 13 13:14:11 CET 2018 : Starting 6LBR /usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -F /etc/6lbr/factory.d$ Contiki-contiki-6lbr-1.5.0-2489-gb85ef16 started with IPV6, RPL Rime started with address 1.2.3.4.5.6.7.8 MAC multi-radio RDC br-rdc SEC llsec-wrapper NETWORK sicslowpan 2018-03-13 13:14:11.565643: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-$ 2018-03-13 13:14:11.566132: INFO: SLIP: Allocated slip device 0 -> 0 2018-03-13 13:14:11.566367: INFO: ETH: 6LBR watchdog started (interval: 60) 2018-03-13 13:14:11.566946: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so 2018-03-13 13:14:11.611548: INFO: PLUGIN: Initialising lwm2m-client 2018-03-13 13:14:11.611859: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so 2018-03-13 13:14:11.625921: ERROR: NVM: Could not open nvm file 2018-03-13 13:14:11.626075: INFO: NVM: Could not open factory nvm file 2018-03-13 13:14:11.647084: INFO: NVM: NVM Version : ffff 2018-03-13 13:14:11.647117: ERROR: NVM: Invalid NVM magic number or unsupported$ 2018-03-13 13:14:11.647132: WARN: NVM: Migrate NVM version 0 towards 1 2018-03-13 13:14:11.647145: WARN: NVM: Migrate NVM version 1 towards 5 2018-03-13 13:14:11.647158: WARN: NVM: Migrate NVM version 5 towards 6 2018-03-13 13:14:11.647628: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm$ 2018-03-13 13:14:11.647692: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No $ 2018-03-13 13:14:11.647743: NOTICE: 6LBR: Log level: 30 (services: ffffffff) 2018-03-13 13:14:11.647764: INFO: FRAMER: Using 802.15.4 framer 2018-03-13 13:14:11.647782: INFO: MAC: Using 'csma' mac driver 2018-03-13 13:14:13.630243: INFO: SLIP: SLIP started on /dev/ttyUSB0 2018-03-13 13:14:14.083305: INFO: SCMD: Started br-cmd process 2018-03-13 13:14:14.083490: INFO: BR-RDC: SLIP RADIO configured as RADIO 2018-03-13 13:14:14.083557: INFO: BR-RDC: Reset SLIP Radio 2018-03-13 13:14:14.083577: INFO: BR-RDC: Fetching MAC address 2018-03-13 13:14:14.161024: ERROR: SLIP: Unknown command 2018-03-13 13:14:14.161110: INFO: BR-RDC: Got MAC 0 : 00:12:74:00:13:e1:51:9b 2018-03-13 13:14:15.145336: INFO: SLIP: cc2420_cmd: setting channel: 26 2018-03-13 13:14:15.364144: ERROR: SLIP: Unknown command

Kindly, give your suggestions to remove these errors.

Thanks! Rafi

chenek commented 5 years ago

Try to “git checkout ff69ae4214407eeec4c71f87589ac4bc7d3a8a49” in you 6lbr folder to use this specific version to test again.