Reputation: 13
I am new to using the Contiki-NG OS and the Cooja simulator. I was following a tutorial from this link and the steps I followed are:
examples/rpl-border-router
, I opened a terminal and entered$ make TARGET=zoul connect-router-cooja
The output of this command does not print that the web server has started.
When the simulation is running, this command gives me an IPv6 address of the server. It is my understanding that this is the IPv6 address of the RPL border router. When I ping this router, I get continuous responses from the server.
When I ping the hello-world nodes however (child nodes), I don't get any response from the ping.
When I type http://[router-address-IPv6], the page does not respond.
When I do
$ wget http://[router-address-IPv6]
it tries 20 times and fails. It gives the error "failed: Protocol error."
It is my understanding that when I type in the terminal
$ ls /dev/tty*
I should be able to see multiple serial ports, of which /dev/ttyUSB0
should be one of them if my simulation is running and my border router is connected, but I do not see one.
Tools > Radio messages
however, I see the hello-world packets being transmitted to the border router.tools/serial-io
and entered $ ./tunslip6
I get:
ipaddress: Success
I expect to see a webpage on typing http://\[router-address-IPv6\]
in the browser. I also expect to see /dev/ttyUSB0
under $ ls /dev/tty*
Update 1: When I repeated the same set of steps but this time using Cooja motes instead of sky motes, I was able to open the website and see the neighbours and routing links. The $ make TARGET=zoul connect-router-cooja
command however still does not mention any "web server started" message. $ ls /dev/tty*
still does not show any /dev/ttyUSB0
as intended.
What is the reason it works only for the Cooja motes?
Upvotes: 0
Views: 251
Reputation: 1
The /dev/tty.* will never appear if you run Tmote Sky simulated in COOJA. I would guess that it is borderline that the complete Contiki-NG and webserver fits in Tmote Sky - it could be a part of the issue. But I am not completely sure.
Upvotes: 0