[orbit-user] Fwd: Having difficulty in setting upmulti-hopenvironment.
Max Ott
max at winlab.rutgers.edu
Mon Feb 25 02:02:49 EST 2008
Why do you say 'The code to set nodes' antenna power seems does not
work. So the antenna power of nodes is 20dBm.' What's the evidence? I
don't think the network interface has a 'power' attribute, but it
should have a 'tx_power' one.
Also, if you are already using a nodehandler script, why aren't you
using the 'antenna' command
(http://www.orbit-lab.org/wiki/Documentation/NodeHandler/Commands/antenna).
Does that not work, either?
-max
On Sat, Feb 23, 2008 at 4:16 PM, Fan Wu <wufan.nju at gmail.com> wrote:
>
>
>
>
> The handler script is:
>
> defGroup('commander', [2,2])
>
> defGroup('workers', [6,6])
>
>
>
> allGroups.net.w0 { |w|
>
> w.mode = "ad-hoc"
>
> w.type = 'b'
>
> w.channel = "2"
>
> w.essid = "opp"
>
> w.rate = "11M"
>
> # w.tx_power = "5dBm"
>
> w.power = "0dBm" # This line does not work.
>
> w.ip = "%192.168.%x.%y"
>
> }
>
>
>
> whenAllUp() {|node|
>
> wait 30
>
> # nodes('commander').exec("The app to test forwarding probability")
>
> wait 120
>
> Experiment.done
>
> }
>
>
>
> The commands to set noise I used are:
>
>
>
> wget http://instrument1.orbit-lab.org:5012/interference/initialize
>
> wget http://instrument1.orbit-lab.org:5012/interference/awgn?bandwidth=10
>
> wget
> http://instrument1.orbit-lab.org:5012/interference/set?power=5&channel=2
>
> wget http://instrument1.orbit-lab.org:5012/interference/start
>
>
>
>
> Is there anything wrong?
>
>
>
> Thanks!
>
>
>
>
> Fan Wu
>
> Department of Computer Science and Engineering
>
> The State University of New York at Buffalo
>
> Email: fwu2 at cse.buffalo.edu
>
>
>
>
> ________________________________
>
>
> From: orbit-user-bounces at orbit-lab.org
> [mailto:orbit-user-bounces at orbit-lab.org] On Behalf Of Sanjit Krishnan Kaul
> Sent: Friday, February 22, 2008 4:55 PM
>
>
> To: 'Orbit user discussion mailing list'
> Subject: Re: [orbit-user] Having difficulty in setting
> upmulti-hopenvironment.
>
>
>
>
>
> Thanks.
>
>
>
> What is the frequency setting of the noise antennas and the nodes you are
> using? What bit-rates are you operating at? Can you send all your settings,
> maybe the script you are using (if it is a node-handler script)?
>
> It is difficult to understand why at 5dbm noise the link from [6,6] to [2,2]
> is not seeing packet errors as [2,2] is adjacent to a noise-antenna.
>
>
>
> Cheers,
>
> Sanjit
>
>
>
>
>
> From: orbit-user-bounces at orbit-lab.org
> [mailto:orbit-user-bounces at orbit-lab.org] On Behalf Of Fan Wu
> Sent: Friday, February 22, 2008 1:32 PM
> To: 'Orbit user discussion mailing list'
> Subject: Re: [orbit-user] Having difficulty in setting up
> multi-hopenvironment.
>
>
>
> The noise antenna power I tried are -20dBm, -10dBm, 0dBm, and 5dBm. The code
> to set nodes' antenna power seems does not work. So the antenna power of
> nodes is 20dBm.
>
> Grid nodes are [[2,2],[6,6]].
>
> I want to make the forwarding probability between these two nodes less than
> 30%.
>
>
>
>
>
>
> Fan Wu
>
> Department of Computer Science and Engineering
>
> The State University of New York at Buffalo
>
> Email: fwu2 at cse.buffalo.edu
>
>
>
>
> ________________________________
>
>
> From: orbit-user-bounces at orbit-lab.org
> [mailto:orbit-user-bounces at orbit-lab.org] On Behalf Of Sanjit Krishnan Kaul
> Sent: Friday, February 22, 2008 1:24 PM
> To: 'Orbit user discussion mailing list'
> Subject: Re: [orbit-user] Having difficulty in setting up
> multi-hopenvironment.
>
>
>
> What noise antenna power did u use? What orbit grid nodes did u select? What
> number of hops are you looking for?
>
>
>
>
>
>
>
> From: orbit-user-bounces at orbit-lab.org
> [mailto:orbit-user-bounces at orbit-lab.org] On Behalf Of Fan Wu
> Sent: Friday, February 22, 2008 4:08 AM
> To: 'Orbit user discussion mailing list'
> Cc: 'Li (Erran) Li'
> Subject: [orbit-user] Having difficulty in setting up multi-hop
> environment.
>
>
>
> Hi,
>
>
>
> I have difficulty in configuring multi-hop environment by injecting noise. I
> tried the sample codes and changed some parameters, such as antenna power
> and radio power. But the forwarding probabilities were always >99%. Is there
> anyone has configured a similar environment? Could you share the code?
> Thanks a lot!
>
>
>
> By the way, the code I used for setting radio power seems not right. Anyone
> has any idea?
>
> allGroups.net.w0 { |w|
>
> w.power = "18dBm"
>
> }
>
>
>
> Thanks a lot!
>
>
>
> Fan Wu
>
> Department of Computer Science and Engineering
>
> The State University of New York at Buffalo
>
> Email: fwu2 at cse.buffalo.edu
>
>
>
>
> _______________________________________________
> orbit-user mailing list
> orbit-user at orbit-lab.org
> http://orbit-lab.org/cgi-bin/mailman/listinfo/orbit-user
>
>
More information about the orbit-user
mailing list