[ns] WSN sending packets at variable rate.

2010-02-25 Thread Prakash Raj Loganathan Sambandamoorthy

Dear Everyone,

In WSN, data packets are transmitted at constant interval. Is there any
means by which data packets could be transmitted at variable intervals.
Thanks in Advance.

Thanks and Regards.


[ns] Changing node transmission power?

2010-02-25 Thread johnadams986


Hi,

I was wondering if there is a way to change the transmission power of a node
during the middle of the simulation. For instance, I would start off with
the power as 0.2W but then later at t=20, I want to change it to 0.15W. Is
this possible?

Thanks,
John
-- 
View this message in context: 
http://old.nabble.com/Changing-node-transmission-power--tp27714662p27714662.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Fwd: installation of cbrp on ns-2.29

2010-02-25 Thread hitesh sharma

I am trying to install cluster based routing protocol (with cmu extension)
on ns-2.29. I have followed the guidelines there but have not been able to
install it.. Can any body help me in this regard?? Thanks for your help..

-- 
Hitesh Sharma
Department of Electronics and Computer
IIT Roorkee
Roorkee - 247667 , Uttarakhand
India



-- 
Hitesh Sharma
Department of Electronics and Computer
IIT Roorkee
Roorkee - 247667 , Uttarakhand
India


[ns] mac-tdma problem

2010-02-25 Thread Aurel Mihail Ganga



Hi!

I increased the 'max_node_num' variable to 200 and ran a simulation with many 
agents from different nodes sending to another node at the same time from a 
script. 
When I run the simulation with less than or equal 64 nodes, all the packages 
are received. When I run the simulation with more then 64 nodes (say 200), then 
packages are lost.

Related to that, it seems from traces that when sending from an node agent A to 
another agent B (unicast), what actually happens is first another unknown 
application sends a package to B, then B replies to A to the application, then 
the actual unicast occurs. What application is that? When broadcasting, that 
application does not appear.  

If needed I can provide my script/agents.

Thanks,
Aurel

__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 


[ns] Plse help ..In Simulation of IEEE 802.16 Wireless mesh Networks (its urgent)

2010-02-25 Thread rpavan


Hi,
My final yr project is on FEBA improvement in WMNS.For simulation i got
the patch(Ns2mesh80216)
it patched successfully but on installing after patch it gives following
error 
   
   [code#]
In file included from wimax/common/wimax_debug.cc:22:
./wimax/mesh/wimsh_packet.h: In static member function ‘static unsigned
int WimshMshDsch::pers2frames(WimshMshDsch::Persistence)’:
   ./wimax/mesh/wimsh_packet.h:234: error: ‘UINT_MAX’ was not declared in
this scope
   make: *** [wimax/common/wimax_debug.o] Error 1
   Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

[#code]

  please help me solve this error if not is there any other way to simulate
WMNs  
  if possible suggest me tcl scripts , tutorial..etc

  thanks for reading my post 
-- 
View this message in context: 
http://old.nabble.com/Plse-help-..In-Simulation-of-IEEE-802.16-Wireless-mesh-Networks-%28its-urgent%29-tp27714495p27714495.html
Sent from the ns-users mailing list archive at Nabble.com.




[ns] Ali Balador added your name to the Academia.edu directory of academics

2010-02-25 Thread Ali Balador

Hi NS,

Ali Balador added your name to Academia.edu, the global directory of academics 
and graduate students. We checked your department directory, and it looks like 
you are an academic/graduate student. You are currently listed as an 'unknown' 
academic/graduate student: resolve your 'unknown' status by following one of 
the links below:

Yes, I am an academic/graduate student:
http://academia.edu/Yes-NS-Ns--ns-users-at-isi.edu--is-an-academic-or-graduate-student

No, I am not an academic/graduate student:
http://academia.edu/Remove-NS-Ns--ns-users-at-isi.edu--from-the-directory-of-academics

Stephen Hawking, Richard Dawkins, Paul Krugman, Noam Chomsky and Steven Pinker 
have all recently confirmed their membership of their departments on 
Academia.edu.

Many thanks,
The Academia.edu Team

---

Academia.edu's office is at: 2140 Taylor St, #806, San Francisco, CA, 94133. To 
opt out of receiving these kinds of emails from Academia.edu, go to:

http://academia.edu/optout/85de3981ae676f1ced4af326f3a9764f



Re: [ns] passing parameters to tcl script

2010-02-25 Thread Sergio Luis O. B. Correia

On Thu, Feb 25, 2010 at 10:26 AM, pedro chaparro  wrote:
>
> hi every one, i have a question about how to check the number of parameters
> i pass to the tcl script, i'm using
>
> if {  $argc != 3}
> {
> puts "Missing parameters  "
> exit 1
> }

try putting the opening brace in the same line, as in

if { $argc != 3 } {
bla bla bla
}

>
> but it does not work
>
> i got this error
>
> p...@calvin:/home/pdro7/Desktop/ns-allinone-2.34/ns-2.34# *./ns
> foreman1.tcl    *
> wrong # args: no script following "  $argc != 3" argument
>    while executing
> "if {  $argc != 3}"
>    (file "foreman1.tcl" line 7)
>
>
>
> thanks in advance
>
>
> --
> Ing Pedro Alonso Chaparro Valero
> Ciudad Politecnica de la Innovación
> iTEAM - Mobile Communications Group
> Polytechnic University of Valencia
> C\ Camino de Vera S/N, Edificio 8G
> 46022 Valencia, Spain
>



-- 
Computer Networks and Security Laboratory (LARCES)
State University of Ceara (UECE/Brazil)



[ns] [RE]tcl_find Library Invalid Command Name + xgraph error

2010-02-25 Thread Jethro Shell

If anyone else is having any of the same issues as me then the below should be 
able to solve them. Ubuntu 9.10 doesn't work well with the NS-2 allinone 
package. It fails to compile nam and xgraph despite changing to gcc. The method 
outlined below has worked for me really quickly and easily without changes to 
PATH.

http://ns2onubuntu.blogspot.com/2009/11/easiest-way-to-install-ns2-on-ubuntu.html

Thanks,

Jethro

-[ Received Mail Content ]--

 Subject : tcl_find Library Invalid Command Name + xgraph error

 Date : Thu, 25 Feb 2010 06:40:00 -0500 (EST)

 From : "Jethro Shell" 

 To : 


 p {margin-top:0px;margin-bottom:0px;}Hi,

I'm currently trying to run some sample of the sample code within NS-2 but I am 
receiving the following error:
 "nam: invalid command name "tcl_findLibrary"

Can anyone help?

Is this a problem with the PATH?

My Tcl library is currently pointing to (replacing username with my own):
TCL_LIB=/home/username/ns-allinone-2.34/tcl8.4.18/libraryexport 
TCL_LIBRARY=$TCL_LIB:$USR_LIB

I am also getting the following error with xGraph
ns: close file5 ; _o3 finish stats1: couldn't execute "xgraph": no such file or 
directory while executing

My PATH for xgraph is set up as:

XGRAPH=/home/username/ns-allinone-2.34/bin:/home/username/ns-allinone-2.34/tcl8.4.18/unix:/home/username/ns-allinone-2.34/tk8.4.18/unix

NS-2 compiled ok and validated ok.

Any help would be good.

Thanks,

Jethro




Yours sincerely,

Jethro Shell

Email: jethrosh...@lycos.com


[ns] passing parameters to tcl script

2010-02-25 Thread pedro chaparro

hi every one, i have a question about how to check the number of parameters
i pass to the tcl script, i'm using

if {  $argc != 3}
{
puts "Missing parameters  "
exit 1
}

but it does not work

i got this error

p...@calvin:/home/pdro7/Desktop/ns-allinone-2.34/ns-2.34# *./ns
foreman1.tcl    *
wrong # args: no script following "  $argc != 3" argument
while executing
"if {  $argc != 3}"
(file "foreman1.tcl" line 7)



thanks in advance


-- 
Ing Pedro Alonso Chaparro Valero
Ciudad Politecnica de la Innovación
iTEAM - Mobile Communications Group
Polytechnic University of Valencia
C\ Camino de Vera S/N, Edificio 8G
46022 Valencia, Spain


[ns] tcl_find Library Invalid Command Name + xgraph error

2010-02-25 Thread Jethro Shell

Hi,

I'm currently trying to run some sample of the sample code within NS-2 but I am 
receiving the following error:
 "nam: invalid command name "tcl_findLibrary"

Can anyone help?

Is this a problem with the PATH?

My Tcl library is currently pointing to (replacing username with my own):
TCL_LIB=/home/username/ns-allinone-2.34/tcl8.4.18/libraryexport 
TCL_LIBRARY=$TCL_LIB:$USR_LIB

I am also getting the following error with xGraph
ns: close file5 ; _o3 finish stats1: couldn't execute "xgraph": no such file or 
directory while executing

My PATH for xgraph is set up as:

XGRAPH=/home/username/ns-allinone-2.34/bin:/home/username/ns-allinone-2.34/tcl8.4.18/unix:/home/username/ns-allinone-2.34/tk8.4.18/unix

NS-2 compiled ok and validated ok.

Any help would be good.

Thanks,

Jethro



[ns] I need help in simulating contention in DSR and AODV

2010-02-25 Thread Asaad Shams

Hi,

  Can anyone please help me out by telling me how to simulate
contention in DSR and AODV protocols and also they be simulated in NS2. Its
urgent and i require the details. Please someone help me out.

Regards,
Asaad Bin Shams


[ns] NS-2 and Ubuntu 9.10: Nam Access denied

2010-02-25 Thread Jethro Shell


 p {margin-top:0px;margin-bottom:0px;}Hi,

I have installed the latest version of NS-2 on Ubuntu 9.10. So far I have had 
no issues aside from some minor tweaks. I believe I have done everything that 
has been needed (changing PATH etc) but I can't run any examples as nam is 
producing an access denied message. I have tried Googling this but no one seems 
to have offered an answer. Has anyone got a resolution to this?
The error I'm getting is below: 

couldn't open "out.nam": permission denied while executing"open out.nam w" 
invoked from within"set nf [open out.nam w]" (file "ns-simple.tcl" line 9)

Any help would be much appreciated.

Thanks,

Jethro



[ns] reg : reading of files in tcl script

2010-02-25 Thread gayathri devi

Hai

Can anyone guide me in reading a file in tcl script of ns2. how the data in 
that file can be assigned to variable in tcl... to make changes in the output 
of nam.




Thank You,
Gayathri.



  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/


[ns] bss_id lookup failed

2010-02-25 Thread מתן אלגבסי

Hello,
I'm using ns2.34 built from modules.
I've tried to run the test case "test-suite-wireless-lan-ap.tcl" test suite
simulation, but got "bss_id lookup failed" error (detailed error below).

Do you guys have any lead on how to solve this?

Thank you.

Detailed error:

bss_id lookup
failed

(_o20 cmd line 1)
invoked from within
"_o20 cmd bss_id 0"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o20" line 2)
(SplitObject unknown line 2)
invoked from within
"$mac_($i) bss_id $AP_ADDR"
(procedure "_o3" line 47)
(Test/basic init line 47)
invoked from within
"_o3 init "
(Class create line 1)
invoked from within
"Test/basic create _o3 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Test/$test"
(procedure "runtest" line 16)
invoked from within
"runtest $argv"
(file "test-suite-wireless-lan-ap.tcl" line 352)


Re: [ns] error: NS : code omitted because of length

2010-02-25 Thread Souha Rayana

Hi ns-users.

I have got the same error when trying to install ns-2.32 with the mannasim
framework.

The validation could not be done and the error : [code ommited because of
length]

I will really appreciate your help.

Thanks in advance.

2010/2/24 ashish tiwari 

>
> hello all I am adding a new protocol in  NS2 and  I have added some line in
> ns-agent.tcl
> "Agent/EHWMP instproc init args
> {
>$self next $args
> }
> Agent/EHWMP set sport_   0
> Agent/EHWMP set dport_   0"
>
> Now when I am  typing ns  it  is  giving following error.Could  anyone help
> me for this.
> , ash...@ubuntu:~/ns/ns-allinone-2.33/ns-2.33$ ns
> ns:
> [code omitted because of length]
> : invalid command name "Agent/EHWMP"
>while executing
> "Agent/EHWMP instproc init args {
> $self next $args
> }"
>
>
> --
> Thanks & Regards
> Ashish Kumar Tiwari
> M.Tech CSE NITK SURATHKAL
> MANGALORE,KARNATAKA
>