Re: [ns] Random disconnections amongst wireless nodes

2006-09-11 Thread Hai Nam
andomly break the > connection between a node and all its neighbours.Additionally the duration > of the connection is random. > The break needs to occur at the physical layer. Tips on how to accomplish > these tasks will be appreciated > > P Mudali > -- Hai-Nam NGUYEN Elève 3A SLR, E

Re: [ns] How to save xgraph plots :-??

2006-08-21 Thread Hai Nam
> from gnuplot - please specify > > Aritra > Hi, You can post-process your trace file with awk, then put your data in to a CSV file, then with online 1-2 lines you can plot it with gnuplot (specified commands could be found at gnuplot site, there're many many examples). Regard

Re: [ns] olsr implementation

2006-08-15 Thread Hai Nam
Yes check it at http://masimum.dif.um.es/?Software:UM-OLSR On 8/15/06, Ramzi Tka <[EMAIL PROTECTED]> wrote: > > hi evrybody, > is there any available OLSR implentation under ns-2.? if yes, how could i > get it ? > thanks a lot > ramzi tka > -- Hai-Nam NGUYEN Elève

[ns] calculate hop-count of the shortest path

2006-07-31 Thread Hai Nam
In Mobile Computing and Networking, pages 85–97, 1998. -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie 35576 Cesson Sévigné Site web: http://www.jcisio.com

[ns] topology analyser

2006-07-27 Thread Hai Nam
d the number of hops used in the ideal (shortest) route ? Thanks in advance, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie 35576 Cesson Sévigné Site web: http://www.jcisio.com

Re: [ns] Help with wireless simulation

2006-07-19 Thread Hai Nam
oes anyone know if the extension PHENOM is > available for ns2.29 version ? > I know nothing about NRLns2extender, but by googling "nrlns2Extender phenom" I have only two results. The cvs of phenom dated 2 months, so I assume a nightly built of nrlns2extender should work wit

[ns] check if two nodes is connected

2006-07-18 Thread Hai Nam
other words, during a simulation of a mobility scenario, how can we calculate the time that two given nodes are connected ? I know from the scenario file, we can deduce node positions at any time, then check the connectivity. But I don't like reinvent the wheel... Thanks in advance, -- Ha

Re: [ns] want information about assert() function

2006-07-10 Thread Hai Nam
ction take a boolean as the argument. It returns TRUE if this value is TRUE, it ends the program and returns FALSE if this value is FALSE. assert() is usually used for debugging purpose. I think we can turn off this function in a "released version" but I don't know how :-( Regards, --

Re: [ns] Need help to implement Timer feature

2006-07-09 Thread Hai Nam
On 7/8/06, Shafiq Hashmi <[EMAIL PROTECTED]> wrote: > Dear Hai Nam, > > Is there anyway to implement the same timer feature implemented in OTcl > instead of C++. > > Thanx Hello Shafiq, I don't know much about OTcl so I'm sorry that I can't help. But in

Re: [ns] Need help to implement Timer feature

2006-07-07 Thread Hai Nam
Timer(this); timer->resched(delay); // == in this example, agent_->send_pkt(); will be called after a delay "delay" Good luck ;-) -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie 35576 Cesson Sévigné Site web: http://www.jcisio.com

Re: [ns] How to obtain the transmission rate of a flow in C++ code?

2006-07-07 Thread Hai Nam
information in a routing > agent, say AODV? In the code of AODV, it seems we know nothing about the > rate. > Hello, Me too, I think the routing agent knows nothing about it. It forwards simply every packet. We aren't even sure that all packets of a flow will be forwarded by the sam

Re: [ns] Please help me with IDE

2006-07-05 Thread Hai Nam
evel with other folders such as mac, routing, tcp, dsdv...). Then you can follow those steps http://mailman.isi.edu/pipermail/ns-users/2006-June/055973.html Good luck, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie 35576 Cesson Sévigné Site web: http://www.jcisio.com

Re: [ns] changes in c++ code of AODV protocol

2006-06-30 Thread Hai Nam
te an agent inheriting from Agent virtual class. There is void recv(Packet *, Handle *) to process messages... In the Ros & Ruiz 's tutorial about implementing a manet routing protocol[1], there're details about those basic functions. Regards, [1] http://masimum.dif.um.es/?Documents -

Re: [ns] what's the difference between different versions?

2006-06-30 Thread Hai Nam
hange History: http://www.isi.edu/nsnam/ns/CHANGES.html You may download ns 2.30 from CVS. But usually, any version works, I think. Because some patchs are for old versions (some still use 2.1b7 that is released 6 years ago), you can use any version for a short time work. Regards, -- Hai-Nam NGU

[ns] mac_failed in NS2

2006-06-28 Thread Hai Nam
called. But now I don't see dropped packets in trace file. It's very kind if anyone knows what has happened. Thanks, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie, 35576 Cesson Sévigné Site web: http://www.jcisio.com

Re: [ns] R: Turn Nodes on/off

2006-06-23 Thread Hai Nam
ot; of gdb ^_^ packet.h is a file that I've modified ;-) Best regards, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie, 35576 Cesson Sévigné Site web: http://www.jcisio.com

Re: [ns] R: Turn Nodes on/off

2006-06-23 Thread Hai Nam
31 531 packet.h: Aucun fichier ou répertoire de ce type. in packet.h = The same problem that I can't put a breakpoint or step outside the main program. How can you do so that gdb knows where to look for included files ? Regards, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie, 35576 Cesson Sévigné Site web: http://www.jcisio.com

Re: [ns] Wired thru BS to Wireless and vice versa

2006-06-23 Thread Hai Nam
ing is working. > > thanks, This tutorial about "wired cum wireless simulations" might help :-) http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie, 35576 Cesson Sévigné Site web: http://www.jcisio.com

[ns] implementation of source routing

2006-06-22 Thread Hai Nam
n the folder ns2.29/src_rtg but I don't think we can use it with another routing protocol. It performs in fact a hop-by-hop source routing for wired networks. Thanks in advance, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie, 35576 Cesson Sévigné Site web: http://www.jcisio.com

[ns] Wired-cum-Wireless simulations in ns

2006-06-21 Thread Hai Nam
one access points in the network, a packet sent from mobile node A to a fixed node may go through a AP different from AP(A). Are those implementations correct ? Should we have a mechanism of tunneling if we want that a packet from A should go to AP(A) before it reaches the fixed network ? Be

Re: [ns] Fwd: (hybrid ad hoc network) behavior of base stations

2006-06-20 Thread Hai Nam
m-olsr/html/ There's an example. Regards, -- Hai-Nam NGUYEN Elève 3A SLR, ENST Bretagne 2 rue de la Châtaigneraie, 35576 Cesson Sévigné Site web: http://www.jcisio.com

[ns] Fwd: (hybrid ad hoc network) behavior of base stations

2006-06-19 Thread Hai Nam
message below, don't know why the list ask me to resend this mail, I'm not new in this list :-( -- Forwarded message ------ From: Hai Nam <[EMAIL PROTECTED]> Date: Jun 19, 2006 6:31 PM Subject: (hybrid ad hoc network) behavior of base stations To: NS-List Hell

[ns] C++ debug in NS2

2006-06-06 Thread Hai Nam
reallly really don't know how to use. After a modification in code, I run NS by "make clean;make" then I run "ns example.tcl". Thanks in advance, -- Hai-Nam NGUYEN http://www.jcisio.com

[ns] Error: Skipping duplicate node nnn definition

2006-06-02 Thread Hai Nam
$BS(0) set X_ 0 $BS(0) set Y_ 750 #$ns_ initial_node_pos $BS(0) 30 $BS(1) set X_ 600 $BS(1) set Y_ 900 #$ns_ initial_node_pos $BS(1) 30 = END quote = And in both cases, two wired nodes and two base stations are put at the same position! Any suggestions ? Thanks in advance

Re: [ns] An editor to modify NS-2 C++ files ?

2006-06-02 Thread Hai Nam
he New Project Wizard, and specify the "root folder" as a non-default location of the new project. Typically existing projects will have their own makefiles, so you should create a new Standard Make C/C++ project. For more information see Creating a project and Working with C/C++ project f

[ns] An editor to modify NS-2 C++ files ?

2006-06-01 Thread Hai Nam
a keyword/function name... Thanks in advance -- Hai-Nam NGUYEN http://www.jcisio.com

[ns] nsaddr_t type and

2006-05-31 Thread Hai Nam
+ ? Because int and int32_t aren't always the same. 2/ In Ros & Ruiz 's tutorial, we can dynamically change BS of a node. Have we to change also the address of a node, as we're using hieraddr ? Thanks in advance, -- Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] <<< ! " NS2 - Forum" Suggestion (GENERAL!) >>>

2006-05-23 Thread Hai Nam
f mailing lists is more comfortable than visiting a dozen of forums. So, I like mailing list :-) Best regards, -- Hai-Nam NGUYEN http://www.jcisio.com

[ns] implementation of a routing protocol for hybrid ad hoc network

2006-05-23 Thread Hai Nam
orward thoses messages for all others APs (broadcasting by component, to economise energy of MN) and forward also HELLO messages (sic). In other words, I want all APs to behave as if they are at the same place. May I have to modify the wired routing protocol ? Best regards, -- Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] the neighbors in networks simulator,no one can help me?

2006-05-05 Thread Hai Nam
inone,nothing change,no probleme when i compile my tcl file!! that s mean that aodv package don't use the Isneighbor fonction help me please,really i can't see solution,where can i find the detection of neighbor in aodv code.please help Thanks lot, -- Chào thân ái, With kind regards, Cordialement, Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] the neighbors in networks simulator,no one can help me?

2006-05-04 Thread Hai Nam
ile the > ns-allinone,nothing change,no probleme when i compile my tcl file!! > that s mean that aodv package don't use the Isneighbor fonction > help me please,really i can't see solution,where can i find the detection > of neighbor in aodv code.please help > Thanks lot, > -- Chào thân ái, With kind regards, Cordialement, Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] Usual Mistake

2006-05-04 Thread Hai Nam
I think it's just because the results are rounded to integers after each step. Replace set x 5 by set x 5.0 will return the correct answer. With kind regards, -- Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] Simulating node failures

2006-05-03 Thread Hai Nam
ot pretty) way to simulate a failed mobile node is to move it far away from the others. -- Chào thân ái, With kind regards, Cordialement, Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] OLSR UNDER ns2.29????

2006-04-30 Thread Hai Nam
I get > this errors > ... > Hello, That version works fine with NS-2.29, try this example http://masimum.dif.um.es/um-olsr/olsr_example.tcl Don't forget to recompile/reinstall NS after the patch. Regards, -- Hai-Nam NGUYEN http://www.jcisio.com

Re: [ns] simulate an access point

2006-04-24 Thread Hai Nam
ction for the ad-hoc mobile network). I don't care the routing in the wired domain, but certainly the wired-cum-wireless example is what I need. Also thanks for Inanc to give me this hint a few days ago. With kind regards, -- Hai-Nam NGUYEN http://www.jcisio.com

[ns] simulate an access point

2006-04-20 Thread Hai Nam
nk, how to make a MN become an AP ? Thanks in advance. -- Hai-Nam http://www.jcisio.com