[ns] NS programming
Hi all, I do not know if this is the right list for asking this. Btw, I have been studing NS since a few days. Now I have some idea of what I need to do for creating the scenarios I need. The question is where to start. Does anybody knows some tutorials/manuals/how-tos regarding the extending of NS? The NS by examples brings an example of how to create a new protocol, and it gives an idea of the number of details that need to be dealt with in order to put the things working. Thanks in advance for any help! Loreno
Re: [ns] ns-allinone-2.29 Installation problem in cygwin
Hi there Aravind! As the archive is quite big, maybe you have missed my post where I respond to this question. Try to look at http://mailman.isi.edu/pipermail/ns-users/2006-October.txt. Once downloaded, type CTRL + F for searching a pattern and write Unpack ns. This was my answer to a question quite similar to yours. Besides my answer, there are at least two or three answers in the archive for this same question. It's all about having time and patience for searching 150MB of archives :-) Regards, Loreno On 10/20/06, Aravind Thimmapuram [EMAIL PROTECTED] wrote: am getting following error while installing ns-allinone-2.29 in cygwin. ./configure: line 7901: syntax error near unexpected token `(' ./configure: line 7901: ` case `(ac_space=' '; set | grep ac_space) 21` in' tcl-8.4.11 configuration failed! Exiting. I tried searching the archives of this mailing list.but i didnt find any solution to this problem. Plz help me!!! Aravind.
Re: [ns] Problems running simulations
Not sure if this is a ns/nam issue. Imediatelly before/after getting this message can you open some graphical application, such as xclock?? Loreno On 10/19/06, eoin curran [EMAIL PROTECTED] wrote: I'm a first time user and I couldn't find anything to help me with my problem in the archives so I hope one of you will be able to help me. When trying to run a simulation the following appears; nam: no display name and no $DISPLAY environment variable But I have set all the paths. Hopefully someone will be able to shed some light on the problem. Any help would be gratefully appreciated. Kind regards, Eoin
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
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] 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] NS2 + UCBT
Hi list, sorry for this message. I know this is not the apropriate list for discussing external NS modules, but the UCBT list seems to be no more active, and I hope there are people here with some experience with UCBT. Well, I have reproduced, using NS2 + UCBT, a scenario whose I have performed some tests using real bluetooth devices. The problem is that the behavior presented by UCBT is rather different from the behavior verified empirically. Does anybody can help me with some hint of where, and how, should I modify UCBT for modeling the bluetooth features I need to deal with?? Thanks in advance! Loreno