[ns] TORA simulation

2012-07-26 Thread leily A.Bakhtiar
Hi my friends. when I run my tcl code with TORA protocol it takes a lot of time to show me the result , for example i run it and wait for 90 minutes !! but no reply yet !!. do you have any solution for that? Best regards.

[ns] simulation time of DSDV

2012-07-07 Thread leily A.Bakhtiar
Hi dear friends I wrote a scenario in wsn with 30 mobile nodes and 20 static nodes. I run this tcl file with AODV , AOMDV and DSR, it was true. But when I changed the routing protocol to DSDV it doesn't show its nam , I try it for 4 hours but it didn't work without showing any error. Is the run

[ns] generating mobile nodes

2012-05-24 Thread leily A.Bakhtiar
Hi, I want to generate the scenario with mobile nodes, how can I use the 'setdest' command? I use this format : ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > M5.tr But it makes an error "invalid command". Best regards.

[ns] TORA protocol

2012-04-26 Thread leily A.Bakhtiar
Hi, I run the example of TORA protocol, It didn't have any errors, but it doesn't show its "nam". The terminal stays like this for long time without showing anythings. I attached the tcl file and the screenshot of the terminal. Would you please help me? Best regards.

[ns] ns2.35 in ubuntu 12

2012-04-21 Thread leily A.Bakhtiar
Hi dear friends We installed ns-2.35 in Ubuntu 12 using the command of "sudo apt-get install ..." now we have ns2.35 and its nam and xgraph, we can run ns examples, but we can't find the ns-2.35 folder, and the file of protocols like AODV, DSDV and etc. When we install ns by this command, where a

[ns] Segmentation Fault

2012-03-10 Thread leily A.Bakhtiar
Hi Dear friends I've run this code in Ns-2 and I changed its routing protocol such as "AODV", "DSDV" "AOMDV" and "DSR" . But in DSR protocol the code didn't run and made an error "Segmentation Fault" Would you please help me? Best,

[ns] seqno in hello packet in AODV

2012-03-05 Thread leily A.Bakhtiar
Hi Dear friends I have a question about AODV protocol. In "Hello packet" function, in "nb_insert" why "seqno" plus two? and why this parameter must be even? Best regards.

[ns] Energy model

2012-03-04 Thread leily A.Bakhtiar
Hi dear friends I need a file of energy model in NS-2. In which folder I can find it? Best,

[ns] MAC 802

2011-12-29 Thread leily A.Bakhtiar
Hi Dear friends In simulation script, in this command " set val(mac) Mac/802_15_4 " Where is the detailed information of this protocol (Mac/802_15_4)? Is there any special file in NS2 about Mac 802?

[ns] error in xgraph installation

2011-05-05 Thread leily A.Bakhtiar
Hi friends, I want to install xgraph-12.1 in NS-2.34. But it has this error " Too few arguments to function "getline" argument "lptr" doesn't match prototype". Best Regards. -- *** **leIlI,A,BR** ***

[ns] use XGRAPH

2011-05-04 Thread leily A.Bakhtiar
Hi friends can any body help me ,how can I use XGRAPH to show the energy? Best Regards -- *** **leIlI,A,BR** ***

[ns] Error "command not found"

2011-04-04 Thread leily A.Bakhtiar
Hi friends I've run the default examples in NS, but all of them have errors "command not found" for keywords like "proc", "global", "namtrace-all" and some others. How can I solve them? Regards. -- *** **leIlI,A,BR** ***