First, you need to be running TinyOS 2.1.2. Both Ubuntu 9.x and 10.x are getting really old. You need to install something more modern. At least Ubuntu 11. Although that is getting long in the tooth too. You should probably start with a fresh Ubuntu install. 12.04 is a reasonable choice. Its LTS (long term support).
motelist will list motes that are connected via USB. The biggest issue you are facing is what toolchain you are using. You didn't specify which you should have done. You also don't specify how you connect the mote to your system. The I use is from http://tinyprod.net/repos/debian/ you should install the tools from the above. motelist is in tinyos-tools. On Sun, Jun 30, 2013 at 2:43 PM, alessia...@libero.it <alessia...@libero.it>wrote: > Hi, > I’m new of TinyOS and my sensors tmote sky not works. > > I used a virtual machine VirtulBox that I took from the web site: > > http://systembash.com/content/ubuntos-ubuntu-9-10-tinyos-2-x-virtualbox-image/ > > On this virtual machine it's installed TinyOS 2.1.0 on Linux Ubuntu 9.10. > > > --------------------------------------------------------------------------------------- > The output of command: [lsb_release -a] is: > > > --------------------------------------------------------------------------------------- > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 9.10 > Release: 9.10 > Codename: karmic > > > --------------------------------------------------------------------------------------- > > I added some system variables are missing, as shown in some forums, but I > continued to have, according to the directory "/ > opt/tinyos-2.x/apps/Blink" and > by running the command [make telosb], the following error message: > > > --------------------------------------------------------------------------------------- > mkdir -p build/telosb > compiling BlinkAppC to a telosb binary > ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -fnesc-separator=__ > -Wall > -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c > -board= - > DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" - > DIDENT_USERNAME=\"wcu\" -DIDENT_HOSTNAME=\"wcu-desktop\" - > DIDENT_USERHASH=0xae794e66L - > DIDENT_TIMESTAMP=0x51b9d36dL -DIDENT_UIDHASH=0x8982200fL BlinkAppC.nc -lm > msp430-gcc: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found > (required by msp430-gcc) > make: *** [exe0] Error 1 > > > --------------------------------------------------------------------------------------- > > When I run the command [make all telosb], I obtained more repeated errors > like > the one shown above and the one below: > > > --------------------------------------------------------------------------------------- > make[1]: Entering directory `/opt/tinyos-2.x/apps/Blink' > mkdir -p build/telosa > compiling BlinkAppC to a telosa binary > ncc -o build/telosa/main.exe -Os -O -mdisable-hwmul -fnesc-separator=__ > -Wall > -Wshadow -Wnesc-all -target=telosa -fnesc-cfile=build/telosa/app.c -board= > - > DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" > -DIDENT_USERNAME=\" > wcu\" -DIDENT_HOSTNAME=\"wcu-desktop\" -DIDENT_USERHASH=0xae794e66L - > DIDENT_TIMESTAMP=0x51b45afeL -DIDENT_UIDHASH=0x09a6ce2cL BlinkAppC.nc -lm > msp430-gcc: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found > (required by msp430-gcc) > make[1]: *** [exe0] Error 1 > > > --------------------------------------------------------------------------------------- > > Then I did the upgrade to the Ubuntu version 10.04.4 > > > --------------------------------------------------------------------------------------- > The output of command before the upgrade: [lsb_release -a]: > > > --------------------------------------------------------------------------------------- > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 10.04.4 LTS > Release: 10.04 > Codename: lucid > > > --------------------------------------------------------------------------------------- > > and I solved the problems mentioned before. > > However, the sensors do not work again: when I launch the command > [motelist] I > always get the message: "no device found". > > How can I fix it? > > Thanks in advance > > Please: help me. > > Regards, > Alessia > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help