[ns] pause time

2013-04-13 Thread Sailu D

how to set pause time for the nodes in tcl script ?


[ns] node address

2013-04-13 Thread Sailu D

can any one tell me how to get address of all the nodes created in the
newtork ?

thank you .


Re: [ns] error in running make file

2013-04-13 Thread Tuan LE HUU NGUYEN

On 12/04/2013 9:07 CH, Mallika Sharma wrote:
 ubuntu-12


I found a solution on the Internet 
(http://ubuntuforums.org/showthread.php?t=1083933), try these commands 
in Terminal:

sudo apt-get update
sudo apt-get install*build-essential*
gcc -v




Re: [ns] error in running make file

2013-04-13 Thread Tuan LE HUU NGUYEN

Sorry, it should be like this (there's no asterisk marks):

sudo apt-get update
sudo apt-get install build-essential
gcc -v



Re: [ns] node address

2013-04-13 Thread itishi saxena

Go to common/node.cc and print from there.
 
 


 From: Sailu D dvlrsa...@gmail.com
To: ns-users@ISI.EDU 
Sent: Saturday, 13 April 2013 5:21 PM
Subject: [ns] node address
  


can any one tell me how to get address of all the nodes created in the
newtork ?

thank you .


[ns] Add data to node

2013-04-13 Thread Sahil Sharma

Hi,

I want to add an int data[ranging 0-7] associated with every node. How and
in which file I need to make the changes?

To be specific, I need to use this data in MaC layer for contending in the
medium i.e in contention window.

-- 
Regards,
Sahil Sharma

$25: for you a pizza and some beers with friends, for someone might change
their lives. Think about it.


[ns] Trace: Basics

2013-04-13 Thread Sahil Sharma

How can I open the trace file? Where and how can I check the throughput,
delay etc. of the nodes?

-- 
Regards,
Sahil Sharma

$25: for you a pizza and some beers with friends, for someone might change
their lives. Think about it.


Re: [ns] OLSR code in ns2

2013-04-13 Thread tarun

ok sir..



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/OLSR-code-in-ns2-tp5144p26647.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] OLSR code in ns2

2013-04-13 Thread tarun

ok sir.Thnx a lot 4 d solution.




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/OLSR-code-in-ns2-tp5144p26648.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Problem in mark greig's wireless1.tcl

2013-04-13 Thread Sahil Sharma

Hi,

I am getting this problem when running wireless1.tcl in mark greig's
tutorials.

praving@ubuntu:~/Downloads$ ns wireless1.tcl
num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern…
couldn’t read file “../mobility/scene/cbr-3-test”: no such file or directory
while executing
“source.orig ../mobility/scene/cbr-3-test”
(“uplevel” body line 1)
invoked from within
“uplevel source.orig [list $fileName]”
invoked from within
“if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
…”
(procedure “source” line 8)
invoked from within
“source $val(cp)”
(file “wireless1.tcl” line 88)
praving@ubuntu:~/Downloads$ tcl/ex/wireless-mitf.tcl
bash: tcl/ex/wireless-mitf.tcl: No such file or directory


How can I remove this. Please help.
-- 
Regards,
Sahil Sharma

$25: for you a pizza and some beers with friends, for someone might change
their lives. Think about it.