ORBIT-USER: Virtual access point doesn't work, anyone help?

Arinto Murdopo arinto at gmail.com
Wed Feb 7 23:40:34 EST 2007


Hi Kishore,

I think we also can swap step 3 and step 4 to reach the similar effect but
we must wait until all nodes are up and configured with the ruby script. I
put additional codes to print message and notify us when all the nodes are
ready and we at this time we can configure the node using bash or shell
script.

Here is my sample code. Feel free to give comments and suggestion. In this
example, I run the experiment for 60 seconds, but before start the
experiment, the code will wait for 180 seconds, and usually I configure the
nodes using shell script in this 3 minutes period.

Regards,

Arinto


On 2/8/07, Kishore Ramachandran <kishore at winlab.rutgers.edu> wrote:
>
> Hi Bin:
>
> Two reasons I see why your configuration does not work,
>
> (a) When you run nodehandler, it will reload the driver and wipe out your
> config.
>
> So, your sequence of commands:
>
> >    1) imageNodes 1,1..2 baseline-2.0.ndz
> >    (for some reason, I have to run more than once)
> >     2)  wget -O - 'http://cmc:5012/cmc/on?x=1&y=1 '
> >        wget -O - 'http://cmc:5012/cmc/on?x=1&y=2'
> >     3) ./config_commands.bash (which config node1 and 2)
> >     4) nodehandler helloworld
>
> The effect of step 3 gets wiped out in step 4. Also, nodehandler does not
> know how to deal with madwifi-ng driver.  My suggestion would be to stick to
> bash and start your traffic generator there (you can use
> iperf,netperf/nuttcp/etc.).
>
> (b) IP assignment issue
> From your config-*.bash script, you put the client on 192.168.1 network
>
> "ssh root at node1-1 ifconfig $i 192.168.1.$Number"
>
> and you put the AP on 192.168.2 network
>
> "ssh root at node1-2 ifconfig $i 192.168.2.$Number"
>
> Thats why ping does not work - they are not on the same IP network. This
> can be fixed as follows:
>
> "ssh root at node1-1 ifconfig $i 192.168.1.$Number netmask 255.255.0.0"
> "ssh root at node1-2 ifconfig $i 192.168.2.$Number netmask 255.255.0.0"
>
> OR
>
> "ssh root at node1-1 ifconfig $i 192.168.1.$Number"
> "ssh root at node1-2 ifconfig $i 192.168.1.$Number"
>
> regards,
> Kishore
>
> On 2/7/07, Bin Zan <zanb at eden.rutgers.edu> wrote:
> >
> > Hi Sachin,
> > Thanks for your reply,
> > Ping doesn't work. If ping the node itself it works, but can't ping each
> > other. Is there any further suggestion?
> >
> > Thank you,
> > Bin Zan
> >
> >
> >
> > -----Original Message-----
> > From: owner-orbit-user at winlab.rutgers.edu
> > [mailto:owner-orbit-user at winlab.rutgers.edu]On Behalf Of Sachin
> > Sent: 2007?2?7? 0:12
> > To: orbit-user at winlab.rutgers.edu
> > Subject: Re: ORBIT-USER: Virtual access point doesn't work, anyone help?
> >
> >
> > I think a basic connectivity check would be useful. Does ping work?
> >
> > On 2/6/07, Bin Zan <zanb at eden.rutgers.edu> wrote:
> > >
> > >
> > > Hi all,
> > >         I was trying to simulate VAP on sandbox5,but it seems not
> > working.
> > > What I did is:
> > >     1) imageNodes 1,1..2 baseline-2.0.ndz
> > >    (for some reason, I have to run more than once)
> > >     2)  wget -O - 'http://cmc:5012/cmc/on?x=1&y=1 '
> > >        wget -O - 'http://cmc:5012/cmc/on?x=1&y=2'
> > >     3) ./config_commands.bash (which config node1 and 2)
> > >     4) nodehandler helloworld
> > >    But the transmission failed. Anyone has any suggestion?
> > >
> > > Thanks,
> > > Bin Zan
> > >
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20070208/7f229f82/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tutorial-1a-edited60sec.rb
Type: application/octet-stream
Size: 1307 bytes
Desc: not available
Url : http://orbit-lab.org/pipermail/orbit-user/attachments/20070208/7f229f82/attachment.obj 


More information about the orbit-user mailing list