Re: [ns] How to add new C++ classes to NS-2 2.31?
OK! how to create Ricean.o? I have told u before that when I compile it with gcc many errors appears that said many required classes (included in Ricean.h) are not found in mobile directory, how can I do that under windows (using cygwin)? Thanx. Ghada Ye YiBin wrote: > > > You may need this page: > http://www.isi.edu/nsnam/ns/tutorial/nsnew.html > > Is that Ricean.h and Ricean.cc? > Try to add "mobile/Ricean.o" around Line235 on Makefile in ns directory. > Paste your error messages here if it doesn't work. > > On 9/11/07, Ghada Al-Mashaqbeh <[EMAIL PROTECTED]> wrote: >> >> >> Dear all, >> >> I am new to NS-2, and frankly I am still in the learning phase to use it >> in >> my Master Thesis, I am trying to include the .cc and .h classes of the >> Ricean propagation model within the simulator. I am working under windows >> (using Cygwin), and I have no .o file of the classes, I have put the >> classes >> in the mobile directory in ns, but when I am trying to compile them, a >> list >> of errors appears since many of the included classes (such as >> wireless_phy.h) is not exist in mobile directory. Then how can I include >> this class with ns-2? I have tried ./install (reinstall ns-2), also I >> have >> tried to run configure then make, but nothing work, and still there is no >> .o >> file generated nor NS-2 has added the new class. >> >> Please can anybody help me and give me simple instruction to that under >> windows ASAP? >> >> Thanx >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12597152 >> Sent from the ns-users mailing list archive at Nabble.com. >> >> > > > -- > Regards > -Ye > > > -- View this message in context: http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12607902 Sent from the ns-users mailing list archive at Nabble.com.
[ns] Helpp please, how to assign bandwidth per flow
Help how to assign bandwidth per flow? |--| 1-> |--| |--| |A |-- 2Mb -| B|-|C | |--|-2> |--| |--| i have this kind of topology and i want to assign only 30% of the bandwidth to flow 1 i know i can confgure flow 2 in such a way that it will be more aggresive but is there a nicer way? but is there a nicer way? _ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGLM_SeptWLtagline
[ns] "How to declare and use global variables in NS-2"
Hello ns-users, I want some variables to be shared between WirelessPhy class and AODV class for which I need to declare global variables. can someone please help me in this regard Thanks in advance Regards Mallapur Veerayya M.Tech(CE) Reg No. 06307416 IIT BOMBAY
Re: [ns] How to add new C++ classes to NS-2 2.31?
You may need this page: http://www.isi.edu/nsnam/ns/tutorial/nsnew.html Is that Ricean.h and Ricean.cc? Try to add "mobile/Ricean.o" around Line235 on Makefile in ns directory. Paste your error messages here if it doesn't work. On 9/11/07, Ghada Al-Mashaqbeh <[EMAIL PROTECTED]> wrote: > > > Dear all, > > I am new to NS-2, and frankly I am still in the learning phase to use it in > my Master Thesis, I am trying to include the .cc and .h classes of the > Ricean propagation model within the simulator. I am working under windows > (using Cygwin), and I have no .o file of the classes, I have put the classes > in the mobile directory in ns, but when I am trying to compile them, a list > of errors appears since many of the included classes (such as > wireless_phy.h) is not exist in mobile directory. Then how can I include > this class with ns-2? I have tried ./install (reinstall ns-2), also I have > tried to run configure then make, but nothing work, and still there is no .o > file generated nor NS-2 has added the new class. > > Please can anybody help me and give me simple instruction to that under > windows ASAP? > > Thanx > > -- > View this message in context: > http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12597152 > Sent from the ns-users mailing list archive at Nabble.com. > > -- Regards -Ye
[ns] How to add new C++ classes to NS-2 2.31?
Dear all, I am new to NS-2, and frankly I am still in the learning phase to use it in my Master Thesis, I am trying to include the .cc and .h classes of the Ricean propagation model within the simulator. I am working under windows (using Cygwin), and I have no .o file of the classes, I have put the classes in the mobile directory in ns, but when I am trying to compile them, a list of errors appears since many of the included classes (such as wireless_phy.h) is not exist in mobile directory. Then how can I include this class with ns-2? I have tried ./install (reinstall ns-2), also I have tried to run configure then make, but nothing work, and still there is no .o file generated nor NS-2 has added the new class. Please can anybody help me and give me simple instruction to that under windows ASAP? Thanx -- View this message in context: http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12597152 Sent from the ns-users mailing list archive at Nabble.com.
[ns] How to add new C++ classes to NS-2 2.31?
Dear all, I am new to NS-2, and frankly I am still in the learning phase to use it in my Master Thesis, I am trying to include the .cc and .h classes of the Ricean propagation model within the simulator. I am working under windows (using Cygwin), and I have no .o file of the classes, I have put the classes in the mobile directory in ns, but when I am trying to compile them, a list of errors appears since many of the included classes (such as wireless_phy.h) is not exist in mobile directory. Then how can I include this class with ns-2? I have tried ./install (reinstall ns-2), also I have tried to run configure then make, but nothing work, and still there is no .o file generated nor NS-2 has added the new class. Please can anybody help me and give me simple instruction to that under windows ASAP? Thanx - Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
Re: [ns] installation problem
try this $ cd $ vi .bashrc now in the end of the .bashrc file add following lines PATH=$PATH:/usr/src/ns-allinone-2.29/bin:/usr/src/ns-allinone-2.29 /tcl8.4.11/unix:/usr/src/ns-allinone-2.29/tk8.4.11/unix export PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/src/ns-allinone-2.29/otcl-1.11 export LD_LIBRARY_PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/src/ns-allinone-2.29/lib export LD_LIBRARY_PATH TCL_LIBRARY=$TCL_LIBRARY:/usr/src/ns-allinone-2.29/tcl8.4.11/library export TCL_LIBRARY change the respective ns , tcl and tk versions. now logout and relogin . On 9/10/07, sparsh attre <[EMAIL PROTECTED]> wrote: > > > hi > i m facing a little problen in the installation of ns2.31 on fedora 5 > it is installing properly but when i validate it thn it takes approx 45 > -50 > mins and says that all tests have been passed > but whn i type ns on the command prompt it reflects an error saying > bash: ns command not found > can u get me out of this particulr problem? > -- * * * * * ** * * * * * * * * * * * * * * * * ** * ** * * * * * ** * ** * * * * * * * ** * * * * * ** * * * * * * * * * * ** * * * * * * * ** * * * * * * * * * ** * * * * * * * * * * Rupesh Kumar M.Tech(CSE)
[ns] installation problem
hi i m facing a little problen in the installation of ns2.31 on fedora 5 it is installing properly but when i validate it thn it takes approx 45 -50 mins and says that all tests have been passed but whn i type ns on the command prompt it reflects an error saying bash: ns command not found can u get me out of this particulr problem?
Re: [ns] installation problem
hi, I think you have to add ns2 environment variables at you .bashrc. These variables are noted in the end of install procedure. 2007/9/10, sparsh attre <[EMAIL PROTECTED]>: > > hi > i m facing a little problen in the installation of ns2.31 on fedora 5 > it is installing properly but when i validate it thn it takes approx 45 -50 > mins and says that all tests have been passed > but whn i type ns on the command prompt it reflects an error saying > bash: ns command not found > can u get me out of this particulr problem? >
Re: [ns] installation problem
http://www.google.pt/search?source=ig&hl=pt-PT&q=bash%3A+ns+command+not+foun d&meta= > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of sparsh attre > Sent: segunda-feira, 10 de Setembro de 2007 13:25 > To: ns-users@ISI.EDU > Subject: [ns] installation problem > > > hi > i m facing a little problen in the installation of ns2.31 on fedora 5 > it is installing properly but when i validate it thn it takes approx 45 - > 50 > mins and says that all tests have been passed > but whn i type ns on the command prompt it reflects an error saying > bash: ns command not found > can u get me out of this particulr problem?
[ns] !!! 802.15.4 MCPS_DATA_request
Have anybody ever successfully used this primitive?! It's a couple of weeks that I'm trying to transfer my own data packet using that but not a packet leaves my nodes! Please help me _ Crea GRATIS i tuoi biglietti da visita su Windows Live Messenger! http://www.messenger.it/biglietti_da_visita.html
[ns] FW: How is timing taken care of in NS?
Hai, On a high level how is timing taken care of in ns? What do sched(delay) and resched(delay) functions do? If they schedule some thing, how do these functions know What to schedule? -Regards, Mallesh
[ns] Help me with the DCCP module!
Hi all, I'm using the DCCP module contributed by: http://lifc.univ-fcomte.fr/~dedu/ns2/ in ns-2.31. But when I tried the simple script in the attachment, I got the following error: DCCPAckVector::sendAckVector - Failed to add ack vector to option: err -1, size 254 Can anyone help me out? It's really urgent! Thank you. Yaogong _ Windows Live Spaces 中最年轻的成员! http://miaomiaogarden2007.spaces.live.com/
[ns] Wired cum wireless routing.
Hi everyone, I am using the University of Pisa 802.11e HCCA patch by Claudio Cicconeti et al to run some wired cum wireless experiments. I have adapted my TCL script along the guidelines of Marc Greis' wired cum wireless tutorial example. When I run the TCL script I get error message shown below. The simulation scenario is 2 wireless nodes, 1 access point (AP) and 1 wired node. I have looked through the ns2 mailing lists and "Googled" about the problem. From what I gather the nodes are setup correctly, but when the wireless node attempts to send traffic to the wired node the responsible routing protocol (I tried both NOAH and DSDV), fails to find Node_(1). This must be the access point (AP) gateway/ base station. I have tried to look through the C++ and TCL routing files, but can't seem to find a solution. Can anyone please give any helpful tip or suggestion. The error message is pasted below: Fri Sep 7 05:02:08 SAST 2007 trace descr: file3 Fri Sep 7 05:02:08 SAST 2007 topography created num_nodes is set 4 Fri Sep 7 05:02:08 SAST 2007 god created In GOD, we had 4 nodes created Node address is 0.0.0 Wireless node W created Fri Sep 7 05:02:08 SAST 2007 wireless channel created INITIALIZE THE LIST xListHead Node address is 1.0.0 Fri Sep 7 05:02:08 SAST 2007 QAP node 0 created address for qsta number 1 set Node address is 1.0.1 Fri Sep 7 05:02:08 SAST 2007 non-QAP QSTA node 1 created address for qsta number 2 set Node address is 1.0.2 Fri Sep 7 05:02:08 SAST 2007 non-QAP QSTA node 2 created address for qsta number 3 set Node address is 1.0.3 Fri Sep 7 05:02:08 SAST 2007 non-QAP QSTA node 3 created ref_vbr_MaxMSDU off Fri Sep 7 05:02:09 SAST 2007 simulation started can't read "Node_(1)": no such element in array while executing "return $Node_($id)" (procedure "_o4" line 3) (Simulator get-node-by-id line 3) invoked from within "$self get-node-by-id [lindex $L 0]" (procedure "_o4" line 14) (Simulator compute-hier-routes line 14) invoked from within "$self compute-hier-routes " invoked from within "if [Simulator hier-addr?] { $self compute-hier-routes } else { $self compute-flat-routes }" (procedure "_o4" line 2) (Simulator compute-routes line 2) invoked from within "[Simulator instance] compute-routes" (procedure "Agent/rtProto/Static" line 2) (Agent/rtProto/Static init-all line 2) invoked from within "Agent/rtProto/Static init-all" invoked from within "if [info exists rtprotos_] { foreach proto [array names rtprotos_] { eval Agent/rtProto/$proto init-all $rtprotos_($proto) } } else { Agent/rtProto/St..." (procedure "_o197" line 3) (RouteLogic configure line 3) invoked from within "[$self get-routelogic] configure" (procedure "_o4" line 5) (Simulator run line 5) invoked from within "$ns run" (file "examplewcw1.tcl" line 103) Thank you very much. Samuel Senkindu.
[ns] Wireless token ring
Hello, I have to create a wireless token ring with entring and exiting nodes. Someone could give me some tips on how to do it or link me a guide/tutorial? Thanks. _ Scarica GRATIS la versione personalizzata MSN di Internet Explorer 7! http://optimizedie7.msn.com/default.aspx?mkt=it-it
[ns] "sharing information between classes"
Hello NS users, I am implementing a cross layer design in which I need to share some information between WirelessPhy class and AODV class. class WirelessPhy : public Phy { public: WirelessPhy(); ... Implementation of "FunctionA()"; ... ... ... .. } class AODV: public Agent { public: AODV(nsaddr_t id); How to access "FunctionA()" ... .. .. } For my requirement I have included a "FunctionA()" as extra functionality in WirelessPhy class, Now How can I access the functionality ?? Here, I can not create object of WirelessPhy on my own, because An object will be created when the wireless simulation is started and everything falls in step. So now I need a pointer to refer to this WirelessPhy object in AODV class to achive cross layer functionality. Can somebody please give some idea or code to do this. Thanks in advance.. Veerayya