Hi .
I am using tinyos2.1.1, Ubuntu 12.04 LTS 32 bits and shimmer motes and
Span
Following the tutorial I have installed the IPBasestation and UDPEcho. From
the Ubuntu host, I can ping6 fec0::64 (the IPBasestation Edge router
attached to the host). But I couldn't ping6 the note router that is running
UDPEcho ( Shimmer motes ) . They both use Channel 15.
*With SPAN as edge route*r : My code is as follow
--------------------------------------------------------------------------------------------------------------
Setting up for TinyOS 2.x
Setting up for TinyOS 2.1.1
tiny2@ShimmerLive:/opt/tinyos-2.1.1/support/sdk/c/blip$ ./bootstrap.shCan't
exec "libtoolize": No such file or directory at /usr/bin/autoreconf2.50
line 189.
Use of uninitialized value in pattern match (m//) at
/usr/bin/autoreconf2.50 line 189.
tiny2@ShimmerLive:/opt/tinyos-2.1.1/support/sdk/c/blip$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib6lowpan/Makefile
config.status: creating driver/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
=== configuring in driver/radvd-1.0
(/opt/tinyos-2.1.1/support/sdk/c/blip/driver/radvd-1.0)
configure: running /bin/bash ./configure --disable-option-checking
'--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
building for architecture...
linux
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for ln... /bin/ln
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking where to put logfile... /var/log/radvd.log
checking where to put pidfile... /var/run/radvd.pid
checking where to find configfile... ${prefix}/etc/radvd.conf
checking which syslog facility to use... LOG_DAEMON
checking for inet_ntop in -lc... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking netinet/ip6.h usability... yes
checking netinet/ip6.h presence... yes
checking for netinet/ip6.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for inttypes.h... (cached) yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking machine/param.h usability... no
checking machine/param.h presence... no
checking for machine/param.h... no
checking machine/limits.h usability... no
checking machine/limits.h presence... no
checking for machine/limits.h... no
checking for an ANSI C-conforming const... yes
checking whether struct sockaddr_in6 has sin6_scope_id... yes
checking whether struct in6_addr has u6_addrXX and defines s6_addrXX... yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking device-linux.c to device.c
config.status: executing depfiles commands
tiny2@ShimmerLive:/opt/tinyos-2.1.1/support/sdk/c/blip$ make
make all-recursive
make[1]: Entering directory `/opt/tinyos-2.1.1/support/sdk/c/blip'
Making all in lib6lowpan
make[2]: Entering directory
`/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tinyos-2.1.1/support/sdk/c/blip/lib6lowpan'
Making all in driver
make[2]: Entering directory `/opt/tinyos-2.1.1/support/sdk/c/blip/driver'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/tinyos-2.1.1/support/sdk/c/blip/driver'
make[2]: Entering directory `/opt/tinyos-2.1.1/support/sdk/c/blip'
make[2]: Leaving directory `/opt/tinyos-2.1.1/support/sdk/c/blip'
make[1]: Leaving directory `/opt/tinyos-2.1.1/support/sdk/c/blip'
tiny2@ShimmerLive:/opt/tinyos-2.1.1/support/sdk/c/blip$ sudo
driver/ip-driver /dev/ttyUSB1 shimmer
[sudo] password for tiny2:
*2012-07-31T14:31:23.640GMT: INFO: Read config from 'serial_tun.conf'*
*2012-07-31T14:31:23.640GMT: INFO: Using channel 15*
*2012-07-31T14:31:23.640GMT: INFO: Retries: 5*
*2012-07-31T14:31:23.641GMT: INFO: telnet console server running on port
6106*
*2012-07-31T14:31:23.690GMT: INFO: created tun device: tun0*
*2012-07-31T14:31:24.505GMT: INFO: interface device successfully initialized
*
*2012-07-31T14:31:24.505GMT: INFO: starting radvd on device tun0*
*
---------------------------------------------------------------------------------------------------------------------------------------------------------------
*
Here is my problem what I think , because when I did same steps for telosb
, one more command appears that is
*INFO: starting to proxy for 0x1* ( this is the mote having UDPEcho
installed )
0x1 is the ID assigned to the mote while installing the UDPEcho code .
But in* SPAN* above mentioned command no appear and I cant ping6 the mote .
*Can anyone with Blip experience suggest how to debug this problem?*
I tried to work with telosb and it worked perfectly well.
Regards
Farrukh Munir
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users