Thanks,

I have started installing Debian on a VMware Workstation. I will get
back to you in few days if I need more help.

 

 

Cheers,

 


Varun Jain

 

From: sdh...@gmail.com [mailto:sdh...@gmail.com] On Behalf Of Stephen
Dawson-Haggerty
Sent: Thursday, 26 February 2009 4:34 PM
To: Varun Jain
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: Errors in starting up BLIP

 

No, I'm pretty sure cygwin doesn't emulate the tun/tap interface.  This
is just printing your existing windows interfaces;  ipconfig is a
windows command.

On Wed, Feb 25, 2009 at 8:55 PM, Varun Jain <va...@spiderbox.com.au>
wrote:

Hi Steve,

 

I just checked "ipconfig" in cygwin shell and it gave me the following
output....

 

----------------------------------------------------

va...@varunjain /opt/tinyos-2.x

$ ipconfig

 

Windows IP Configuration

 

Ethernet adapter Local Area Connection:

 

        Connection-specific DNS Suffix  . : spiderbox.com.au

        IP Address. . . . . . . . . . . . : 10.254.0.71

        Subnet Mask . . . . . . . . . . . : 255.255.0.0

        IP Address. . . . . . . . . . . . : fe80::217:31ff:fe64:23fd%4

        Default Gateway . . . . . . . . . : 10.254.255.254

 

Tunnel adapter Teredo Tunneling Pseudo-Interface:

 

        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : fe80::ffff:ffff:fffd%5

        Default Gateway . . . . . . . . . :

 

Tunnel adapter Automatic Tunneling Pseudo-Interface:

 

        Connection-specific DNS Suffix  . : spiderbox.com.au

        IP Address. . . . . . . . . . . . : fe80::5efe:10.254.0.71%2

        Default Gateway . . . . . . . . . :

----------------------------------------------------------------

 

Does it mean that cygwin supports tun/tap interface as I entered this
command inside cygwin....

 

 

Thanks,

 

Varun Jain

 

From: Stephen Dawson-Haggerty [mailto:sdh...@gmail.com] 
Sent: Thursday, 26 February 2009 1:44 PM
To: Varun Jain
Cc: stev...@cs.berkeley.edu; tinyos-help@millennium.berkeley.edu
Subject: Re: Errors in starting up BLIP

 

As far as I know, cygwin doesn't support the tun/tap interface which is
what I use to add a network interface.  Perhaps you can try it inside of
a linux virtual machine?  I've seen this work and there are instructions
here: http://sing.stanford.edu/klueska/running_xubuntos_vm.html

Steve

On Wed, Feb 25, 2009 at 6:58 PM, Varun Jain <va...@spiderbox.com.au>
wrote:

Hi Stephen,

 

I have been working on Sensor networks and have been able to build an
application (Meter Reading) for 25 nodes. I have started working on Ipv6
now. I was following the Readme instructions at:
http://smote.cs.berkeley.edu:8000/tracenv/browser/code/b6lowpan/trunk/RE
ADME

 

I have the libmote.a built correctly in  /support/sdk/c/sf 

 

I was trying to do the next step of setting up the environment variables
but I do not understand some things:

You ask to set up the following variables

export LOWPAN_ROOT=~/svn/code/b6lowpan/

export TOSMAKE_PATH="$LOWPAN_ROOT/support/make"

 

Whereas in a script, I already have the following variables set up:

export TOSROOT="/opt/tinyos-2.x"

export MAKERULES="$TOSROOT/support/make/Makerules"

 

 

Are the variables said by you different, because you ask to set up to
the top level "blip" directory, which is this "top level  directory"
that you are referring to, isn't it the TOSROOT???

 

 

If I am correct with my environment variables, then while building the
blip directory, I get following errors.

 

va...@varunjain /opt/tinyos-2.x/support/sdk/c/blip

$ make all

cd lib6lowpan && make

make[1]: Entering directory
`/opt/tinyos-2.x/support/sdk/c/blip/lib6lowpan'

gcc -o lib6lowpan.o lib6lowpan.c -DPC -g -I../include/ -c

In file included from lib6lowpan.c:23:

../include/ip.h:31:26: linux/if_tun.h: No such file or directory

In file included from lib6lowpan.c:23:

../include/ip.h:77: error: field `ip6_src' has incomplete type

../include/ip.h:78: error: field `ip6_dst' has incomplete type

../include/ip.h:258: error: field `pi' has incomplete type

make[1]: *** [lib6lowpan.o] Error 1

make[1]: Leaving directory
`/opt/tinyos-2.x/support/sdk/c/blip/lib6lowpan'

make: *** [all] Error 2

 

This error is understandable as I am running cygwin, what should I
replace it with???

Environment: Cygwin, TInyOS-2.0.2, my own platform similar to micaz

 

 

What am I doing wrong??? Any hint would be great!!!!!!!!!!!

 

Cheers,

 

Varun Jain

 

 

 

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to