Re: [ns] ns2.26 installation problem
Hi, ns-2.26 will only work with GCC-3.2.3 or lower. Therefore, follow these steps: 1. Install GCC-3.2.3 (mind the 3.2.x) ( http://gcc.gnu.org/ ). To compile and install it is quite easy, simply read the INSTALL/index.html file. Then, make sure the GCC binary is used for the compilation of the ns-allinone package. For instance, set the PATH environment variable to have the directory containing the gcc-3.2.3 binary at the beginning. 2. Download and compile ns-allinone-2.26. 3. Setup your environment to use ns-2. good luck Samer - Original Message - From: Karena Xu [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Tuesday, October 17, 2006 3:48 PM Subject: [ns] ns2.26 installation problem Hi all, Would like to know if any of you encountered this problem before during installation? /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/vector.tcc:384: error: expected unqualified-id before '(' token make: *** [diffusion3/ns/difftimer.0] Error 1 Ns make failed! My installation is almost done until the above problem appears. =( Thank you. Best regards, Karena _ Receive MSN Hotmail alerts over SMS! http://en-asiasms.mobile.msn.com/ac.aspx?cid=1002
[ns] TKN 802.11e model and RTS/CTS
Dear NS-users, I'd like to know if it is possible to add RTS/CTS to the TKN model of 802.11e for NS 2.26. If it is possible, what do I have to do? Thank you very much, Michele
[ns] Diffserv: No. of physical queues
Hi, I want to increase MAX_QUEUES in Diffserv. When I increase the value of the constant MAX_QUEUES in dsred.h, it compiles fine but gives me segmentation fault at run time. Why would this be? Is there anything else I have to change? Thank you very much! Regards, Vindya Amaradasa Research Student Networks Group Department of Electronic Engineering Queen Mary, University of London London E1 4NS Tel : (44) 020 7882 5356 Fax : (44) 020 7882 7997 Email: [EMAIL PROTECTED]
Re: [ns] Xgraph basic question
Check this http://tagus.inesc-id.pt/~pestrela/ns2/contributed_code.html#_Toc147652227 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Loreno Oliveira Sent: terça-feira, 17 de Outubro de 2006 14:40 To: Aco Cc: NS-Users Subject: Re: [ns] Xgraph basic question If using xgraph is not a need, you may try gnuplot for ploting your graphs... Regards, Loreno On 10/17/06, Aco [EMAIL PROTECTED] wrote: I am trying to visualize test results using Xgraph. Everything is OK, but I have problem with something that should not be a problem. I cannot find a way how to output graph I got to JPG file. I can make PS, and OBJ file but I need clear JPG picture witout gray background. Anybody can help ?
[ns] Floating point exception error
hi all ns list, when i run tcl scripts i have this error message Floating point exception! what does it mean what should i do? thanks
Re: [ns] Floating point exception error
This error can be caused by 'division by zero'. Have a look through your code for any possible divisions by zero (consider worst cases). Hope it helps! Vindya - Original Message - From: Bilel Romdhani [EMAIL PROTECTED] To: Ns-users@ISI.EDU Sent: Wednesday, October 18, 2006 2:48 PM Subject: [ns] Floating point exception error hi all ns list, when i run tcl scripts i have this error message Floating point exception! what does it mean what should i do? thanks
Re: [ns] How do you Debug your Codes?
Check http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Filippos Kolovos Sent: sábado, 14 de Outubro de 2006 8:18 To: ns-users@ISI.EDU Subject: Re: [ns] How do you Debug your Codes? - For TCL-level debugging you can use tcl-debug. You have to download it and install it in addition with ns and also when you ./configure your ns code you have to put it as a parameter, i.e. (--with-tcl-debug). For C-level debugging you can install a graphical debugger such as DDD (frontend for GNUDB), but at first you have to configure the compilation of ns to be prepared for debugging. You can do this by giving the parameter --enable-debug while you are configuring ns. In total, if you want both TCL-level and C-level debugging you must put both parameters when you execute ./configure and also install separately both debuggers (tcl-debug and ddd). Regards, -Fk -- Forwarded message -- From: hamid reza [EMAIL PROTECTED] To: ns-users@ISI.EDU Date: Fri, 13 Oct 2006 06:31:06 -0700 (PDT) Subject: [ns] How do you Debug your Codes? Dear All, How do you Debug your codes? What is the best tool for this issue? Best Regards Hamid reza -- Filippos N Kolovos Software Systems Analyst Engineer M.Sc. (Eng.) in Data Communications Automation Networking Department University of Macedonia Library Egnatia 156, P.O.Box 1591 540 06 Thessaloniki, Greece E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] -
[ns] extra qualification Vector error
I'm trying to compile ns-2.1b9a and the system return this: ./routing/route.h:46:1: warning: INFINITY redefined In file included from /usr/include/math.h:40, from ./trace/trace.h:42, from src_rtg/sragent.h:46, from src_rtg/classifier-sr.h:43, from src_rtg/classifier-sr.cc:40: /usr/include/bits/inf.h:27:1: warning: this is the location of the previous definition ./mobile/god.h:87: error: extra qualification ‘Vector::’ on member ‘operator=’ ./mobile/god.h:93: error: extra qualification ‘Vector::’ on member ‘operator+=’ ./mobile/god.h:99: error: extra qualification ‘Vector::’ on member ‘operator==’ ./mobile/god.h:102: error: extra qualification ‘Vector::’ on member ‘operator!=’ make: *** [src_rtg/classifier-sr.o] Error 1 I change vector to Vector (found at google) but the problem persist. Bye! -- Jose Miguel Herrera M. counter.li.org: #246070 Unidad de Servicios de Computacion e Internet Fono: +56 32 2654367 Departamento de Informatica, UTFSM Valparaiso, Chile
[ns] R: RSSI measurement
Loreno, in common/packet-stamp.h you can find the PacketStamp structure, which is included in any ns packet. It stores information on the transmitted and received power. You can access this information with, for example, p-txInfo_.RxPr, which returns the received power of packet p. Note that the original implementation of ns does not include interference: if you want to add this feature, you can install the patch for wireless support you can find at http://www.reti.polito. it/fiore bye, Marco Messaggio originale Da: [EMAIL PROTECTED] Data: 18-ott-2006 12.38 AM A: [EMAIL PROTECTED] EDU Ogg: [ns] RSSI measurement Hi All, does anybody know how do I measure the RSSI between two wireless nodes?? As far as I have seen in the archive, this question has been posted during years in this list without any reply. I will be extremelly thankful if somebody had some hint about it. Regards, Loreno
Re: [ns] RSSI measurement
Hi Svilen, thanks for the answer! I will take a look at the method you said. Regarding your question, yes. I'm working on a handoff protocol for Bluetooth. An essential point of the protocol is the constant RSSI measurement between base stations and mobile devices. I am working with UCBT, which seems that does not implement RSSI measurement between nodes. Now I am taking a better look at NS and how UCBT is integrated to it in order to derive some way of making the RSSI measurements... Do you have some experience with modeling of localization experiments?? I would be great if I could exchange some ideas with someone with some expertise on this field... Regards, Loreno On 10/18/06, Svilen Ivanov [EMAIL PROTECTED] wrote: Hi, I do not know a tcl command about this. But you might want to look at WirelessPhy::sendUp, the received power Pr (in watt) is computed there regardless of the propagation model in use. Do you want to use RSSI for localization experiments in ns-2? Greetings, Svilen Loreno Oliveira wrote: Hi All, does anybody know how do I measure the RSSI between two wireless nodes?? As far as I have seen in the archive, this question has been posted during years in this list without any reply. I will be extremelly thankful if somebody had some hint about it. Regards, Loreno -- +--+ | M.Sc. Svilen Ivanov | | Institute for Distributed Systems (IVS) | | Otto-von-Guericke University - Magdeburg | | http://ivs.cs.uni-magdeburg.de/~svilen/ | +--+
Re: [ns] R: RSSI measurement
Hi Marco, very thanks to your reply! I will take a look at the structure you said and doing some tests. Based in what you said, probably this solves my problem. A priori I am only considering simpler scenarios where I do not need to deal with interferences. My actual concern is only finding a way of estimating the distance between two bluetooth devices, and I thought RSSI was the straingforward solution... Regards, Loreno On 10/18/06, Marco Fiore [EMAIL PROTECTED] wrote: Loreno, in common/packet-stamp.h you can find the PacketStamp structure, which is included in any ns packet. It stores information on the transmitted and received power. You can access this information with, for example, p-txInfo_.RxPr, which returns the received power of packet p. Note that the original implementation of ns does not include interference: if you want to add this feature, you can install the patch for wireless support you can find at http://www.reti.polito. it/fiore bye, Marco Messaggio originale Da: [EMAIL PROTECTED] Data: 18-ott-2006 12.38 AM A: [EMAIL PROTECTED] EDU Ogg: [ns] RSSI measurement Hi All, does anybody know how do I measure the RSSI between two wireless nodes?? As far as I have seen in the archive, this question has been posted during years in this list without any reply. I will be extremelly thankful if somebody had some hint about it. Regards, Loreno
[ns] Need tunctl command for cygwin
Hi, We installed ns-2 emulation (nse) both over Linux and (by cygwin) Windows machines. NSE uses tunctl command for tun / tap interfaces to manage the network. We have successfully installed the tunctl command source code for Linux under sbin directory, but we could not find any tunctl command source code valid for cygwin. Compilation error for the same source code in cygwin. Waiting your answers as soon as possible. Thanks all.
[ns] anybody having 802.11 PSM changed file
Hai friends, As i am new to NS2, anybody plz help me as soon as possible.I want the complete 802.11 PSM file with power conservation changed fileThanking you
[ns] does ns2 simulate spanning tree and vlan?
I need to simulate spanning tree and unable find information of how to do it. Does anyone know? Also, vlan simulation? -ib
[ns] Is ns2.1b9a contains IEEE 802.11 PSM
-- Forwarded message -- From: alfred melvin [EMAIL PROTECTED] Date: Thu, 19 Oct 2006 01:20:23 +0530 Subject: Is ns2.1b9a contains IEEE 802.11 PSM To: ns-users@isi.edu Hai to all, I am new to NS2, plz reply to my question in the Subject