[ns] installation problem about ns-2.1b7a
Dear NS User; I am trying to install ns-2.1b7a on Red Hat Linux2.4. I download ns-allinone-2.1b7a.tar from ftp://ftp.isi.edu/nsnam/. And then I "tar xzvf ns-allinone-2.1b7a.tar.gz" Secondly, I "cd ns-allinone-2.17a" At last, I use the command "./install" But I failed with these messages: In file included from trace.cc:44: tfrc.h:116: friend declaration requires class-key, i.e. `friend class TfrcSendTimer' tfrc.h:117: friend declaration requires class-key, i.e. `friend class TfrcNoFeedbackTimer' make: *** [trace.o] Error 1 Ns make failed! See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems [EMAIL PROTECTED] ns-allinone-2.1b7a]# And I didn't find the answer on http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html . Do you know the answer? Could you help me please? yours, Linda
Re: [ns] How to produce HTTP Packet/Traffic
I have never used it but I think that Packmime-http could be useful for you: http://ns-2.blogspot.com/2007/05/web-traffic-generation-in-ns-2-with.html The original link is not working but you can use the google cache: http://216.239.59.104/search?q=cache:2DxyFk3Ho-YJ:dirt.cs.unc.edu/packmime/+ns2+packmime&hl=en&ct=clnk&cd=1 Hope it helps, -as P.D. For examples check /opt/ns-allinone-2.31/ns-2.31/tcl/ex/packmime/ (or whatever path you have for your install) On 16 Jul 2008, at 19:35, Levent Kurt wrote: > > Hi there, > > I have a project to do in NS I found so many working examples on how > to produce FTP or CBR, but I couldn't found any "simple" way to > produce 5 HTTP packets from one location to another. I'm completely > overloaded with other project at school and unfortunately don't have > time to go too deep in information to produce 5 simple HTTP packets > and show them in NAM :( > > All help will be appreciated, thanks from now. >
[ns] How to produce HTTP Packet/Traffic
Hi there, I have a project to do in NS I found so many working examples on how to produce FTP or CBR, but I couldn't found any "simple" way to produce 5 HTTP packets from one location to another. I'm completely overloaded with other project at school and unfortunately don't have time to go too deep in information to produce 5 simple HTTP packets and show them in NAM :( All help will be appreciated, thanks from now.
[ns] gossip protocol info
sorry for the wrong message. I am tentanto to implement the protocol. I seek help for NS. thank you:blush: -- View this message in context: http://www.nabble.com/gossip-protocol-info-tp18491223p18491223.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] how to get ifqueue length
Dear all, I am simulating a wired-cum-wireless scenario. To get the queue lengths at any mobile node, I can simply call the ifqueue->PriQ->DropTail->length from any place in the routing layer and it works. However when I do the same for the gateway node, I get a Zero Queue length. Can anyone kindly explain how to get the queue length for gaetway nodes a the routing layer. regards.
Re: [ns] Introduce delay in passing packet to Link Layer
hi Although there is a field delay_ in the parent class MAC which simulates the MAC computational overhead, it is not used for any simulation in ll or mac-802.11. So if a MAC layer overhead needs to be simulated, the delay_ field needs to be inserted at 2 places: { simulating the send down overhead in transmit(): replacing downtarget_->recv(p->copy(),this) to s.schedule( sometimer ,p->copy(),delay_): the sometimer is a Handler or TimerHandler whose expiring would call the downtarget_->recv(); { simulating the send up overhead in recvDATA(): replacing uptarget_->recv(p,(Handler*)0) to s.schedule( sometimer, p, delay_); above changes will inserted at mac_802.11. -- Samira Niafar Iran University of Science and Technology -- Sincerely Samira Niafar Iran University of Science and Technology
Re: [ns] how to simulate wireless mesh network in ns-2.31
IEEE 802.16 Wireless Mesh Networks in ns-2 This is a patch to the Network Simulator 2 (ns-2) that allows IEEE 802.16d Wireless Mesh Networks to be simulated. No support to the Point-to-Multipoint mode is included in this patch. Only the Mesh mode. This is the first public release of the this software. Therefore, it is expected that some problems that have not surfaced while we were using the simulator will happen to you. The functions for enabling data transmission at the MAC layer are fully implemented. Access to the data sub-frame is negotiated by means of the three-way handshake specified by the standard, while scheduling is implemented according to the Fair End-to-end Bandwidth Access (FEBA) algorithm described in a technical paper presented at IEEE INFOCOM 2006. Access to the control sub-frame is implemented according to the standard distributed election procedure described in a tutorial manner in this paper. Installation To install the patch, follow the instructions below: 1. download the ns-allinone-2.31 package from SourceForge 2. unpack the file that you just downloaded in your preferred location (let us assume the location is /usr/local). This will create a directory named /usr/local/ns-allinone-2.31 3. download the latest ns2mesh80216 patch (let us assume that you downloaded the file in /tmp) 4. apply the patch, by executing the following command: 'cd /usr/local/ns-allinone-2.31/ns-2.31 ; \ gzip -dc /tmp/ns2mesh80216-2.31-071030.patch.gz | patch -Np1' 5. compile the all-in-one patched ns-2.31, by executing the following command: '/usr/local/ns-allinone-2.31/install' You are now ready to run the Tcl scenario example wimax/tcl/mesh.tcl. You will find many useful pointers on what-to-do-next in the same directory. The ns2mesh80216 patch includes the following modules: * ns2measure (more information available here) * ns2voip (more information available here) --- Mostafa FOUDA Ph.D. Candidate Tohoku University, Sendai, Japan URL: http://www.it.ecei.tohoku.ac.jp/~mfouda/ > Date: Tue, 15 Jul 2008 22:07:01 -0700 > From: [EMAIL PROTECTED] > To: ns-users@ISI.EDU > Subject: [ns] how to simulate wireless mesh network in ns-2.31 > > > > > hi , > to all please tell me how to simulate wireless mesh networks. > thank u... > > > > > _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx
[ns] gossip protocol
I'm a students :confused: I have to implement the GP on NS2, or NS3. someone knows if it is already available, since this is an old protocol?:working: thank very much=) Valeria -- View this message in context: http://www.nabble.com/gossip-protocol-tp18406709p18406709.html Sent from the ns-users mailing list archive at Nabble.com.