[ns] set environmental variable

2008-04-24 Thread FERLIN,Simone
Hi, I am running ns-230 on Suse 9.3 and would like to know where to set the $PATH, $LD_LIBRARY_PATh and the other variables. tks,

[ns] patch for ns-2.29 to fix OSF problem only

2008-04-24 Thread Md. Atiur Rahman Siddique
Hi Gaiz n Galz, For those who want to use ns-2.29 with older gcc/g++ and needs fixing for only the OSF problem ie, the installation exits with the below mentioned messages, can use this shorter patch attached as ns-2.29-OSF.patch. This problem happens due to the new syntax of bash scripting.

[ns] (using ns-2.31) i want to introduce encryption when a node sends data

2008-04-24 Thread Sheraz Nadeem
Hi all there, i want to introduce encryption in the communication between two or more nodes. it is a wireless ad hoc scenario and there is an intruder who want to hack the communication between them and then after introducing the encryption the data becomes secure. so tell me how i can do

[ns] please help me multi-channel multi-interface [ns-2.29]

2008-04-24 Thread ByungJoon Oh
Hello respect NS-users, when I simulated followed this website: http://www.cse.msu.edu/~wangbo1/ns2/ (Bo Wang's website), But, I got the error messages since implemented $ns twoflows-1channel.tcl: invalid command name if{0}{ while executing if{[info exists channel2_]}{ (procedure _o3 line 45)

[ns] (using ns-2.31) i want to introduce encryption when a node sends data

2008-04-24 Thread Sheraz Nadeem
Hi all there, i want to introduce encryption in the communication between two or more nodes. it is a wireless ad hoc scenario and there is an intruder who want to hack the communication between them and then after introducing the encryption the data becomes secure. so tell me how i can do it.

[ns] important: TCP packet size

2008-04-24 Thread cheki imane
Hi all,i have a question which seems stupid but, i'had vreated a simple network (2 nodes) tcp and tcp sink and i'd like to set the packets size =1000 bytes so i have used 'Agent/TCP set packetSize_ 1000' 'Agent/TCPSink set packetSize_ 1000' '$tcp set packetSize_ 1000' '$tcpsink set

[ns] Application Layer Payload Transfer

2008-04-24 Thread Sidney Doria
Hi NS all, We know that NS-2 Transport API to Application layer does not provide a payload transfer. In NS, Transport only tells to the application: hey, a packet with nbytes has arrived. But no data is transfered to the app. I'm using UDP and I need the payload to simulate well my

[ns] important: TCP packet size

2008-04-24 Thread cheki imane
Hi all,i have a question which seems stupid but, i'had vreated a simple network (2 nodes) tcp and tcp sink and i'd like to set the packets size =1000 bytes so i have used 'Agent/TCP set packetSize_ 1000' 'Agent/TCPSink set packetSize_ 1000' '$tcp set packetSize_ 1000' '$tcpsink set

Re: [ns] Not receiving data packets at agent.

2008-04-24 Thread Hagen Paul Pfeifer
* Madhava N | 2008-04-23 07:25:47 [+0530]: I have written a new MANET routing protocol by reading the document of Franscisco and Pedro. I am facing a problem that data packets are not at all received by the routing Agent. That is at recv() function it is only receiving the HELLO (defined by

Re: [ns] simple question about node direction and speed

2008-04-24 Thread Hagen Paul Pfeifer
* brahmiNadia | 2008-04-23 03:22:40 [-0700]: Hi, I need to get mobile nodes direction and the speed in C++ do anyone has an idea about that? I'm not sure if the node in ns2 can know its direction and speed at any time It is up to you to specify the mobility model to pretend the speed,

[ns] Fwd: patch for ns-2.29-allinone to use with gcc-4.x

2008-04-24 Thread Md. Atiur Rahman Siddique
Hi Gaiz n Galz, To my knowledge there are some bugs in ns-allinone-2.29 (available as http://www.isi.edu/nsnam/dist/ns-allinone-2.29.tar.gz). These bugs give rise to a number of errors in multiple phases of installation over gcc-4+ systems. These are due to mismatch in syntax for newer gcc and

[ns] Fwd: patch for ns-2.29 to fix OSF problem only

2008-04-24 Thread Md. Atiur Rahman Siddique
Hi Gaiz n Galz, For those who want to use ns-2.29 with older gcc/g++ and needs fixing for only the OSF problem ie, the installation exits with the below mentioned messages, can use this shorter patch attached as ns-2.29-OSF.patch. This problem happens due to the new syntax of bash scripting.