Re: [ns] How to implement the wireless link queue

2012-04-22 Thread Israel Herrera
ot; method present in the PriQueue Class. Hope It helped you!! Or anybody else out there. My conclusion nevertheless, is that there is no easy way with this simulator. It is a very powerful one, but one has to go through the way of knowing it, by searching the web, reading the NS-manual,

Re: [ns] bash file for ns2

2012-04-23 Thread Israel Herrera
2012/4/23 mbasitrizvi > > > Hey guys...my question is more linux related and less ns2 related. Im > using a > ns2 script which has a bash file. > > i have a tcl file simulation1.tcl > > and then there is a bash file called... bash_script_for_simulation1 > > in the bash file i set parameters

Re: [ns] bash file for ns2

2012-04-23 Thread Israel Herrera
$argv 1] set var3 [lindex $argv 2] set etc [lindex $argv 3] and so on. var1 corresponds to argx0 by doing this. Now, to pass a bash variable to the script I suggest that you search for a bash tutorial. It is an easy thing to do, and very useful. Best Regards, Israel Herrera. 2012/4/23 mbasitrizvi