Changing the config_stated flag is a workaround; you should try reflashing
the interface mote with a new version of IPBaseStation.  Basically, the
driver sends a packet to the interface mote to set its channel and address,
and waits for a reply; the fatal error means you're not getting it.  If it
still works after you change that flag, you may have an older version
installed.

Other then that, the behavior you describe is normal.  Basically, the router
needs to wait until it hears from a mote to add a routing table entry so it
can route to it.

If you update to the latest verion in contrib, there's a scheme for
generating traffic that will improve convergence time and you can usually
ping motes immediate after they boot.

Steve

On Thu, Jan 29, 2009 at 3:52 AM, alessandro ludovici <
[email protected]> wrote:

>  Hi,
> I have the following problem with b6lowpan. When I give the command "sudo
> ./serial_tun /dev/ttyUSB0 telosb", I get the following:
>
> 12:29:46.785336: INFO: Read config from 'serial_tun.conf'
> 12:29:46.785611: INFO:  Proxying neighbor advertisements to eth1
> 12:29:46.785702: INFO:  Using channel 13
> 12:29:46.897116: INFO: created tunnel device: tun0
> 12:29:46.930991: INFO: send me SIGUSR1 to dump the topology to a
> 'nwgraph.dot' in the cwd
> 12:29:50.302466: INFO: interface device successfully initialized
> 12:30:15.556531: WARN: tun_input: dropping packet with IPv6 options
> 12:30:22.843423: WARN: tun_input: dropping packet with IPv6 options
>
> and till here everything seems to be ok, but when I give a ping6 command I
> receive a "connect: Network is unreachable". After a while I receive the
> followings:
>
> Cannot find device "eth1"
> Cannot find device "eth1"
> 12:30:42.512530: INFO: nw_get_route: computing new routes
>
> The I ping the devices and everything works fine. The serial_tun.con has
> "proxy eth1" as default entry. I give in the terminal the ifconfig command
> and no eth1 device is found so I've changed the serial_tun.conf to "proxy
> eth0" (eth0 is the only Ethernet device recognized by ifconfig). However it
> does not work eith eth0.
>
> Furthermore I have changed in the serial_tun. c the value of "volatile
> sig_atomic_t config_success" (line 146) from 0 to 1. This because I get a
> fatal error when starting the tunneling. Changing the value the fatal error
> has disappeared.
>
> What is wrong? Maybe there is a bug?
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to