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

2008-07-23 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

[ns] Help regarding "Datarate specification in Vertical Handover"

2008-07-23 Thread rafi ullah
While using a scenario of Vertical Handover between two different technologies i.e UMTS-to-WLAN Handover The datarate specification of the technologies does not work. but it gives the same rate what i am going to transmitt. i.e at UMTS i can receive a datarate of 80 Mbps which is impossible a

[ns] ns-2.28: cannot find -lX11

2008-07-23 Thread Petra
Hello, I am trying to install ns-2.28 on Red Hat Enterprise Linux ES release 4. First, when I run ./configure in otcl-1.9, it gives me this error: checking for X11 header files checking for X11 library archive *checking for XOpenDisplay in -lX11... no can't find X library* so I add the X11 lib

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

2008-07-23 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 body help

[ns] Encryption of AODV packets

2008-07-23 Thread Kubi Kay
Helo NS users, Am faily new at using NS2 and was wondering if i could get some help on encryption. Am trying to add encryption to the AODV routing protocol and would like to find out how i go about doing so. i have looked us the various encryption algorithms and there benefits to my simulation but

[ns] MACA-BI implementation in ns-2.29

2008-07-23 Thread sree ramya kanury
Hi all     I am implementing MACA-BI in ns-2.29.I am trying to make changes to mac-802_11.cc/.h file to change the 4 way handshake into a 3 way handshake.But I have so many run time problems coming up everytime.I have no idea how to fix this.Can you please help me in implementing this.Is there

[ns] error in tcl when passing user data between applications

2008-07-23 Thread sree ramya kanury
Hi    I am trying to pass user data between applications.I have a wired-cum-wireless scenario and am implementing server-client form of transfer of data where server(wired node) requests the data and the client(node) transfers its data.I am setting "multicast on" in the tcl script as I am deali

[ns] MACAW simulation in ns

2008-07-23 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] How to get a mobile node's current position

2008-07-23 Thread Liceven
Hello,everyone: I want to simulate a wireless scenario with two access points and a mobile node. This mobile node moves randomly, the question is how to calculate it's position like(x=?,y=?,z=0) at any given time. It could be better if you could give me an example. Of course, any suggestion