Re: [ns] Random motion for ad-hoc network

2006-08-07 Thread sara MA
My beleive is whenever I run the ns command for my tcl file, the nam file for that tcl file is overwritten, am I wrong? >From: [EMAIL PROTECTED] >CC: ns-users@ISI.EDU >Subject: Re: [ns] Random motion for ad-hoc network >Date: Tue, 08 Aug 2006 14:14:14 +0930 > > >sara MA wrote: > > hello: > > >

Re: [ns] Random motion for ad-hoc network

2006-08-07 Thread plucs
sara MA wrote: > hello: > > I'm using these codes for creating random motion in an ad-hoc network: > > for {set i 0} {$i < $val(nn) } {incr i} { > set node_($i) [$ns_ node] > $node_($i) random-motion 1 } > > for {set i 0} {$i < $val(nn) } {incr i} { > $n

[ns] Random motion for ad-hoc network

2006-08-07 Thread sara MA
hello: I'm using these codes for creating random motion in an ad-hoc network: for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 1 } for {set i 0} {$i < $val(nn) } {incr i} { $node_($i) start } The di

[ns] [urgent][help] reg;otcl linkage

2006-08-07 Thread Karthikeyan Balraj
hi ns users, I am implementing watchdog and pathrater code over dsr It works fine, but for the past few days i couldnt make linkage b/w my tcl and c++ code I mean, the code compiles in a normal way, when i tried like "ns sometest.tcl" the simulation is working but its simply not invokin

Re: [ns] Copy the packets

2006-08-07 Thread Pedro Fortuna
Check function copy() of the class Packet (/common/packet.h & .cc) Regards, Pedro Fortuna INESC Porto On 8/7/06, Bie New <[EMAIL PROTECTED]> wrote: > > Hello there, > > Does there exit a command that copy the packets it received. > > For example, N0N1, Agent ( on N1 ) copies packets received

[ns] Copy the packets

2006-08-07 Thread Bie New
Hello there, Does there exit a command that copy the packets it received. For example, N0N1, Agent ( on N1 ) copies packets received (from N0) for further use. Thanks in advance. NewbieNs2

Re: [ns] VoIP traffic Simulator (off-topic)

2006-08-07 Thread Pedro Fortuna
Because, in that particular example, the node is just the sink of the VoIP traffic. It does not send packets in the reverse direction. If bidirectional VoIP flows was desired, then you would need an udp0 in one direction, and another in the reverse direction. Something like: set udp0 [new Agent/U

Re: [ns] TKN 802.11e and Wireless Channell Error Model

2006-08-07 Thread Sven Wiethoelter
Hi, usually the Error Model is independent of the MAC itself. If the Error Model determines that a packet is erroneous, it just sets the error flag (struct HDR_CMN) of the packet. This field is evaluated by MAC and the (same) actions are taken in the 11e as well 11 model if the packet is marked

Re: [ns] How to change parameters

2006-08-07 Thread Sven Wiethoelter
Hi, up to now there's no other way for changing the priority parameters instead of editing priority.tcl and running make afterwards. Best regards, Sven On Jul 26, 2006, at 8:51 AM, B. A. Hirantha Sithira Abeysekera wrote: > > Hi all, > I have installed TKN model for 802.11e and I want to kno

Re: [ns] virtual collision handler in 802.11e

2006-08-07 Thread Sven Wiethoelter
On Jul 25, 2006, at 7:05 PM, Aleksander Bai wrote: > > Does anybody know how the virtual collision handler in the TKN > module for > 802.11e is implemented? > > It seems to me they have simply omitted it.. Hi, the collision handler is included inherently in the BackoffTimer implementation.

Re: [ns] problem with traffic and scenerio

2006-08-07 Thread Yehia
Hello Shahan Do you mind sending the code for the nodes setting and the global options? Cheers, Yehia > Message: 3 > Date: Fri, 4 Aug 2006 11:06:14 +0600 > From: "Shahan16" <[EMAIL PROTECTED]> > Subject: [ns] problem with traffic and scenerio > To: ns-users@ISI.EDU > Cc: [EMAIL PROTECTED] > Me

[ns] URGENT - NOAH route path settings

2006-08-07 Thread Utente ns2
Hi everybody, hope somebody can help me with my problem. Let's consider a chain topology: node0node1 node3 How do I have to set the NOAH parameters in each node in order to be able to delivery packets from node0 to node1. Actually, NOAH should support multihop, doesn't it? I tried to loo

Re: [ns] path setting

2006-08-07 Thread plucs
Hi Sanaz, To use your new path settings you need to use the "source" command. I can see that you are using the root user. Why? Create a new user account to build and run ns2, and use sudo for root privileges. P. sanaz helmi wrote: > > --

Re: [ns] A compiling error

2006-08-07 Thread plucs
A law of software engineering from David B, "When in doubt, clean it out". P. Fan Xiaopeng wrote: > > > Dear all, > > I have a question about compiling NS2. > > When I replaced ../pgm/pgm-agent.cc with my own one, I recompi

Re: [ns] How i can calculate transition time of the packet in normal ip and mpls

2006-08-07 Thread plucs
Hi misagh, I'm not aware of any command that will give you the transition time. I suggest that you write a script in a language like perl, python, or sed to parse the trace files and find the information you need. To find out the transition time, subtract the time the packet is sent to the tim

[ns] Topology & Nam screen

2006-08-07 Thread Tariq Alsaifi
Hi All! I have Two questions, please if you can help with any of them do: 1)How can I make some lines with Nam interface screen to show some barriers or rooms? 2)How can I modify The topology files to represent those barriers, so node do not pass the? Regards Tariq . . . . ===

[ns] path setting

2006-08-07 Thread sanaz helmi
Hi there, I tried to set the path as bellow, but it doesn't work.I'll appreciate, if someone can help. þ# .þbashrc þ# þUser specific aliases and functions þ# þSource global definitions if [ -f /etc/bashrc ]; then þ. /þetc/bashrc fi export PATH="$PATH:/root/ns-allinone-2.29/bin:/root

[ns] [urgent][help] reg;otcl linkage

2006-08-07 Thread Karthikeyan Balraj
hi ns users, I am implementing watchdog and pathrater code over dsr It works fine, but for the past few days i couldnt make linkage b/w my tcl and c++ code I mean, the code compiles in a normal way, when i tried like "ns sometest.tcl" the simulation is working but its simply not invokin

[ns] How i can calculate transition time of the packet in normal ip and mpls

2006-08-07 Thread misagh tavanpour
Hi there I want to know is there a command in ns which return the transition time of the arrival packet to sink ? and if there isn't how i can calculate it? (i have some ideas to use c++ and proccess the output file of trace-all command but it will take long time to do the proccess.and a