[ns] problem with NAM

2008-09-30 Thread Davide
i've installed the all-in-one package, but when i try to exec nam i take: nam: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory what can i do to solve the problem? Davide

[ns] TCP ACKs - change route

2008-09-30 Thread Tatiana Polishchuk
I remember I saw related question in the list, but without answer. I'm trying to send the ACKs for the TCP packets using specific routes. In the tcp-sink.cc module there is a function ack() which sends ACK packets using send(P, 0) method. Does anybody know where the function is defined and there

Re: [ns] problem with NAM

2008-09-30 Thread Nick Zando
On Tue, Sep 30, 2008 at 9:18 AM, Davide [EMAIL PROTECTED] wrote: i've installed the all-in-one package, but when i try to exec nam i take: nam: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory what can i do to solve

[ns] modify bitrate of a wired link

2008-09-30 Thread Davide
Hi guys, how to modify during the simulation the bitrate of a wired link according to a file? BR Davide

[ns] LEACH error

2008-09-30 Thread rupcee kaur
Hello NS- users, I am getting the following error in leach.out file in the middle of running the LEACH protocol. ns: _o1082 checkAlive: (_o12 cmd line 1) invoked from within _o12 cmd removeif _o1087 invoked from within catch $self cmd $args ret invoked from within if [catch

Re: [ns] modify bitrate of a wired link

2008-09-30 Thread Francesco Zampognaro
On Tue, 2008-09-30 at 23:54 +0200, Davide wrote: Hi guys, how to modify during the simulation the bitrate of a wired link according to a file? Hi there, you can use these lines to obtain a reference of the link between $N1 and $N2 and change its bitrate: set link_ref [[$ns link $N1 $N2]

[ns] link bandwidth info from the tcp module

2008-09-30 Thread Tatiana Polishchuk
I'm making adjustments to the tcp.cc module. Is that possible to access the link information like bandwidth and delay from this module? Of course I mean the links attached to the node which is connected to the tcp agent../

[ns] range of mobile nodes

2008-09-30 Thread sriram balakrishnan
-- Forwarded message -- From: sriram balakrishnan [EMAIL PROTECTED] Date: Tue, 30 Sep 2008 17:44:04 +0530 Subject: range of mobile nodes To: ns-users@isi.edu hi i would like to know where is the range of the node/mobile node set, for example if i want that i should set the range

[ns] Telnet application problem

2008-09-30 Thread kush_2207
Hello All I am trying to work on simple telnet application. Please help to clarify the problems i have encountered. I simulated basic telnet application with wireless nodes. I want to find the maximum data-rate that can be achieved using 802.11 g. I succeeded in setting the data-rate to 54

Re: [ns] need help with MTE and LEACH

2008-09-30 Thread Youngmin Kim
Hi. Nguyen Lan I think you already solved this problem. But.. just short comment.. 1. In Application/MTE instproc send_now {}, change the following. [$self agent] set dst_ $mac_dst == [$self agent] set dst_addr_ $mac_dst 2. To prevent collisions around BS, change the following in file mte.tcl.