Several people have been confused by this message, so I'll try to clarify it in a future release. What happens is that when serial_tun starts, it sends a "configure" packet to the base station to set its address (that way it doesn't matter what address you build the image with). The base replies with an error code, and its currently configured address; serial_tun prints that message when it receives it. That info line is actually an indication that everything is working well!
Steve On Sun, Sep 28, 2008 at 1:21 PM, Leon Steenkamp <[EMAIL PROTECTED]> wrote: > Angela Perez wrote: > > Hi, > > > > I 'm trying to get 6lowpan to work following the steps from the README > > file in the tinyos-2.x-contrib/berkeley/b6lowpan. Everything builds > > fine, but when I try to run the serial tunnel driver (Step 3, point 2 > > of the README) by executing "sudo ./serial_tun /dev/ttyUSB0 telosb", I > > get the following error: > > > > 20:18:37.96446: INFO: created tunnel device: tun0 > > ifconfig tun0 up > > ifconfig tun0 mtu 1280 > > ifconfig tun0 inet6 add 2001:5c0:a07c:000:000:000:000:064/64 > > ifconfig tun0 inet6 add fe80::064/64 > > 20:18:37.115574: INFO: send me SIGUSR1 to dump the topology to a > > 'nwgraph.dot' in the cwd > > 20:18:37.115596: INFO: send me SIGUSR2 to recompute and print source > > routes to every router > > Note: sync > > 20:18:37.175906: INFO: config error: 0x0 addr: 0x64 > > > > Which is generated by void handle_other_pkt(uint8_t *data, int len) in > > serial_tun.c > > > > The mote is running IPBaseStation (in $LOWPAN_ROOT/apps). > > > > Any help or advice is much appreciated. > > > > Thanks > > --a > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > Angela, > > From what I can recall from memory is that I see that "INFO" line in my > output from serial_tun too but I kind of ignored it because it looked > like serial_tun was working in spite of that output (unless that is what > is causing my issue? see my "b6LoWPAN - telosb - IPBaseStation - > serial_tun - problems" post). > > > Leon > _______________________________________________ > 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
