contiki-os / contiki

The official git repository for Contiki, the open source OS for the Internet of Things
http://www.contiki-os.org/
Other
3.72k stars 2.58k forks source link

The tunslip6 is not working properly to setup Border router. #2523

Open PranavD10 opened 6 years ago

PranavD10 commented 6 years ago

I am trying to study the web-demo example provided in contiki/contiki-ng for cc26xx.I have two cc2650 launchpads.I wanted to create a mesh network and to send data from nodes to server and from server to node.

And I followed this steps:-

  1. for creating nodes, I build the example with this on launchpad 1--

make TARGET=srf06-cc26xx BOARD=launchpad/cc2650 cc26xx-web-demo.upload WERROR=0

  1. make distclean

  2. for creating a server, I added the rpl-border router module in my Makefile. I build the example with this on launchpad 2--

make TARGET=srf06-cc26xx BOARD=launchpad/cc2650 cc26xx-web-demo.upload WERROR=0

4.For working with rpl-border router the tunslip6 need to be configured. I configured it for TARGET=srf06-cc26xx and I run it by using--

sudo ./tunslip6 -s /dev/ttyACM2 fd00::1/3

  1. now I can see that slip is started and rpl border router is started.

Now I should be able to ping the server and nodes from the Terminal using ping6 command. But it is not doing this. Also the server I cannot able to ping. The rpl border router configured with tunslip mean to be connected to the internet.

So why I am not able to ping server and node from the Terminal..??

Also, I observed that the data is being broadcasted to all nodes connected to the server instead of a particular node.

(I also tried adding the shell module in node and server Makefile and rebuilding the example, after that, I tried pinging the server from the node and it is working)

(also tried rpl border router program uploaded on one launchpad and tunslip6 configured as above, And now I am able to ping the nodes and sever from Terminal)

PranavD10 commented 5 years ago

figured it out, but why we only need to have fd00::1/64. what does it means semantically...??