Part Number: CC2531
Following processors.wiki.ti.com/.../Cc26xx_sw_examples
Judging by the output of the 6lbr.log file I assume I should be able to access the 6lbr page, but I can't. I've followed the original demo and have made a few edits based on what I've read on this forum and others but cannot find the error.
Set up is BBB with cc2531 connected as slip radio
nothing is connected directly to the computer and the access point is ipv6 enabled
wrapsix running for NAT64
6lbr.conf:
MODE=ROUTER
#MODE=SMART-BRIDGE
#MODE=RPL-RELAY
#MODE=FULL-TRANSPARENT-BRIDGE
#MODE=NDP-ROUTER
#MODE=6LR
#MODE=RPL-ROOT
RAW_ETH=1
BRIDGE=0
DEV_BRIDGE=br0
DEV_TAP=tap0
DEV_ETH=eth0
RAW_ETH_FCS=1
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
interfaces:
auto lo
iface lo inet loopback
iface eth0 inet static
address 0.0.0.0
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
up echo 0 > /sys/devices/virtual/net/br0/bridge/multicast_snooping
post-up ip link set br0 address `ip link show eth0 | grep ether | awk '{print $2}'`
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
gateway 192.168.7.1
6lbr.log:
Fri Jul 7 17:14:25 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 -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 -m /usr/lib/6lbr/plugins
Contiki-contiki-base-develop-20170120-2374-gc1bd845 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
2017-07-07 17:14:25.088047: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-contiki-base-develop-20170120-2374-gc1bd845)
2017-07-07 17:14:25.090457: INFO: SLIP: Allocated slip device 0 -> 0
2017-07-07 17:14:25.090702: INFO: ETH: 6LBR watchdog started (interval: 60)
2017-07-07 17:14:25.094785: INFO: NVM: NVM Magic : 2009
2017-07-07 17:14:25.094917: INFO: NVM: NVM Version : 5
2017-07-07 17:14:25.094952: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2017-07-07 17:14:25.095052: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-07-07 17:14:25.095182: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2017-07-07 17:14:25.095215: INFO: MAC: Using 'csma' mac driver
2017-07-07 17:14:25.099389: INFO: SLIP: SLIP started on /dev/ttyACM0
2017-07-07 17:14:25.112190: INFO: SCMD: Started br-cmd process
2017-07-07 17:14:25.112329: INFO: BR-RDC: SLIP RADIO configured as RADIO
2017-07-07 17:14:25.112386: INFO: BR-RDC: Reset SLIP Radio
2017-07-07 17:14:25.112435: INFO: BR-RDC: Fetching MAC address
2017-07-07 17:14:25.115094: INFO: SLIP: cc2531: Reboot requested
2017-07-07 17:14:25.116506: INFO: SLIP: cc2531: Reverting to h/w MAC but not rebooting
2017-07-07 17:14:25.118004: INFO: BR-RDC: Got MAC 0 : 00:12:4b:00:07:68:ce:6d
2017-07-07 17:14:26.114349: INFO: SLIP: cc2531: Setting RF channel 0x19
2017-07-07 17:14:26.314049: ERROR: SLIP: Unknown command
2017-07-07 17:14:26.314300: ERROR: BR-RDC: Set PAN-ID failed
2017-07-07 17:14:26.314498: INFO: ETH: RAW Ethernet interface init
2017-07-07 17:14:26.314842: INFO: TAP: opened device /dev/eth0
2017-07-07 17:14:26.315120: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
eth0 Link encap:Ethernet HWaddr a8:1b:6a:1c:67:9e
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:226 errors:0 dropped:0 overruns:0 frame:0
TX packets:234 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32648 (31.8 KiB) TX bytes:28794 (28.1 KiB)
Interrupt:40
2017-07-07 17:14:26.441988: INFO: TAP: Eth MAC address : a8:1b:6a:1c:67:9e
2017-07-07 17:14:26.442289: INFO: ETH: Eth MAC address : a8:1b:6a:1c:67:9e
2017-07-07 17:14:26.442471: INFO: LLSEC: Using 802.15.4 framer
2017-07-07 17:14:26.442596: INFO: LLSEC: Using 'nullsec' llsec driver
2017-07-07 17:14:26.443269: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:768:ce6d
2017-07-07 17:14:26.443839: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:768:ce6d
2017-07-07 17:14:26.444376: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2017-07-07 17:14:26.444626: INFO: 6LBR: RA Daemon enabled
2017-07-07 17:14:26.444755: INFO: 6LBR: Checking addresses duplication
2017-07-07 17:14:37.452421: INFO: 6LBR: Configured as DODAG Root fd00::212:4b00:768:ce6d
2017-07-07 17:14:37.453935: INFO: 6LBR: Starting as RPL ROUTER
2017-07-07 17:14:37.457875: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-07-07 17:14:37.458571: INFO: HTTP: Starting webserver on port 80
2017-07-07 17:14:37.460593: INFO: NODECFG: Node Config init
2017-07-07 17:14:37.461176: INFO: NODECFG: No node_config.conf file specified
2017-07-07 17:14:37.461513: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-07-07 17:14:37.462113: INFO: UDPS: UDP server started
CoAP push started
CoAP server started
2017-07-07 17:14:37.462818: INFO: DNS: DNS proxy started
2017-07-07 17:14:37.463298: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2017-07-07 17:14:37.463501: INFO: 6LBR: CETIC 6LBR Started
RD client started
ifconfig
br0 Link encap:Ethernet HWaddr a8:1b:6a:1c:67:9e
inet addr:192.168.0.27 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::aa1b:6aff:fe1c:679e/64 Scope:Link
inet6 addr: 2604:6000:d9c4:8d00:aa1b:6aff:fe1c:679e/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5445 errors:0 dropped:0 overruns:0 frame:0
TX packets:6786 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:545995 (533.1 KiB) TX bytes:8381670 (7.9 MiB)
eth0 Link encap:Ethernet HWaddr a8:1b:6a:1c:67:9e
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5463 errors:0 dropped:3 overruns:0 frame:0
TX packets:6800 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:650759 (635.5 KiB) TX bytes:8384520 (7.9 MiB)
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:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2288 (2.2 KiB) TX bytes:2288 (2.2 KiB)
usb0 Link encap:Ethernet HWaddr a8:1b:6a:1c:67:91
inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
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)