[ns] Fwd: Installing NS 2.29.2

2006-04-27 Thread Larry Brigman
send to one, not to the list. -- Forwarded message -- From: Larry Brigman <[EMAIL PROTECTED]> Date: Apr 27, 2006 3:55 PM Subject: Re: [ns] Installing NS 2.29.2 To: Ethan Giordano <[EMAIL PROTECTED]> On 4/27/06, Ethan Giordano <[EMAIL PROTECTED]> wrote: >

[ns] enabling Network/Pcap/Live on Linux

2006-08-09 Thread Larry Brigman
I am working on testing some routing protocols that have been implemented by my team as Linux kernel modules. I would like to use NS to test these modules but when I try to use [new Network/Pcap/Live] I get errors: invalid command name "Network/Pcap/Live" while executing "Network/Pcap/Live c

[ns] Why send me FAQ info everytime I post

2006-09-25 Thread Larry Brigman
I have posted to this list about four times, typically about a month a part. Each and every time I post I get the auto daemon replying back to me that we will only do this for new posters. So what is broken in this that no one is fixing it?

[ns] How to get Agent sending ethernet or IP data?

2006-09-25 Thread Larry Brigman
I have a basic question that seems to not be answered (or I have read past it and did recognized it) in the FAQ or anywhere else for that mater. I am instrumenting some of the Linux kernel and have isolated the modules for traffic such I can connect them to an NS2 queuing object. The problem is

[ns] queuing enque/deque calls

2006-09-29 Thread Larry Brigman
I have built a version of taildrop from the ns-by-example that allows me to check to see how many copies of the class have been created. If I use this class on a duplex-link I get two classes created, as expected. When passing traffic in both directions, only one of the two created classes gets

Re: [ns] How to change the parameters during the simulation to save the time

2006-10-07 Thread Larry Brigman
On 10/7/06, Bilal AbuQadous <[EMAIL PROTECTED]> wrote: > > Dear ns users, > > would you please tell me how I can change the parameters without stopping > the simulation. > > as eg. > > how I can change the delay in the following command without stopping the > simulation and make that automatic unt

[ns] sending packets

2006-10-09 Thread Larry Brigman
I am working on a queuing model. There are times that I need to send more than one packet in the recv function. Because of the way NS models things it looks like after a single send or target->recv(p,h) I cannot send again without an error. Is there a way to write a recv function that is allowe

Re: [ns] sending packets

2006-10-09 Thread Larry Brigman
On 10/9/06, Pedro Vale Estrela <[EMAIL PROTECTED]> wrote: > > Inside my recv() function I do like this without problems: > > > // clone the current packet and change some fields > Packet* new_p = clone_pkt(p); > > hdr_ip*new_iph = hdr_ip::access(new_p); > >

Re: [ns] sending packets

2006-10-09 Thread Larry Brigman
is what u meant). The way to avoid the problem > is > target->recv(p,h) > //Now make a copy of the p that you sent before and then > target->recv(p,h) > > Iam sorry if i misunderstood you. > raghu. > > > >>> "Larry Brigman" <[EMAIL PROTECTE

Re: [ns] Examining Packet Type

2006-10-17 Thread Larry Brigman
On 10/17/06, Dan Dechene <[EMAIL PROTECTED]> wrote: > > Dear ns Users, > > I just had a question with regards to analyzing a packet type. I want to > keep a running counter in my C++ code of how many packets are of a certain > type are passed to Wireless::sendup. But I wanted to know how I can gra

[ns] Recurring Timer Events

2006-10-17 Thread Larry Brigman
I have the following code: class queue; class queueStats : public TimerHandler { public: inline queueStats(Kqueue *q) : TimerHandler() { q_ = q; } private: virtual void expire(Event *); queue* q_; }; void queueStats::expire(Event*) { q_->collectStats(); r

Re: [ns] Help: scheduler going backwards in time...problem

2006-10-17 Thread Larry Brigman
I was having a similar problem. I have a queue that I need to drain but the standard methods of sub-classing the Queue class did not get me all the way there. The other problem was that after I implemented my changes I would always get ns: scheduler going backwards in time which abort the simula

Re: [ns] Validation problem

2006-10-19 Thread Larry Brigman
Check the output file. I found that the validate scripts sometimes use options on commands that have not be verified on the workstation. In my case, I was running it in a limited function machine that didn't have a lot of utilities. I wasn't running bash as sh, didn't have diff,cmp,gzip or perl

[ns] tcl at events processing stopped but simulator still running.

2006-10-26 Thread Larry Brigman
I have a case where I have created a new queuing disipline. If I run a tracing with nam style tracing everything works. If I need to run tracing that does tcl at events that reschedule themself for the next time while the simulator is running, only a few of these get through (after the traffic st

Re: [ns] how to use a timer in network layer ?

2006-10-28 Thread Larry Brigman
On 10/27/06, Bilel Romdhani <[EMAIL PROTECTED]> wrote: > > hi, > i m simulating ad hoc networks with ns2.27 and i want to modify the priority > of each flow every second, my question is : > can i and how use a timer in network layer ? or have you another solution! > If you are doing you own objec

Re: [ns] event management

2006-12-01 Thread Larry Brigman
On 12/1/06, Rajendra Prasad A <[EMAIL PROTECTED]> wrote: > > hi, > as part of my research, i was exploring into the internals of > ns-2 and i struck with how the event handling is done by ns-2. > since ns is single threaded, how the context switch between > events is taken place, i couldn't get it

Re: [ns] help me to finish installing NS correctly

2006-12-06 Thread Larry Brigman
On 12/6/06, amira bourayou <[EMAIL PROTECTED]> wrote: > > *hi all,* > when I did the ./install, I obtained These messages after that ns was > installed successfuly: > > put > /home/you/ns-allinone-2.30/bin : > /home/you/ns-allinone-2.30/tcl8.4.13/unix: > /home/you/ns-allinone-2.30/tk8.4.13/unix

[ns] Fwd: Urgent help required: Unable to build xgraph

2006-12-26 Thread Larry Brigman
On 12/26/06, Debarshi Sanyal <[EMAIL PROTECTED]> wrote: > > > > > Hi, > >Festive greetings to you all! > >I recently installed ns2.29 on Red Hat Linux 9. I am unable to build > > "xgraph" although other components of ns2 are getting built correctly. When > > I run ./configure followed by

Re: [ns] help instalation ns-2.27 problems

2006-12-26 Thread Larry Brigman
It would help if you also provided the distro that you are using. There are sometimes different answers depending on the distro. I do know that cygwin has several different problems that I don't know anything about but others here do. You will need to provide some more details. Also I don't kn

Re: [ns] how to caculate the Packet delay?

2006-12-28 Thread Larry Brigman
On 12/28/06, Zhao <[EMAIL PROTECTED]> wrote: > > Hi, everyone > > I was wondering how to caculate the Packet delay of the FTP/TCP flow and > CBR/UDP. Does anyone has the idea about this? If you know, please share with > me. > Thanks a lot. > Turn on tracing and use the info that is provided in

Re: [ns] ns-2.26 installation on FC4

2007-01-03 Thread Larry Brigman
On 1/3/07, payal sharma <[EMAIL PROTECTED]> wrote: > > hello everyone > i was installing ns-2.26 on FC-4.but i got this error > tclclmappings. > h: In static member function 'static int > TclObjectHelper::dispatch_(void*, > Tcl_Interp*, int, char**)': > tclclmappings. > h:51: error: in

Re: [ns] Error Making Nam

2007-01-04 Thread Larry Brigman
On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I get the following error when trying to make nam from nam-1-20070104 > > Here's the output of uname -a > Linux benchmark.ittc.ku.edu 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST > 2005 x86_64 x86_64 x86_64 GNU/Linux > > A more com

Re: [ns] gcc error in Ns-2.29 with setdest.h

2007-01-15 Thread Larry Brigman
On 1/15/07, Matthew Faulkner <[EMAIL PROTECTED]> wrote: > > Hey all, > > I'm unsure if anyone has answered this question yet but i just came > across the same issue. The problem is within a bunch of files where > you have, for example, the following method signature: > > inline void vector::operat

Re: [ns] install ns-2.1b8-mcast

2007-03-08 Thread Larry Brigman
On 3/8/07, boutoumi bachira <[EMAIL PROTECTED]> wrote: > > Hi, > I am using ns2 to make some research of ad hoc multicast. > I downloaded the ns wireless extension for multicast from the monarchproject > site. I have exactly downloaded the file (ns-2.1b8-mcast.tar.gz). > How would i integerate t

Re: [ns] Problems with ns2 installation in Linux

2007-03-08 Thread Larry Brigman
On 3/8/07, super.ismiti <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to install the ns2.30 simulator in my Linux (Ubuntu 6.10 with > gcc4.1 and g++4.1). > I've already read the messages in the list where is written that I must > change the gcc4.1 and g++4.1 to gcc4.0 and g++4.0. > I've alread

Re: [ns] reinstall ns2 at each PC start!! please help

2007-03-11 Thread Larry Brigman
make a shell script out of it to be sourced when you need to run ns. On 3/11/07, shayma sinan <[EMAIL PROTECTED]> wrote: > > hello everybody, > > I am facing a problem that I have to reinstall ns2 at each starting of my > pc because i got this error when i try to run any .tcl example > > [EM

Re: [ns] NAM installation

2007-03-14 Thread Larry Brigman
On 3/14/07, super.ismiti <[EMAIL PROTECTED]> wrote: > > Hi, > > I didn't understand one thing in my ns installation. > I downloaded the ns-allinone-2.29 and installed it. It's OK. > In the ns directory exist a directory named nam-1.11 that was installed > together the installation of the ns. > But

Re: [ns] which code is executed

2007-03-14 Thread Larry Brigman
On 3/13/07, Shailesh Gamit <[EMAIL PROTECTED]> wrote: > > Hello NS-users > > I want to know about the code for AODV routing protocol. > Can anybody tell me which code is executed when the tcl script for eg. > $ns at 5.0 $cbr "start" > > thanks in advance for the reply > Whatever is assigned

Re: [ns] Extension of ns-2

2007-03-14 Thread Larry Brigman
On 3/14/07, Ana Turk <[EMAIL PROTECTED]> wrote: > > Hi ns users > Please help me I have add new protocole to ns-allinone-2.29 I put the > folder of this protocol to ns-2.29 folder, I change some files of ns and i > have change makefile.in then i run : the folowing command : ./configure, > ma

Re: [ns] Help desperately needed in routing implementation

2007-03-15 Thread Larry Brigman
On 3/15/07, Allaa Hilal <[EMAIL PROTECTED]> wrote: > > Dear all, > I am totally new to ns2, I want to use cedar routing protocol. I searched > for it but its all in vain. I tried to implement it but I am lost. so please > if you can help me and guide to an implemented version or how to implement >

Re: [ns] Problem when install ns 2.26 at Red Hat Linux 9!

2007-03-17 Thread Larry Brigman
On 3/17/07, smthin <[EMAIL PROTECTED]> wrote: > > > dear all, > > I face the problem when i install the ns-allinone-2.26 at red hat linux 9. > it said "tk 8.3.2 make failed! Exiting.." > If anyone know about this,pls let me know how to slove this problem. > Without more context I am guessing

Re: [ns] ns2.27 installation problems!!

2007-03-28 Thread Larry Brigman
On 3/27/07, Litun Mishra <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to install ns2.27 onto my network. But i > get the following error: > > In file included from tclcl.h:48, > from Tcl.cc:47: > tclcl-mappings.h: In static member function `static > int TclObjectHelper::disp

Re: [ns] trace file

2007-06-02 Thread Larry Brigman
Did you write a traffic sim in the tcl? Without the tcl file no one can do anything but guess. On 6/2/07, Girma Kassa <[EMAIL PROTECTED]> wrote: > > Hi all, > > I implemented a new protocol /agent and write a tcl > program just to test it. The node configuration i.e. > the nam is generated on th

Re: [ns] ns command not found in other directory

2007-06-04 Thread Larry Brigman
Add the path where the ns program is located to the PATH variable. On 6/4/07, bleh2u <[EMAIL PROTECTED]> wrote: > > Move/Copy the file "ns" from .../ns-allinone-2.30/ns-2.30/ to > /usr/local/bin > > uknown noname wrote: > > what should i do if i just can only run my ns script if i'm in > > .../n

Re: [ns] Creating an Ethernet Frame

2007-06-07 Thread Larry Brigman
use nse. On 6/7/07, blah2u <[EMAIL PROTECTED]> wrote: > > Does anyone know how I would go about taking an existing packet and > wrapping it in an ethernet frame? > >

[ns] pcap file usage in simulation

2007-06-07 Thread Larry Brigman
I am needing to run a simulation in NS2 that uses pcap or tcpdump trace files as the traffic in the test. I don't get any errors with this but I also don't get any traffic. Do I need to explicitly set routing or is there something else I am missing? My no-error-non-working example #Create a simu

[ns] HFSC queuing

2006-04-18 Thread Larry Brigman
Hello, I am doing research in comparing CBQ to HTB and HFSC. Both HTB and HFSC are not in the existing NS-2 code base. Does anyone have pointers to an implementation of either of these queuing disciplines? Thanks