[ns] MONITOR/MEASURE WIRELESS NODE QUEUE SIZE help???
Hi all, can any one guide me how to measure wireless node queue size? queue-monitor doesnt work i think. THANKS
[ns] need EMERGENCY HELP PLZ segmentation fault pbm
don't let the node move to the border limit exactly. You should write, e.g.,: $node($i) setdest [expr $x-0.01] [expr $y-0.01] $vitess or extend your area limit a little bit. Good Luck, Samer - Original Message - From: amira bourayou [EMAIL PROTECTED] To: [EMAIL PROTECTED]; ns-users@ISI.EDU Sent: Tuesday, February 06, 2007 6:49 PM Subject: [ns] need EMERGENCY HELP PLZ segmentation fault pbm hi every one! when i use $node($i) setdest $x $y $vitess i got the following error:*segmentation fault* when i run my script. how to repare this? please help me.it's urgent. best regards.
[ns] need EMERGENCY HELP PLZ segmentation fault pbm
don't let the node move to the border limit exactly. You should write, e.g.,: $node($i) setdest [expr $x-0.01] $y $vitess or extend your area limit a little bit. Good Luck, Samer - Original Message - From: amira bourayou [EMAIL PROTECTED] To: [EMAIL PROTECTED]; ns-users@ISI.EDU Sent: Tuesday, February 06, 2007 6:49 PM Subject: [ns] need EMERGENCY HELP PLZ segmentation fault pbm hi every one! when i use $node($i) setdest $x $y $vitess i got the following error:*segmentation fault* when i run my script. how to repare this? please help me.it's urgent. best regards.
[ns] Hello Interval bug in UM-OLSR implementation
Hi all, we have detected a bug in UM-OLSR 0.8.8. In OLSR, the value NEIGHB_HOLD_TIME is the time that a Hello Message is considered valid. The OLSR rfc fixes this value at 3*HI (Hello Interval). UM-OLSR allows to change the Hello Interval (HI) in the NS2 Tcl script. But, when you change the HI, the value OLSR_NEIGHB_HOLD_TIME is not updated. as you can see in UM-OLSR 0.8.8 code: #define OLSR_REFRESH_INTERVAL 2 /** Holding times **/ /// Neighbor holding time. #define OLSR_NEIGHB_HOLD_TIME 3*OLSR_REFRESH_INTERVAL OLSR_NEIGHB_HOLD_TIME is 3*OLSR_REFRESH_INTERVAL, which is always 2. To correct it you may assign OLSR_REFRESH_INTERVAL to hello_ival Regards, Víctor González.
[ns] problem with setting environment variables
Hello ns-users, Please I am a new user of the ns2 simulator. I just installed it (ns-2.29) without setting the environment variables properly. Anytime I try to run a *.tcl file i get the following message: 'bash: ns: command not found. Please I would appreciate a step by step approach to resolving this problem. N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29* Thanks. Onyekachi.
[ns] MASH Inspector (nstk?) problems
Hi everyone, I just did all the steps nicely explained in the Pedro Estrela's homepage to work with the debugger. All installation steps work well (show no error messages). However, when testing the MASH Inspector as indicated, the MASH window starts trembling at the right border and couple of seconds later nstk hangs. I am using a MacBook Pro/OS X and ns-2.30. I guess is the wish version that the nstk takes by default, which is not using plain X11 windows. So, I don't know how to generate an nstk with the X11 wish version. This is, at least, to see if the tk version is the one with the problem. Any help would be appreciated. -- Andrés Arcia
Re: [ns] MASH Inspector (nstk?) problems
Hi Regarding the nstk, what I've done is to clone the wish.c file from a very recent TCL distribution (I guess the one that came with NS2.29 all in one), and merged it with the NS2 code (tclappinit.cc). a) Can you run the TKcon console? http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG b) find any simple TK command that works in your wish version, and try it in nstk. Does it work? (I've made nstk in a linux PC, running debian distribution and NS_all_in_one 2.29) Other users that have successfully installed nstk, please comment on this topic! Pedro Vale Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrés Emilio Arcia Moret Sent: quarta-feira, 7 de Fevereiro de 2007 17:22 To: ns-users@ISI.EDU Subject: [ns] MASH Inspector (nstk?) problems Hi everyone, I just did all the steps nicely explained in the Pedro Estrela's homepage to work with the debugger. All installation steps work well (show no error messages). However, when testing the MASH Inspector as indicated, the MASH window starts trembling at the right border and couple of seconds later nstk hangs. I am using a MacBook Pro/OS X and ns-2.30. I guess is the wish version that the nstk takes by default, which is not using plain X11 windows. So, I don't know how to generate an nstk with the X11 wish version. This is, at least, to see if the tk version is the one with the problem. Any help would be appreciated. -- Andrés Arcia
Re: [ns] MASH Inspector (nstk?) problems
Hello, So far I have done both tests that you requested and both have executed neatly. Answer for question a): yes it works. http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png Answer for question b): yes it works for both. http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png However, I get this weird behavior for the MASH inspector. The inspector shows up when called but once I try to roll down the scrollbar, the whole thing hangs. Also, from the very beginning the inspector is not showing what it should (at least what you show at: http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one script for testing scrollbars in nstk and worked well. The result is at: http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png Thanks for your help. On 2/7/07, Pedro Vale Estrela [EMAIL PROTECTED] wrote: Hi Regarding the nstk, what I've done is to clone the wish.c file from a very recent TCL distribution (I guess the one that came with NS2.29 all in one), and merged it with the NS2 code (tclappinit.cc). a) Can you run the TKcon console? http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG b) find any simple TK command that works in your wish version, and try it in nstk. Does it work? (I've made nstk in a linux PC, running debian distribution and NS_all_in_one 2.29) Other users that have successfully installed nstk, please comment on this topic! Pedro Vale Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrés Emilio Arcia Moret Sent: quarta-feira, 7 de Fevereiro de 2007 17:22 To: ns-users@ISI.EDU Subject: [ns] MASH Inspector (nstk?) problems Hi everyone, I just did all the steps nicely explained in the Pedro Estrela's homepage to work with the debugger. All installation steps work well (show no error messages). However, when testing the MASH Inspector as indicated, the MASH window starts trembling at the right border and couple of seconds later nstk hangs. I am using a MacBook Pro/OS X and ns-2.30. I guess is the wish version that the nstk takes by default, which is not using plain X11 windows. So, I don't know how to generate an nstk with the X11 wish version. This is, at least, to see if the tk version is the one with the problem. Any help would be appreciated. -- Andrés Arcia -- -- Andrés Arcia
Re: [ns] problem with setting environment variables
There is no shortage of web resources for answering unix questions like how to set environment variables. You will need to add ns to your PATH to get rid of the command not found error. -Scott On 2/7/07, Onyekachi [EMAIL PROTECTED] wrote: Hello ns-users, Please I am a new user of the ns2 simulator. I just installed it (ns-2.29) without setting the environment variables properly. Anytime I try to run a *.tcl file i get the following message: 'bash: ns: command not found. Please I would appreciate a step by step approach to resolving this problem. N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29* Thanks. Onyekachi.
Re: [ns] MASH Inspector (nstk?) problems
This is very strange :) Actually, the screenshot of step 4 is what happens after clicking in one of the classes; This is the first thing that happens, and is exactly like yours http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNG I can only think of you to upgrade your TK version (I'm using 8.4.11, and the guide was made in linux using 8.4.5). You are currently using 8.4.7. test b) showed that nstk is processing the TK commands well. So, this should be a problem of some command contained in Mash inspector itself. The problem is that MashInspector doesnt run in wish because it lacks otcl. (you could try to compile Mash itself, but it will not be easy). Its probably faster to get a linux machine, patch it according to my guide, and try the inspector; after that, you can evaluate the inspector's capabilities for yourself, and decide if it is worth the effort to try to find the bug. Pedro Estrela -Original Message- From: Andrés Emilio Arcia Moret [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 7 de Fevereiro de 2007 21:36 To: [EMAIL PROTECTED] Cc: ns-users@isi.edu Subject: Re: [ns] MASH Inspector (nstk?) problems Hello, So far I have done both tests that you requested and both have executed neatly. Answer for question a): yes it works. http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png Answer for question b): yes it works for both. http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png However, I get this weird behavior for the MASH inspector. The inspector shows up when called but once I try to roll down the scrollbar, the whole thing hangs. Also, from the very beginning the inspector is not showing what it should (at least what you show at: http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one script for testing scrollbars in nstk and worked well. The result is at: http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png Thanks for your help. On 2/7/07, Pedro Vale Estrela [EMAIL PROTECTED] wrote: Hi Regarding the nstk, what I've done is to clone the wish.c file from a very recent TCL distribution (I guess the one that came with NS2.29 all in one), and merged it with the NS2 code (tclappinit.cc ). a) Can you run the TKcon console? http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG b) find any simple TK command that works in your wish version, and try it in nstk. Does it work? (I've made nstk in a linux PC, running debian distribution and NS_all_in_one 2.29) Other users that have successfully installed nstk, please comment on this topic! Pedro Vale Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Andrés Emilio Arcia Moret Sent: quarta-feira, 7 de Fevereiro de 2007 17:22 To: ns-users@ISI.EDU Subject: [ns] MASH Inspector (nstk?) problems Hi everyone, I just did all the steps nicely explained in the Pedro Estrela's homepage to work with the debugger. All installation steps work well (show no error messages). However, when testing the MASH Inspector as indicated, the MASH window starts trembling at the right border and couple of seconds later nstk hangs. I am using a MacBook Pro/OS X and ns-2.30. I guess is the wish version that the nstk takes by default, which is not using plain X11 windows. So, I don't know how to generate an nstk with the X11 wish version. This is, at least, to see if the tk version is the one with the problem. Any help would be appreciated. -- Andrés Arcia -- -- Andrés Arcia
[ns] QUEUE LENGTH OF WIRELESS NODE HELP
Hi, Does any one know how can get the current size of queue length of a wireless node? THANKS
Re: [ns] MASH Inspector (nstk?) problems
Ok, thanks. Just one more thing: My screenshot and yours are not the same, look at the clicked TCP object showing nothing but the object name in the instance box. The link I pointed out was: http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNGhttp://tagus.inesc-id.pt/%7Epestrela/ns2/step4.PNG And you're talking about: http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNGhttp://tagus.inesc-id.pt/%7Epestrela/ns2/step4_very_start.PNG Anyway, I'll manage somehow. Thanks for your time and patience. On 2/7/07, Pedro Vale Estrela [EMAIL PROTECTED] wrote: This is very strange :) Actually, the screenshot of step 4 is what happens after clicking in one of the classes; This is the first thing that happens, and is exactly like yours http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNG I can only think of you to upgrade your TK version (I'm using 8.4.11, and the guide was made in linux using 8.4.5). You are currently using 8.4.7. test b) showed that nstk is processing the TK commands well. So, this should be a problem of some command contained in Mash inspector itself. The problem is that MashInspector doesn't run in wish because it lacks otcl. (you could try to compile Mash itself, but it will not be easy). Its probably faster to get a linux machine, patch it according to my guide, and try the inspector; after that, you can evaluate the inspector's capabilities for yourself, and decide if it is worth the effort to try to find the bug. Pedro Estrela -Original Message- From: Andrés Emilio Arcia Moret [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 7 de Fevereiro de 2007 21:36 To: [EMAIL PROTECTED] Cc: ns-users@isi.edu Subject: Re: [ns] MASH Inspector (nstk?) problems Hello, So far I have done both tests that you requested and both have executed neatly. Answer for question a): yes it works. http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png Answer for question b): yes it works for both. http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png However, I get this weird behavior for the MASH inspector. The inspector shows up when called but once I try to roll down the scrollbar, the whole thing hangs. Also, from the very beginning the inspector is not showing what it should (at least what you show at: http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one script for testing scrollbars in nstk and worked well. The result is at: http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png Thanks for your help. On 2/7/07, Pedro Vale Estrela [EMAIL PROTECTED] wrote: Hi Regarding the nstk, what I've done is to clone the wish.c file from a very recent TCL distribution (I guess the one that came with NS2.29 all in one), and merged it with the NS2 code (tclappinit.cc ). a) Can you run the TKcon console? http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG b) find any simple TK command that works in your wish version, and try it in nstk. Does it work? (I've made nstk in a linux PC, running debian distribution and NS_all_in_one 2.29) Other users that have successfully installed nstk, please comment on this topic! Pedro Vale Estrela -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Andrés Emilio Arcia Moret Sent: quarta-feira, 7 de Fevereiro de 2007 17:22 To: ns-users@ISI.EDU Subject: [ns] MASH Inspector (nstk?) problems Hi everyone, I just did all the steps nicely explained in the Pedro Estrela's homepage to work with the debugger. All installation steps work well (show no error messages). However, when testing the MASH Inspector as indicated, the MASH window starts trembling at the right border and couple of seconds later nstk hangs. I am using a MacBook Pro/OS X and ns-2.30. I guess is the wish version that the nstk takes by default, which is not using plain X11 windows. So, I don't know how to generate an nstk with the X11 wish version. This is, at least, to see if the tk version is the one with the problem. Any help would be appreciated. -- Andrés Arcia -- -- Andrés Arcia -- -- Andrés Arcia
[ns] Setting Environment Variables
Please what is the command to verify that your variables have been properly set from the cygwin bash shell window? Thanks. Onyekachi.
Re: [ns] Sensing range in Sensor network
Perhaps you are using some of the objects in ~ns/sensor-nets. I have not been able to find any documentation on these agents. If anyone else has, I would be interested to hear about it. Thanks, Scott On 2/6/07, Scott Ricketts [EMAIL PROTECTED] wrote: What do you mean by sensing range? While there may be extensions of NS for simulating sensing capabilities of sensor nodes, I do not think there is such a thing in the base package. -Scott On 2/6/07, Amin Irandoost [EMAIL PROTECTED] wrote: Hi all how can i set sensing range in wireless sensor network in NS?? -- Amin Irandoost
Re: [ns] problem with setting environment variables
Hi Onyekachi, You could run the following command to set your environment variable everytime you start your Cygwin. export PATH=$PATH:/ns-allinone-2.29/bin:/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix:/ns-allinone- export LD_LIBRARY_PATH=/ns-allinone-2.29/tcl8.4.11/unix:/ns-allinone-2.29/tk8.4.11/unix/:/ns-allinone-2.29/tk8.4.11/ export TCL_LIBRARY=/ns-allinone-2.29/tcl8.4.11/library Or you could add in the above into your .bashrc file and this will advoid you from setting environment variable everytime you run your Cygwin. regards -kc - Original Message From: Onyekachi [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, February 7, 2007 11:52:29 PM Subject: [ns] problem with setting environment variables Hello ns-users, Please I am a new user of the ns2 simulator. I just installed it (ns-2.29) without setting the environment variables properly. Anytime I try to run a *.tcl file i get the following message: 'bash: ns: command not found. Please I would appreciate a step by step approach to resolving this problem. N/B: My ns directory is *c:/home/ns-allinone-2.29/ns-2.29* Thanks. Onyekachi. It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/