Re: [ns] How to get a mobile node's current position

2008-07-24 Thread Liceven
Hi, today I find we could use tcl script to get a node's position. codes like this: set n1 [$ns node] $ns set X_ 15.0 $ns set Y_ 15.0 $ns set Z_ 0.0 ... set x_pos [$n1 set X_] ... 'set x_pos [$n1 set X_]' this script could be used to get the x value of n1's starting

Re: [ns] ns-2.28: cannot find -lX11

2008-07-24 Thread Maksymilian Wardziński
Hello, Try to do this: yum install libX11-devel yum install xorg-x11-proto-devel yum install libXt-devel and for nam You need this: yum install libXmu-devel Cheers, Maksymilian Wardzinski

[ns] Fw: MACAW simulation in ns

2008-07-24 Thread reza mohammadi
hello i am beginner user in NS2. i want to simulate MACAW protocol in ns but i tangled in complexity of ns2 can you help me to start simulation of MACAW in ns? do you have any source code about MACAW? Thanks best regards

[ns] there are many different between Mac/802_11 and article of IEEE802_11

2008-07-24 Thread reza mohammadi
hello i study the  article IEEE 802.11 Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications and compare the frames and structure of MAC protocol with MAC/802_11 in NS2 but there are many different between article and simulated Mac protocol in NS2 can any

[ns] set val(sc)

2008-07-24 Thread ghandour
I was able to find the meaning of the following instruction set val(sc) ; -- View this message in context: http://www.nabble.com/set-val%28sc%29-tp18631177p18631177.html Sent from the ns-users mailing list archive at Nabble.com.

[ns] Help please

2008-07-24 Thread Mohamed Hajjjjjj
Hi ns-users, Can any one how I use tow antennas in one node and where I found patch for 802.11n. Thank you very much _ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

[ns] set val(sc)

2008-07-24 Thread ghandour
Sorry for the typos... I was not able to find the meaning of the following instruction set val(sc) ; Can you help plz -- View this message in context: http://www.nabble.com/set-val%28sc%29-tp18631199p18631199.html Sent from the ns-users mailing list archive at Nabble.com.

Re: [ns] duplex-link function

2008-07-24 Thread HaiderSa
yes u can search for duplex-link function and try to modify that .it ll help u HaiderSa wrote: hi ns users i want to implement the IEEE 802.3 protocol in between nodes connected in r= ing topology. and want to use my mac802-3.cc between nieghbouring nodes.how= to=A0modify duplex-link

Re: [ns] Encryption of AODV packets

2008-07-24 Thread Jalaluddin Qureshi
Dear Deepazed, Try this link: sce.uhcl.edu/transa/Sourcecode/NS-2_Security_Node_Document.doc The title of this project is: Encryption/Decryption functions for NS-2 Which i feel is relevant to your problem. Kind Regards Jalaluddin Qureshi Research Student @ CeMNet, SCE. Nanyang

Re: [ns] How to get a mobile node's current position

2008-07-24 Thread Jalaluddin Qureshi
Dear Liceven, While I cant give you step-by-step instruction on how to solve your problem. But here is the idea. If you were to go to ns-allinone2.xx/ns2.xx/mobile/antenna.cc file you will see the function: Antenna::Antenna() { X_ = 0; Y_= 0; Z_= 0; bind(X_, X_); bind(Y_, Y_);

[ns] tclcl build error for ns-2.27

2008-07-24 Thread ntust
Hi, After I installed ns-allinone-2.27, then I see the following error message. tclcl-mappings.h:51: error:incomplete type `Tcl' used in nested name specifier tclcl-mappings.h:52: error:invalid use of undefined type 「struct Tcl」 tclcl-mappings.h:41: error:forward declaration of 「struct

[ns] Simple question about wireless channel

2008-07-24 Thread Hector Agustin Cozzetti
Hello, I'm a new user of NS2 simulator. I have a simple question: i would like to know if possible to set the various frequency of wireless (physical layer) in NS2, to be more precise if it's possibile to use the different channels (5.2GHZ, 5.9GHZ) and tecnology (802.11a,802.11g...) in the

[ns] MACAW simulation in ns

2008-07-24 Thread reza mohammadi
hello i am beginner user in NS2. i want to simulate MACAW protocol in ns but i tangled in complexity of ns2 can you help me to start simulation of MACAW in ns? do you have any source code about MACAW? Thanks best regards