ORBIT-USER: Virtual access point doesn't work, anyone help?
Kishore Ramachandran
kishore at winlab.rutgers.edu
Wed Feb 7 11:00:06 EST 2007
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/20070207/1942916f/attachment.htm
More information about the orbit-user
mailing list