[ns] ns for mobile

2009-12-01 Thread Ricardo Sant Ana
Hello all I am working on a ns2 script where I intent to simulate an mobile AODV routing protocol. Well, since I am newbie in ns2 I would like to know if I can post the scripts I am developing here for validation. See, I would like to learn ns2 by myself - I just wanna some help to tell me if

[ns] first ns2 script

2009-12-06 Thread Ricardo Sant Ana
Hello after studying ns this weekend I ve tried to make an ftp traffic between two nodes in an AODV routing network. I studied wpan_demo1.tcl script and worked on a simple one. but it seems its not wokring correctly. can you give me some clues ? thanks in advance Ricardo ===wpan.

[ns] 802_15_4 help

2009-12-09 Thread Ricardo Sant Ana
Hello All I am studying wpan.tcl example nd I am not sure what the following lines do. could anyone help me ? Mac/802_15_4 wpanNam PlaybackRate $lowSpeed $ns_ at [expr $appTime1+0.2] "Mac/802_15_4 wpanNam PlaybackRate $highSpeed" $ns_ at $appTime2 "Mac/802_15_4 wpanNam PlaybackRate $lowSpeed" $

[ns] Help: ns error

2009-12-16 Thread Ricardo Sant Ana
Hello I vem trying an exponencial traffic between mobile 802_14_5 nodes and I got the following message: [wpan/p802_15_4phy.cc::PD_DATA_request][0.844348](node 1) Invalid PSDU/MPDU length: type = exp, src = 1, dst = 3, uid = 1, mac_uid = 4, size = 237 Any help ? Code following: # ==

[ns] olsr and 802_15_4

2010-02-13 Thread Ricardo Sant Ana
Hello all I am working on a olser under 802_15_4 script and I got a problem I was not able to solve. I always get the following message after trying to run the script: [wpan/p802_15_4phy.cc::PD_DATA_request][14.338500](node 2) Invalid PSDU/MPDU length: type = OLSR, src = 2, dst = -1, uid =

[ns] Nodes with different OLSR routing protocolol configuration

2010-02-19 Thread Ricardo Sant Ana
Hello All I am trying to create 7 mobile nodes using OLSR routing protocol. But what I need is the first 6 using tc_ival 5 and last one tc_iavl 1 (I would like the last node to generate much more TC packages). so, here is the relevant code from my simulation: but it seems its not working. So