三木社区

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1011|回复: 2

Linux/SMARTRF06EBK: cannot access [bbbb::100] on rpi3 with latest 6lbr

[复制链接]

1657

主题

1684

帖子

5684

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5684
发表于 2019-6-17 12:09:17 | 显示全部楼层 |阅读模式
  1. http://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/750737
复制代码


回复

使用道具 举报

1657

主题

1684

帖子

5684

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5684
 楼主| 发表于 2019-6-17 12:11:39 | 显示全部楼层
Tool/software: Linux

Hello everyone,

I built lasted 6lbr with Contiki-NG on Raspberrry pi 3B using LAUNCHXL-CC1310 as slip-radio. 6lbr is compiling from the develop branch(commit 728f18f) and contiki-NG is from sixlbr branch of cetic/contiki-ng with commit cd3af6c .I followed the steps from sunmaysky.blogspot.com/.../build-and-run-6lbrcontiki-ng-cc26xx-web.html, but i still cannot access the web page [bbbb::100].The main process is as follows:
1. Change directory to home folder and git clone --recursive github.com/.../6lbr.git
2. Change directory to 6lbr folder and git submodule update --init
3. Change directory to home folder and git clone --recursive github.com/.../contiki-ng.git
4. Change directory to contiki-ng folder and git submodule update --init
5. Change directory to 6lbr/examples/6lbr folder and run the following build command
"make WITH_CONTIKI=0 WERROR=0 all"
6. sudo make install
7. change to channel 25
8. Create /etc/6lbr/6lbr.conf with the content below
      MODE=ROUTER

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

      DEV_RADIO=/dev/ttyACM0
      BAUDRATE=115200

      LOG_LEVEL=3

9. connect LAUNCHXL-CC1310 running slip radio to Raspberry Pi
10. reboot rpi and start 6lbr service.

the 6lbr.log is:

********************************************************************************
Wed 28 Nov 11:49:35 CST 2018 : Starting 6LBR
/usr/lib/6lbr/bin/cetic_6lbr_router -c /etc/6lbr/nvm.dat -F /etc/6lbr/factory.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
[INFO: Main      ] Starting Contiki-NG-release/v4.1-45-gcd3af6c3c
[INFO: Main      ]  Net: pfe
[INFO: Main      ]  MAC: multi-radio
[INFO: Main      ] Link-layer address 0102.0304.0506.0708
2018-11-28 11:49:35.092717: NOTICE: 6LBR: Starting 6LBR version 1.5.x (Contiki-NG-release/v4.1-45-gcd3af6c3c)
2018-11-28 11:49:35.092969: INFO: SLIP: Allocated slip device 0 -> 0
2018-11-28 11:49:35.093167: INFO: ETH: 6LBR watchdog started (interval: 60)
2018-11-28 11:49:35.093569: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/dummy.so
2018-11-28 11:49:35.093953: INFO: PLUGIN: Loading /usr/lib/6lbr/plugins/lwm2m.so
2018-11-28 11:49:35.094308: ERROR: PLUGIN: Could not open /usr/lib/6lbr/plugins/lwm2m.so : /usr/lib/6lbr/plugins/lwm2m.so: undefined symbol: coap_rest_implementation
2018-11-28 11:49:35.094636: INFO: NVM: NVM Magic : 2009
2018-11-28 11:49:35.094809: INFO: NVM: NVM Version : 6
2018-11-28 11:49:35.094980: INFO: CONFIG: Loading configuration : /etc/6lbr/nvm.conf
2018-11-28 11:49:35.095214: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:35.095424: NOTICE: 6LBR: Log level: 30 (services: ffffffff)
2018-11-28 11:49:35.096168: INFO: SLIP: SLIP started on /dev/ttyACM0
2018-11-28 11:49:35.106543: INFO: SCMD: Started br-cmd process
2018-11-28 11:49:35.106700: INFO: BR-RDC: SLIP RADIO configured as RADIO
2018-11-28 11:49:35.106845: INFO: BR-RDC: Configuring SLIP RADIO 0 (API: 2.0)
2018-11-28 11:49:35.107021: INFO: BR-RDC: Reset SLIP Radio
2018-11-28 11:49:35.107170: INFO: BR-RDC: Fetching MAC address
2018-11-28 11:49:35.111136: ERROR: SLIP: Unknown command
2018-11-28 11:49:35.112514: INFO: BR-RDC: Got MAC 0 : 0012.4b00.13f2.ae5f
2018-11-28 11:49:36.506720: INFO: ETH: RAW Ethernet interface init
2018-11-28 11:49:36.547733: INFO: TAP: opened device eth0
2018-11-28 11:49:36.548158: INFO: TAP: Running 6lbr-ifup script '/usr/lib/6lbr/6lbr-ifup'
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:c9:f5:9f brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.106/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::cf2a:902d:736d:6b43/64 scope link
       valid_lft forever preferred_lft forever
2018-11-28 11:49:36.622920: INFO: TAP: Eth MAC address : b8:27:eb:c9:f5:9f
2018-11-28 11:49:36.623450: INFO: ETH: Eth MAC address : b8:27:eb:c9:f5:9f
2018-11-28 11:49:36.623917: INFO: MULTICAST: Using 'null' multicast driver
2018-11-28 11:49:36.624488: INFO: 6LBR: Tentative local IPv6 address fe80::212:4b00:13f2:ae5f
2018-11-28 11:49:36.624964: INFO: 6LBR: Tentative global IPv6 address (WSN) fd00::212:4b00:13f2:ae5f
2018-11-28 11:49:36.625431: INFO: 6LBR: Tentative global IPv6 address (ETH) bbbb::100
2018-11-28 11:49:36.625815: INFO: 6LBR: RA Daemon enabled
2018-11-28 11:49:36.626108: INFO: 6LBR: Checking addresses duplication
2018-11-28 11:49:37.192482: INFO: SLIP: radio: setting channel: 25
radio: setting pan id to 0xabcd
2018-11-28 11:49:38.626879: INFO: RPL: Configured as DODAG Root fd00::212:4b00:13f2:ae5f
2018-11-28 11:49:38.627418: INFO: 6LBR: Starting IP64
2018-11-28 11:49:38.627796: INFO: 6LBR: IPv4 address : 192.168.0.2
2018-11-28 11:49:38.628194: INFO: 6LBR: Starting as RPL-Router
2018-11-28 11:49:38.629131: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:38.629663: INFO: HTTP: Starting webserver on port 80
2018-11-28 11:49:38.630107: INFO: NODECFG: Node Config init
2018-11-28 11:49:38.630406: INFO: NODECFG: No node_config.conf file specified
2018-11-28 11:49:38.630712: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:38.631210: INFO: UDPS: UDP server started
2018-11-28 11:49:38.631513: INFO: DNS: DNS proxy started
2018-11-28 11:49:38.631805: INFO: PLUGIN: Initialising dummy
2018-11-28 11:49:38.632121: INFO: DUMMY: Dummy init
2018-11-28 11:49:38.632423: WARN: CONFIG: Can not open /etc/6lbr/nvm.conf : No such file or directory
2018-11-28 11:49:38.632797: INFO: 6LBR: CETIC 6LBR Started


ps:I repeated the steps above on vmware 15 Pro, everything is ok including accessing web page.

Can anyone tell me how to fix this problem? Thanks very much.

回复 支持 反对

使用道具 举报

1657

主题

1684

帖子

5684

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5684
 楼主| 发表于 2019-12-13 02:12:15 | 显示全部楼层
胡雪 发表于 2019-10-18 11:31
请问,我在Windows下仿真器下载固件,为什么在J-FLASH中打开TI文件夹,找不到CC2538的jflash文件呢? 另外 ...

你用的教程比较旧
有些人直接安装了linux,没有windows,因此需要在linux下下载固件,其次是为了方便
我一般都是在windwos下下载固件,我比较习惯这样操作
下载固件和操作系统没有关系,因此你可以安装你自己的习惯选择合适的方式下载固件
回复 支持 反对

使用道具 举报

Archiver|手机版|小黑屋|三木电子社区 ( 辽ICP备11000133号-4 )

辽公网安备 21021702000620号

GMT+8, 2024-4-19 01:34 , Processed in 0.032583 second(s), 23 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表