Hi.
I'm studying about 6lowpan with beaglebone black.
I followed the steps in
But I can't access to 6lbr web page in step 7. Why?
I confirmed slip-radio was well-running in cc1310 em.
Why?
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.
Hi.
I'm studying about 6lowpan with beaglebone black.
I followed the steps in
But I can't access to 6lbr web page in step 7. Why?
I confirmed slip-radio was well-running in cc1310 em.
Why?
When I tested 6lbr, I use bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb image. I suggest you to use it to test again.
Hi, YiKai.
I changed debian image as your suggestion.
But I can't still get the 6lbr server page.
I followed the steps in .
But in 'sub-1GHz RF interface' section, when I entered the command 'netstat -rn', I couldn't get the 'Internet6...' section.
My putty only shows like this.
root@beaglebone:/etc/6lbr# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.7.0 0.0.0.0 255.255.255.252 U 0 0 0 usb0
root@beaglebone:/etc/6lbr# ifconfig
eth0 Link encap:Ethernet HWaddr d0:39:72:44:e9:83
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d239:72ff:fe44:e983/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2433 errors:0 dropped:0 overruns:0 frame:0
TX packets:1445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:388085 (378.9 KiB) TX bytes:201090 (196.3 KiB)
Interrupt:40
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr aa:7f:d8:25:01:18
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
inet6 addr: fe80::a87f:d8ff:fe25:118/64 Scope:Link
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)
Best regards
Try to use this attached slip-radio-cc13xxdk.bin to test again. It works on my CC1310DK.
Hi, Yikai.
This is my last log.
********************************************************************************
Mon Apr 24 05:21:50 UTC 2017 : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -o /etc/6lbr/nvm.conf -s /dev/ttyUSB0 -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-contiki-base-develop-20170120-2305-g98a3eac 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-04-24 5:21:50.440018: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-contiki-base-develop-20170120-2305-g98a3eac)
2017-04-24 5:21:50.440834: INFO: ETH: 6LBR watchdog started (interval: 60)
2017-04-24 5:21:50.443460: INFO: NVM: NVM Magic : 2009
2017-04-24 5:21:50.443500: INFO: NVM: NVM Version : 5
2017-04-24 5:21:50.443510: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2017-04-24 5:21:50.443590: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-04-24 5:21:50.443687: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2017-04-24 5:21:50.443703: INFO: MAC: Using 'csma' mac driver
2017-04-24 5:21:50.456155: INFO: SLIP: SLIP started on /dev/ttyUSB0
2017-04-24 5:21:50.468263: INFO: SCMD: Started br-cmd process
2017-04-24 5:21:50.468446: INFO: BR-RDC: Reset SLIP Radio
2017-04-24 5:21:50.468509: INFO: BR-RDC: Fetching MAC address
2017-04-24 5:21:50.471525: ERROR: BR-RDC: br-rdc: failed to parse 2
2017-04-24 5:21:50.472368: ERROR: SLIP: Unknown command
2017-04-24 5:21:50.474493: ERROR: SLIP: Unknown command
2017-04-24 5:21:50.474711: INFO: BR-RDC: Got MAC: 00:12:4b:00:08:68:0d:6c
2017-04-24 5:21:51.471397: ERROR: SLIP: Unknown command
2017-04-24 5:21:51.473252: ERROR: BR-RDC: Set channel failed
2017-04-24 5:21:51.478375: ERROR: SLIP: Unknown command
2017-04-24 5:21:51.479878: ERROR: BR-RDC: Set PAN-ID failed
2017-04-24 5:21:51.481315: INFO: ETH: RAW Ethernet interface init
2017-04-24 5:21:51.492467: INFO: TAP: opened device /dev/eth0
2017-04-24 5:21:51.493915: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
eth0 Link encap:Ethernet HWaddr d0:39:72:44:e9:83
inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d239:72ff:fe44:e983/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:474 errors:0 dropped:0 overruns:0 frame:0
TX packets:342 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:65031 (63.5 KiB) TX bytes:51322 (50.1 KiB)
Interrupt:40
2017-04-24 5:21:51.636433: INFO: TAP: Eth MAC address : d0:39:72:44:e9:83
2017-04-24 5:21:51.638751: INFO: ETH: Eth MAC address : d0:39:72:44:e9:83
2017-04-24 5:21:51.640908: INFO: LLSEC: Using 802.15.4 framer
2017-04-24 5:21:51.642432: INFO: LLSEC: Using 'nullsec' llsec driver
2017-04-24 5:21:51.643811: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:868:d6c
2017-04-24 5:21:51.645655: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:868:d6c
2017-04-24 5:21:51.646028: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2017-04-24 5:21:51.646240: INFO: 6LBR: RA Daemon enabled
2017-04-24 5:21:51.646355: INFO: 6LBR: Checking addresses duplication
2017-04-24 5:22:02.653881: INFO: 6LBR: Configured as DODAG Root fd00::212:4b00:868:d6c
2017-04-24 5:22:02.659978: INFO: 6LBR: Starting as RPL ROUTER
2017-04-24 5:22:02.670129: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-04-24 5:22:02.680561: INFO: HTTP: Starting webserver on port 80
2017-04-24 5:22:02.685369: INFO: NODECFG: Node Config init
2017-04-24 5:22:02.689193: INFO: NODECFG: No node_config.conf file specified
2017-04-24 5:22:02.689727: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-04-24 5:22:02.698176: INFO: UDPS: UDP server started
CoAP push started
CoAP server started
2017-04-24 5:22:02.704279: INFO: DNS: DNS proxy started
2017-04-24 5:22:02.704688: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-04-24 5:22:02.704963: INFO: 6LBR: CETIC 6LBR Started
RD client started
2017-04-24 5:23:42.177860: INFO: SLIP: Starting Contiki-3.x-3245-gfbffcc2
With DriverLib v0.47020
TI SmartRF06EB + CC13xx EM
IEEE 802.15.4: No, Sub-GHz: Yes, BLE: No, Prop: No
Net: slipnet
MAC: nullmac
RDC: ContikiMAC, Channel Check Interval: 16 ticks
RF: Channel 25
Node ID: 3436
Slip Radio started...
And, something seems to be right, cc1310em with cc26xx-web-demo binary seemed to communicate with your slip-radio device.
But in log file, there is no anything more.
And I can't access to 6lbr web page.
Oh, come on. I can access to first page.
But if i press 'sensors' tab ( any other ), then browser shows "Unable to connect ...", and after some time, if press refresh button, same thing happens.
And, it operates properly only when 6lbr service is restarted.
Hi, Yikai.
6lbr page permit only first access, and another access refused.
And, there is no more log for that.
Sorry, Yikai.
Page access is permitted only once, and any more accesses are refused.
That is, if I enter [bbbb::100]/sensors.html instead of [bbbb::100], then browser show that page.
But if I do something on the page, browser show Unable to connect.
Very stupid error.
I can access to 6lbr page only once.
Next time the access is refused. I am going to have total blood pressure.
Why?
I suspect there is something wrong with latest 6lbr source code and suggest you to try to use Contiki-develop-20161222 version to test again.