基于 CC2650 sensortag ,CC2531 USB Dongle, BBB 板,win 7 PC 机, openwrt 路由器 搭建Contiki-6LOWPAN 开发环境 遇到问题
按照http://processors.wiki.ti.com/index.php/Cc26xx_sw_examples 介绍的步骤 不能成功搭建 ,
1、debian@beaglebone:~$ ping6 aaaa::100 connect: Network is unreachable
2、运行 netstat -rn 没有 aaaa::/64 与bbbb::100 等的路由信息。(netstat -rn: Make sure the PC has a route to aaaa::/64 via bbbb::100)
debian@beaglebone:~$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.251 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.1.251 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 192.168.7.0 0.0.0.0 255.255.255.252 U 0 0 0 usb0 debian@beaglebone:~$
3、
debian@beaglebone:~$ ifconfig eth0 Link encap:Ethernet HWaddr a0:f6:fd:86:64:ec inet addr:192.168.1.186 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: bbbb::bbb/64 Scope:Global inet6 addr: bbbb::a2f6:fdff:fe86:64ec/64 Scope:Global inet6 addr: fe80::a2f6:fdff:fe86:64ec/64 Scope:Link UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1 RX packets:364 errors:0 dropped:0 overruns:0 frame:0 TX packets:346 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:52656 (51.4 KiB) TX bytes:49371 (48.2 KiB) Interrupt:177
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:270 errors:0 dropped:0 overruns:0 frame:0 TX packets:270 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:23149 (22.6 KiB) TX bytes:23149 (22.6 KiB)
usb0 Link encap:Ethernet HWaddr a0:f6:fd:86:64:e0 inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 inet6 addr: fe80::a2f6:fdff:fe86:64e0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:500 errors:0 dropped:0 overruns:0 frame:0 TX packets:306 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:43341 (42.3 KiB) TX bytes:57405 (56.0 KiB)
请问可能是什么原因造成的。是不是IPV6设置的问题,有没有更纤细点的教程?
你是参考那个文件到哪一步出现这个问题?现在解决了吧?你用什么作为边界路由器呢?