[ns] How to retrieve the signal strength from a Wi-Fi card?
Hi ns-users, I need to use NS2 to retrieve the signal strength from a Wi-fi card. Can anyone help me to solve my problem? Thanks in advance. Regards, Rafiza.
[ns] Accessing energy_model()
Well, I have instantiated a MobileNode object, and I really need to access its energy_model() functions, however, energy_model() points to NULL. Here is a piece of MyAgent::command() in my C++ code: 119 if (strcasecmp(argv[1], "energy_ammount")==0) { 120 node = (MobileNode*) MobileNode::get_node_by_address(myaddr); 121 node->update_position(); 122 fprintf(stdout,"FINAL coords: %1.1fX%1.1f->%d\n",node->X(),node->Y(),node->energy_model()); 123 return TCL_OK; 124 } And when I call this from my TCL code, the output is this: FINAL coords: 10.0X25.0->0 The right values for X and Y are printed, but node->energy_model() still points to NULL. Must I initialize it somehow? If so, I would be glad if someone could explain how to do it. Thanks, -- Fernando Henrique Gielow - UFPR - NR2 Computer Science graduation student.
[ns] Got error in trace file
Dear All, I got a problem in my trace file and while running awk code to get result an error looks like follows; awk: getresult.awk:58: (FILENAME=trace.tr FNR=243499) fatal: division by zero attempted Could anyone please help me to figure it out. Thank you in advance! Good luck * Rainn
[ns] How a mobile node detects a new AP
Hi everybody! I want to know how a mobile node can detect that it has come to the area covered by a new base station. How can I measure the power of the signal received by the mobile node from an access point, either the old one that currently uses to transmit data, or the new one?? I know the implementation with parameter -MobileIP ON, but I don't want to use it, since I want to simulate multihoming. I want to compare the signal received by access points with some threshold, to trigger my own changes. Any help will be appreciated! Thanks in advance, Spyros ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
[ns] Mean idle time
Hello everyone. I hope someone can give me some idea on how to implement mean idle time in mac-802_11.cc. To explain this in detail, from the node under consideration point of view, hereby referred as station, the medium is sometimes idle and sometimes busy. Given a time window T, we want to determine the amount of time of this window where the medium is idle, i.e. let B be the amount of time where the medium is busy then we may express the idle time ratio as: ITR = (T-B)/T I assume that the suitable place to implement this is in the mac-802_11.cc file, but I'm not sure how to implement this. I guess that we need to implement some kind of sliding window since the time window T must always move forward in time. If you have any suggestions please let me know. Furthermore, if there exist any related papers please let me know. Thank you very much for your help and time. Regards Vinh Pham
[ns] [bug] exec xgraph could not find file or directory
[Bug Report] - Category: Other Package: ns ns2.33 OS:centos Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= - Description: Description of Problem: How to view graph in ns2.33 on centos linux system How Easily Reproducible: (e.g. every time, intermittent, once only, etc.) Steps to Reproduce: (describe the minimal set of steps necessary to trigger the bug) 1. 2. 3. Actual Results: (describe what the application did after performing the above steps) Expected Results: (describe what the application should have done, were the bug not present) Additional Information: (the following infomation is helpful to debug: 1. simulation script, detailed output files, packet trace 2. patch file if you modify some source code 3. a backtrace from gdb if you get a segment fault If they are big files, PLEASE put them in your web space and include the URL here.)
[ns] Coverage of a University campus using WMN with 802.11s
Hello, I'm doing a research on 802.11s. I need to study the performance of a scenario that permits to cover a university campus. MPP (Mesh Portal): composed by 2 part. A interface that communicate with the wired internet and another that uses 802.11s to communicate with MPs. MP (Mesh Point): uses 802.11s. MAP (Mesh Access Point): composed by 2 part. A interface that uses 802.11s to communicate with MPs and another that uses 802.11 to spread access at the network to the stations that uses the classical 802.11. STA (Station): has a 802.11 wi-fi card and access to to internet through the MAP. Stations are in mobility. The scenario is like the one illustrated below: -- -- + + Internet+ + | |wired | ++ ++ ++++ + MPP +802.11s + MP + 802.11s + MAP + 802.11 + STA + + + + ++ ++ + ++ ++ ++++ 802.11s 802.11s802.11s ++ ++ ++++ + MAP +802.11s + MP + 802.11s + MAP + 802.11 + STA + + + + ++ ++ + ++ ++ ++++ 802.11 802.11 ++ ++ + STA + + STA + + + + + ++ ++ I've installed the module for HWMP from here: http://hippo.mipt.ru/hwmp/ Is it for you possible to simulate traffic starting from internet to stations and from station to internet? If yes, do you have an idea to implement this scenario in tcl? Thank you very much -- Diego Dalmasso
[ns] Re : How a mobile node detects a new AP
I have the same problem. I want to detect a new base station, and then to attach the mobile node to the new base station. Many thanks for any help Mazen --- En date de : Mar 3.2.09, Spyros Marinis a écrit : De: Spyros Marinis Objet: [ns] How a mobile node detects a new AP À: ns-users@ISI.EDU Date: Mardi 3 Février 2009, 15h07 Hi everybody! I want to know how a mobile node can detect that it has come to the area covered by a new base station. How can I measure the power of the signal received by the mobile node from an access point, either the old one that currently uses to transmit data, or the new one?? I know the implementation with parameter -MobileIP ON, but I don't want to use it, since I want to simulate multihoming. I want to compare the signal received by access points with some threshold, to trigger my own changes. Any help will be appreciated! Thanks in advance, Spyros ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
[ns] Sensing Capabilit of Sensor Nodes in ns2
Hi all, I am trying to simulate sensor nodes in ns2. I am sure that many people in the community use ns2 for modeling sensor nodes. I just want to ask what they use to simulate the sensing capability of sensor node. How do they set the sensing frequency of a sensor node. Please let me know if any body has done this kind of simulation. Thanks and waiting for some good suggestions! Regards, Arslan
[ns] node joins in NS2
Hi all, At the beginning of my simulation I have a set of nodes, and after some time, I need that other nodes join my network, but I don't know how should I write in tcl file to make a new node join the network. So please help me . Thanks a lot for your help.
Re: [ns] plot offered load vs. throughput
Dear Camilla, I didn't use Tracegraph software in details, but if you want to use it, try fellow installtion steps of the package and try to plot some simple example to become more familiar with the package and to understand how to deal with it(how to extract output, how to justify it and...) before starting with your own application. With Best Wishes, Mohammed AbuHajar From: Camilla Fiorese To: Mohammed Abu Hajar Sent: Tuesday, February 3, 2009 6:53:41 PM Subject: Re: plot offered load vs. throughput Dear Mohammed, Thank you for the advise. I've been looking around for a way to plot a graph that shows load vs throughput (like in the famous paper from Jain, where is shown the knee and the cliff). Did you figure out how to do that? Did you use that suite www.tracegraph.com? Thank you and regards, Camilla On Mon, 2009-02-02 at 22:44 -0800, Mohammed Abu Hajar wrote: > Dear Camilla, > > Yes, there are a tool called Trace graph http://www.tracegraph.com./ > used for plotting, but form my experience I advise you to plot your > graph using Mathlab program, its effiecient and better, All graphs you > had seen in papers are graphed be Matlab software. > > All the Best, > > Mohammed AbuHajar > Deir ElBalah Industrial Secondary School - Department of IT > The General Administration of Colleges for Vocational and Technical > Education > Ministry of Education and Higher Education - Palestine Territory, > Occupied > Tel: +972 599 896972 > > > > > > > > > __ > From: Camilla Fiorese > To: mcs...@yahoo.com > Sent: Monday, February 2, 2009 6:24:19 AM > Subject: plot offered load vs. throughput > > Hello Mohammed, > > did you find out how to plot it in ns2? > I've been looking around, but nobody seems to know. > > Regards, > Camilla > > >
[ns] 802.11 xRetryLimit_ implementations incorrect
The 802.11 implementations of ShortRetryLimit_ and LongRetryLimit_ are incorrect: if you set the ShortRetryLimit_ to 7, you would expect the STA to retry for 7 times (total number of transmissions of 8). However, ns-2.33 STA only retransmits 6 times (total number of transmissions of 7). The same happens to LongRetryLimit_. This doesn't conform to the IEEE 802.11 standard which specifies STA to give up "when SLRC reaches aLongRetryLimit, or when SSRC reaches dot11ShortRetryLimit." In the case of ns-2.33, STA give up before reaching the RetryLimit! The problem is in mac-802_11.cc: Mac802_11::RetransmitRTS() {... if(ssrc_ >= macmib_.getShortRetryLimit()) ...} Mac802_11::RetransmitDATA() {... if(*rcount >= thresh) ...} Corrections: The conditions should be ">" instead of ">=", as follows: Mac802_11::RetransmitRTS() {... if(ssrc_ > macmib_.getShortRetryLimit()) ...} Mac802_11::RetransmitDATA() {... if(*rcount > thresh) ...} Regards, Ren Liu CSIRO
[ns] where and how to set Transmission rate?
Hi! In my wireless ns2 simulation scenario the Transmission rate is 128 kbps/flow. Is there anyone have an idea where and how to set this value? thank you in advance. regards, kasspro
[ns] Packet drop due to Queue Full
Hello Everyone, I am able to calculate the number of drop packets due to queue being full through C++ code. Everything is working fine except that I cannot determine that the number of drop packets are related to which Link (or queue). I have seven links (hence seven queues) and the number of drop packets on every link is different. I am getting different values but cannot identify that to which link this value belongs to. Is there any way by which we can print the Link number (e.g.: Link 2 <-> 3) through C++ code?? Thank you so much Sincerely, Mohit P. Tahiliani