Re: [ns] segmentation fault in mpeg4_traffic

2006-08-30 Thread Vinod Kumar
Dear Renata and Daniele, I did as directed by Daniele. The file in my directory video_model were saved as *.txt files by mozilla. Whereas, the mpeg4_traffic.cc was looking for just file '*' without any extension. So I renamed the file. And now the program compiles. Thanks and regards,

[ns] why does the code below doesn't work as expected

2006-08-30 Thread Sandeep
Hi In the below code whatever Mac/802_11 parameters I set are not taking effect. For instance eventhough I set _dataRate 11mbps, throughput is coming around 400kbps, which is the default rate for udp. If I change _dataRate, basicRate_ or PLCPDataRate_ , there is absolutely no effect.

[ns] idle/sleep state

2006-08-30 Thread Alex Triffitt
I am wanting to put a node into a idle/sleeping state where it will not listen for transmitted packets and to all intense and purposes is not participating in the MANET i've created. Could someone possiblely tell me how this is done or point out where I can find out how to do this Kindest

[ns] 'exception' problem

2006-08-30 Thread dandan liu
Hi, everybody, I'm trying to simulate a protocol using ns-2.28. After I entered ns xx.tcl, some problems appeared: 'Floating point exception (core dumped)' What's the problem? How can I solve the problem? Could you please give me some hints? Thanks very much for your kind help!!

[ns] Help changing the diffusion modell

2006-08-30 Thread rose
Hello Everbody! Maybee someone can give me a tip. Where can i find the diffusion modell of NS-2? I want to change the enviroment for a wireless simulations. I try to include obstacles in the Enviroment and need some tips where i can change the modell to include damping through wall or diffusion

Re: [ns] why does the code below doesn't work as expected

2006-08-30 Thread Pedro Vale Estrela
use $udapp set rate_ 1Mb pedro Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Sent: quarta-feira, 30 de Agosto de 2006 7:47 To: ns-users@ISI.EDU Subject: [ns] why does the code below doesn't work as expected Hi In

[ns] [help] accessing node id from drop-tail.cc

2006-08-30 Thread P.Reena
Hello, In a multi hop wireless network, I want to get the queue length at different intermediate nodes, during simulation. I was able to get the variables q_-length and time and write it to a file by adding a few lines in drop-tail.cc code. But it displays the q_-length at all nodes. I tried

Re: [ns] why does the code below doesn't work as expected

2006-08-30 Thread Sandeep
Matthias Kuhnert wrote: Hi, take a closer look at your code ll.74-83 - here you define what packets are sent. And if you take the default udp traffic it is most likely that the observed rate is the default rate for udp... greets, Matthias Original-Nachricht Datum: Wed,

[ns] How to realize many connection to one agent

2006-08-30 Thread Przemysław Krekora
I want to create agent which will have ability to response on the request from any agent. Let's say that below is example (which of course doesn't work). I would like that for example that TCPSink could response on request from tcp1 and tcp2. What should I do ? Example Agent1 comunicate

Re: [ns] How to realize many connection to one agent

2006-08-30 Thread krekora
I don't agree with you if want to connect two request from two diffrent agent ftp to one as below it doesn't work -- set tcp [new Agent/TCP] $tcp set class_ 2 $ns attach-agent $n0 $tcp set sink [new Agent/TCPSink] $ns attach-agent $n3 $sink

[ns] Scheduler: Event UID not valid

2006-08-30 Thread lekkie omotayo
Hi guys, I am working on a Wireless cum Wired network. I noticed that anytime I generate movement file using setdest for my program, when the node is up to 10, it displays the error: Scheduler: Event UID not valid. Why is this?

Re: [ns] why does the code below doesn't work as expected

2006-08-30 Thread Sandeep
Matthias Kuhnert wrote: Have you tried it?! yes I have tried it.

[ns] Voicemail from sachin gajjar (135 seconds)

2006-08-30 Thread shgajjar
sachin gajjar has sent you a voicemail using Google Talk. It's 135 seconds long. To listen to this voicemail, please download the attached MP3.

Re: [ns] change the CBR bit rate

2006-08-30 Thread Pedro Vale Estrela
You just: a) get a pointer to the generator and modify its rate_ variable; b) modify it in TCL as normal, and call this code with tcl.eval(...) as explained here: http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667333 If you find this useful, please contribute to the ns2 wiki

[ns] Application/Traffic/CBR set interval + setpacketsize - undocumented behaviour explained

2006-08-30 Thread Pedro Vale Estrela
Hi all, I've found, in the hard way, that interval_ is a special pseudo-variable of Application/Traffic/CBR and has unexpecded and undocumented behaviour. If the users sets the interval, followed by the packetsize, the specified interval is changed to make the __rate__ constant, which is not

[ns] How to generate ocean node movement for wireless scenarios

2006-08-30 Thread kelvin lim
Hi all, i'm trying to generate a scenario for node movement in an ocean environment. I've got a sets of data that is assocated with time, Longitude, Latitude, velocity ( U (cm/s) V (cm/s)). Can anyone advice me how this can be done? Thanks, Kwang Yong

[ns] nam installation problem

2006-08-30 Thread Pragasen Mudali
I have installed ns-allinone-2.29 on an Ubuntu Linux machine with gcc version 4:4.0.3-1. The installation process completes but when I tried to follow the tutorial, I got error messages. This prompted me to trace throught the installation output. Listed below is the output for the installation of

[ns] how to install ns2 on linux xp

2006-08-30 Thread newbee2707
've tried to install NS2 on linux xp , i was using ns-allinone packages , i've tried different versions but every time i was getting errors in X-graph in starting and then installation termintes with an error in tk files.. i did modify the installaion using installation patch but it was no use..

Re: [ns] How to realize many connection to one agent

2006-08-30 Thread Robertus Probokoesoemo
You have to change the destination address and port from the ip header packet in the sink agent (Agent3) every time before you sent the packet. For example: void TcpSink::ack(Packet* opkt) { Packet* npkt = allocpkt(); // opkt is the old packet that was received // npkt

[ns] Help with AOMDV in ns-2.27

2006-08-30 Thread Chao Wang
Dear all, I got a problem in implementing the AOMDV routing protocol. Hope you guys could lend me a helping hand. Firstly, after we integrated the AOMDV in NS2.27, we ns run.tcl provided by the AOMDV codes for NS2.1b4a, and We have this problem:

[ns] query regardin tdma energy model for ns-2.27

2006-08-30 Thread prabhu annabathula
am currently working on a project ,its abt developing a energy efficient mac protocol,but to implement it i need to work on mac-tdma,i found that only ns-2 supports mac-tdma so i was working on ns-2.27 ,but the problem im facing is that node energy remains same for each node in trace files ,it

Re: [ns] nam installation problem

2006-08-30 Thread Mohadig Rousstia
Hi, You can install nam package itself instead of the allinone file. Perhaps it will fix the problem in make error in nam you showed previously. Regards Mohadig Widha Pragasen Mudali [EMAIL PROTECTED] wrote: I have installed ns-allinone-2.29 on an Ubuntu Linux machine with