I am using a recent cvs copy of the blip code with stock tos 2.1.0
Everything compiles fine (IPBaseStation, UDPEcho, ip-driver), I load a
mote (telosb) with IPbaseStation (id=0, /dev/ttyUSB0) and one with
UDPEcho (id=1, /dev/ttyUSB1) without problem. I then run:
sudo ./ip-driver /dev/ttyUSB0 telosb
I get:
09/09/2009 09:57:01.411885: INFO: Read log level: DEBUG
09/09/2009 09:57:01.412065: INFO: Read config from 'serial_tun.conf'
09/09/2009 09:57:01.412084: INFO: Proxying neighbor advertisements to eth1
09/09/2009 09:57:01.412100: INFO: Using channel 17
09/09/2009 09:57:01.412187: INFO: telnet console server running on port 6106
09/09/2009 09:57:01.413770: INFO: created tun device: tun0
09/09/2009 09:57:07.423694: FATAL: configuring interface failed! aborting!
I have tried various options in the serial_tun.conf file and even
different motes all with the same results.
Looking deeper this message it is printed in configure_timeout()
[serial_tun.c:216] if config_success == 0.
The mote seems to be communicating as when I run ip-driver the usb
tx/rx lights blink a few times and the blue led blinks once.
Next I commented out serial_tun.c:217 ("exit(2);") to keep ip-driver
from exiting. At first I didn't think this was working, but I left
ping6 running for a while and finally got something:
PING fec0::1(fec0::1) 56 data bytes
64 bytes from fec0::1: icmp_seq=290 ttl=65 time=71.3 ms
64 bytes from fec0::1: icmp_seq=291 ttl=65 time=69.7 ms
64 bytes from fec0::1: icmp_seq=292 ttl=65 time=75.7 ms
64 bytes from fec0::1: icmp_seq=293 ttl=65 time=76.8 ms
64 bytes from fec0::1: icmp_seq=294 ttl=65 time=80.7 ms
64 bytes from fec0::1: icmp_seq=295 ttl=65 time=70.0 ms
64 bytes from fec0::1: icmp_seq=296 ttl=65 time=65.8 ms
this was with the default 1 second interval started shortly after
ip-driver started, so it took 290 seconds for the UDPEcho mote to
become reachable from the IPBaseStation; is this what I should expect
from blip, it seems like a long time? Hopefully this is some artifact
of the configuring interface problem I am having?
Thanks for any advice.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help