[ns] ns2.35 and Ubuntu 64 bit
Dear all, Is it true that ns2 is designed only for 32 bit systems and will not work correctly under 64 bit systems? (I moved now to ns-2.35 under Ubuntu 12.04 64 bit, have anybody tried this combination?) Regards, Ghada
[ns] ns2 freeze in the middle of the run
Dear all, Have anybody faced the problem of getting ns2 frozen during simulation run? it stop in the middle of it and do not continue. Regards, Ghada
Re: [ns] Multiple channel interface
Do a small search of multi-interface multi-channel support ns-2 module, you will easily find what you want. There is the mwnode patch, and Ramon's paper provide an excellent detailed procedure to support this facility, for me I am using it since it can be added to any ns-2 version. Regards, Ghada - From: Dhara Buch To: ns-users@ISI.EDU Sent: Wed, December 15, 2010 11:05:52 AM Subject: Re: [ns] Multiple channel interface Hello, I want to connect a node to multiple wireless channels. How can I do it for AODV protocol? Thank you, Dhara Buch
Re: [ns] [NS]Problem with AODV+,Please help me!
Hi, The error message "format_aodv: invalid AODV packet file" appears in the following function definition in the aodv.cc file: voidAODV::recvAODV(Packet *p) Simply in this function a packet is manipulated which has a type does not match with any of the case labels found in switch structure inside the function. So, examine those labels (which packets types) and add any new type and call the suitable recv function to manipulate it (it seems that AODV+ has added new control packet type to support additional features, see them). Regards, Ghada From: huy quang To: ns-users@ISI.EDU Sent: Mon, December 13, 2010 7:32:54 PM Subject: [ns] [NS]Problem with AODV+,Please help me! Hi I would like to simulate a wired-cum-wireless tcl scenario with the implementation of AODV+. I'm using NS-2.33 in UBUNTU 8.04. The AODV+ include all the gateway discovery method. I'm able run simulation with the *Reactive Method* but got error when I try *Hybrid* and *Proactive Gateway Discovery*. Here is the error: *"format_aodv: invalid AODV packet file"* Please, I would like someone to explain me how can i solve this problem.It is very important for me. Thank you
Re: [ns] mesh patch
Based on my knowledge, there is no ns-2 patch for 802.11 based WMNs, I have worked in this area, what I have found is a module to support 802.16 WMNs (see the following http://nsnam.isi.edu/nsnam/index.php/Contributed_Code). For me I have exploited wired-cum-wireless in ns-2 to build infrastruture WMN. However, routing is performed on layer 3 not layer 2 as specified in WMNs standard 802.11s. I wonder whether anybody have im[plemented IEEE 802.1s WMNs under ns-2. Regards, Ghada - From: Mainak Palit To: Ghada Al-Mashaqbeh Sent: Sat, September 25, 2010 3:56:33 AM Subject: Re: [ns] mesh patch I want to develop a scenario where I can test different adhoc protocols . the scenarion would be a mesh network .. http://en.wikipedia.org/wiki/Wireless_mesh_network please help me if you can regards. Mainak On Sat, Sep 25, 2010 at 12:56 AM, Ghada Al-Mashaqbeh wrote: What do you mean by a mesh scenario? > > > > > > From: Mainak Palit >To: ns-users@ISI.EDU >Sent: Tue, September 21, 2010 7:58:35 PM >Subject: [ns] mesh patch > > > >how do I construct a mesh scenario in ns 2.34 ?? >I need it urgently. >regards. > >
Re: [ns] mesh patch
What do you mean by a mesh scenario? From: Mainak Palit To: ns-users@ISI.EDU Sent: Tue, September 21, 2010 7:58:35 PM Subject: [ns] mesh patch how do I construct a mesh scenario in ns 2.34 ?? I need it urgently. regards.
[ns] Why routing is performed on layer 2 in IEEE 802.11s wireless mesh networks standard
Dear all, I just want to find a reasonable justfications of why the IEEE 802.11s standard have specified that routing must take place at layer 2 of the protocol stack not layer 3? and which is better routing on layer 2 or layer 3 of the protocol stack? Thanks, Ghada
[ns] How to calculate maximum channel utilization
Dear all, Is there a way to calculate the channel utilization from ns-2 trace file? that is which is better to let each node measure the channel utilization based on Is_idle() function at mac and record the value for each node or count the number of transmissions/receiving/forwarding of data packets from the trace file within a specific time duration and find the channel utilization (or busy time fraction)? which option you think it is better? Regards, Ghada - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[ns] Too large size trace file, is it logical!!!!
Hi all, I am facing the problem of getting very lrage size trace files from my simulation scenarios (I am using a 7x7 grid of static wireless node, each node is equipped with 5 interfaces, and one traffic flow with 1 Mbps demand, AGT, RTR , and MAC traces are set ON, simulation time is 800 sec). I get a trace file of size 3 - 5 GB, is this logical? the problem of the t long time to process it and the storage needed for 10 or more runs, what should I do? Thanks, Ghada - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[ns] Advice is needed regarding trace file anlaysis
Hi all, What do you think is better for analyzing ns-2 trace files, to use already exist softwares (such as Tracegraph) or to write my own scripts auch awk scripts? I have no information about awk scripts or other scripts, so I have decieded to use Tracegrpah program but it does not work, alot of bugs have appeared and really I cannot understand them, even I do not understand the solutions introduced on the different forums, and alot of people have many douts about the corrcetnesss of the obtained results. So, what do you suggest? any useful hints, resources, or comments will be higly appreciated. Regards, Ghada - Never miss a thing. Make Yahoo your homepage.
[ns] Performance change due to change data order in packets header: Could anybody explain???
Hi all, I have modified AODV protocol to support other routing metric than hop-count, at the final stages of performance testing I have realized the following: I have added new fields to RREQ and RREP packets, lets say I have added three quantities of type double (x, y, z) to the RREQ to allow intermediate nodes to calculate the new route metric. What I have realized that the protocol performance will be different for the following two cases: -- if I have added these values as an array to the RREQ header (i.e.double new_metric[3]), -- if I add them as a three elements (i.e. double x, double y, double z). Also if only one element of the array is filled (i.e. new_metric[0], for example) the performance will be different from having all array elements are filled. I am measuring the total network throughput, the results are different for different RREQ format elements arrangements. Can any body explain this to me? what is happening here? Thanks, Ghada - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[ns] Can anybody explain why this happens?? network perfromance depends on used data structure
Hi all, I have modified AODV protocol to support other routing metric than hop-count, at the final stages of performance testing I have realized the following: I have added new fields to RREQ and RREP packets, lets say I have added three quantities of type double (x, y, z) to the RREQ to allow intermediate nodes to calculate the new route metric. What I have realized that the protocol performance will be different for the following two cases: -- if I have added these values as an array to the RREQ header (i.e.double new_metric[3]), -- if I add them as a three elements (i.e. double x, double y, double z). Also if only one element of the array is filled (i.e. new_metric[0], for example) the performance will be different from having all array elements are filled. I am measuring the total network throughput, the results are different for different RREQ format elements arrangements. Can any body explain this to me? what is happening here? Thanks, Ghada - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[ns] About OFDM MATLAB simulator created by John Terry
Dear all, Have anybody used/dealed with the OFDM matlab simulator that comes with the following book: OFDM Wireless LANs: A Theoretical and Practical Guide Juha Heiskala, John Terry Format: Paperback, 315pp. Publisher: Sams Published: December 2001 I am using it to obtain empirical BER vs. SNR curves to be used with MAC layer in ns-2 for the error model, but I have many questions about it, so please let me know if anybody can help me in this. Thanks, Ghada - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[ns] 802.11a simulation
Hi all, Have anybody worked with 802.11a simulation in ns-2? if so I want to know the simulation setup that you have used, such as Pt (transmit power level), noise floor or thermal noise for the different data rates, and the error model or BER that u have implemented. Thanks alot, Ghada - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[ns] Thermal noise for 802.11a data rates
Dear all, Can anybody help me to get the values of the thermal noise levels for 802.11a different data rates? I have tried to get the data sheet of Prism Indigo from intersile but I have failed. I need such values to calculate the SNR value for any recieved data packet. Thnaks, Ghada - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[ns] Empirical BER vs SNR curve for 802.11a
Dear all, Can anybody help me to get an empirical BER vs SNR curve for 802.11a so I can use it to calculate PER to allow realistic wireless channel simulation as possible? Thanks, Ghada - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Re: [ns] BER vs SNR curve for 802.11g
First, thanks for reply, I have checked the indicated paper but I have not found what I want, in the paper the authors determine the best next physical mode to be used for the next transmission based on SNR, frame length, and retry count. However, I want the BER vs. SNR curve values for 802.11g standard. Similar to the one of 802.11b which is of the form: SNR(dB) BPSK(1Mbps) QPSK(2Mbps) CCK5.5(5.5Mbps)CCK11(11Mbps) 1 1.2e-5 5e-3 8e-2 1e-1 2 1e-61.2e-3 4e-2 1e-1 . . . I want a simlar curve for 802.11g, can anyone help me? Thanks, Ghada Eduard GV <[EMAIL PROTECTED]> wrote: It was made for 11a, which uses the same modulations: Goodput Analysis and Link Adaptation for IEEE 802.11a Wireless LANs Daji Qiao, Sunghyun Choi, and Kang G. Shin Good luck! Edu 2008/1/12, Ghada Al-Mashaqbeh : > > Hi all, > > I want to simulate realsitic channel propagation model for 802.11g standard. > I just wonder if any body has the BER vs SNR curve for 802.11g similar to the > one I have found for 802.11b which is BER vs SNR curves for the Intersil > HFA3861B chip, as reported in Javier del Prado Pavon and Sunghyun Choi, "Link > Adaptation Strategy for IEEE 802.11 WLAN via Received Signal Strength > Measurement". > > Thanks in advance, > > Ghada > > > > - > Looking for last minute shopping deals? Find them fast with Yahoo! Search. > - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[ns] BER vs SNR curve for 802.11g
Hi all, I want to simulate realsitic channel propagation model for 802.11g standard. I just wonder if any body has the BER vs SNR curve for 802.11g similar to the one I have found for 802.11b which is BER vs SNR curves for the Intersil HFA3861B chip, as reported in Javier del Prado Pavon and Sunghyun Choi, "Link Adaptation Strategy for IEEE 802.11 WLAN via Received Signal Strength Measurement". Thanks in advance, Ghada - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
[ns] Help is needed plaese regarding ns-2 nodes communication
Hi all, I am simulating a static single-channel ad-hoc network in whch the transmission range is set to 150m and the interference range is set to 300m (using thershold tool in ns-2). The used protocol is AODV, what I have noticed that brodacasted packets can be heard successfully from nodes at distance > 150m (about 200m). This has created the problem that RREQ set paths between nodes with hop distance of around 200m, when this node used the stored path toward the source to send the RREP the RREP will be dropped (not heard by the node that lie on distance > 200m). nodes are oranized in a gird with distance between adjacent nodes = 100m, I have tried to reduce this distance and to increase it but the performance is still very poor. Can anybody explain things to me. settings of communication are as follows: /*- Phy/WirelessPhy set CPThresh_ 10.0;# capture threshold Phy/WirelessPhy set CSThresh_ 2.312e-11 ;# Carrier Sensing threshold, 300 m is the interference range Phy/WirelessPhy set RXThresh_ 1.533e-10 ;# receiver signal threshold, 150 m is the transmission range Phy/WirelessPhy set bandwidth_ 11Mb;# channel bandwidth (UNUSED!) Phy/WirelessPhy set Pt_ 0.037 ;# transmitter signal power (Watt), for 150 m transmission range Phy/WirelessPhy set freq_ 2.472e9 ;# channel frequency (Hz) Phy/WirelessPhy set L_ 1.0 ---*/ Thanks in advance, Ghada - Never miss a thing. Make Yahoo your homepage.
[ns] Heap Scheduler
Hi all, We all know that calendar scheduler is the default for ns-2 simulations, also it was proved that the heap scheduler is faster and better for large scale simulations. My question are there any risks or limiations on using heap scheduler or we can use it for any simulation scenario? Thanks, Ghada - Never miss a thing. Make Yahoo your homepage.
[ns] Traffic scene generation
Hi all, I am facing a problem in the used traffic scene within my ad hoc network. My objective is to have only 5 active connections at the same time where each connection has lasts for 40sec. below there is a part of the used traffic scene. The problem is when cbr_(2) stops a segmentation fault is generated and the simulation stops. Can any body tell me why? Thanks in advance, Ghada //- set startTime 0 set connDuration 40 set shiftTime 8 #=== set udp_(0) [new Agent/UDP] $ns_ attach-agent $node_(0) $udp_(0) set null_(0) [new Agent/LossMonitor] $null_(0) clear $ns_ attach-agent $node_(128) $null_(0) $ns_ connect $udp_(0) $null_(0) $udp_(0) set fid_ 1 set cbr_(0) [new Application/Traffic/CBR] $cbr_(0) set packetSize_ 492 $cbr_(0) set interval_ 0.1 $cbr_(0) set random_ 1 $cbr_(0) set maxpkts_ 500 $cbr_(0) attach-agent $udp_(0) $ns_ at [expr $startTime] "$cbr_(0) start" $ns_ at [expr $startTime+$connDuration] "$cbr_(0) stop" # # set udp_(1) [new Agent/UDP] $ns_ attach-agent $node_(1) $udp_(1) set null_(1) [new Agent/LossMonitor] $null_(1) clear $ns_ attach-agent $node_(135) $null_(1) $ns_ connect $udp_(1) $null_(1) $udp_(1) set fid_ 2 set cbr_(1) [new Application/Traffic/CBR] $cbr_(1) set packetSize_ 492 $cbr_(1) set interval_ 0.1 $cbr_(1) set random_ 1 $cbr_(1) set maxpkts_ 500 $cbr_(1) attach-agent $udp_(1) $ns_ at [expr $startTime+$shiftTime] "$cbr_(1) start" $ns_ at [expr $startTime+$shiftTime+$connDuration] "$cbr_(1) stop" # # set udp_(2) [new Agent/UDP] $ns_ attach-agent $node_(134) $udp_(2) set null_(2) [new Agent/LossMonitor] $null_(2) clear $ns_ attach-agent $node_(8) $null_(2) $ns_ connect $udp_(2) $null_(2) $udp_(2) set fid_ 3 set cbr_(2) [new Application/Traffic/CBR] $cbr_(2) set packetSize_ 492 $cbr_(2) set interval_ 0.1 $cbr_(2) set random_ 1 $cbr_(2) set maxpkts_ 500 $cbr_(2) attach-agent $udp_(2) $ns_ at [expr $startTime+2*$shiftTime] "$cbr_(2) start" $ns_ at [expr $startTime+2*$shiftTime+$connDuration] "$cbr_(2) stop" # # set udp_(3) [new Agent/UDP] $ns_ attach-agent $node_(132) $udp_(3) set null_(3) [new Agent/LossMonitor] $null_(3) clear $ns_ attach-agent $node_(7) $null_(3) $ns_ connect $udp_(3) $null_(3) $udp_(3) set fid_ 4 set cbr_(3) [new Application/Traffic/CBR] $cbr_(3) set packetSize_ 492 $cbr_(3) set interval_ 0.1 $cbr_(3) set random_ 1 $cbr_(3) set maxpkts_ 500 $cbr_(3) attach-agent $udp_(3) $ns_ at [expr $startTime+3*$shiftTime] "$cbr_(3) start" $ns_ at [expr $startTime+3*$shiftTime+$connDuration] "$cbr_(3) stop" . . . #=== - Never miss a thing. Make Yahoo your homepage.
[ns] Abour CBR in wired-cum-wireless
Dear all, I have noticed something for CBR traffic generation in wired-cum-wireless scenarios. When the source of the data packets is wired hosts the number of generated packets exceeds the expected, that is if the interval for the cbr source is 0.1 and the simulation time is 15 sec, the genrated packets during this interval is 1500 packet instead of 150, however, when the cbr source is attached with a wireless node the number of generated packets is 150 (correct). I am recording the number of packets arrived at the MAC layer and I have realized that in case of wires source at each time instance (0.1, 0.2, 0.3, ...) the number of arrived packets is 10 instead of 1 (as in case of wireless source). can anybody explain? Thanks, Ghada - Never miss a thing. Make Yahoo your homepage.
[ns] Problems in data forwarding between nodes that use different routing protocols
Dear all, in my simulation scenario I have simply two wireless nodes, each node has a different routing agent, data packets sent from node 1 are not recieved at the routing agent at node 2 while any other packets types (unicast and broadcast) generated by the routing agents can be exchanged between them. Can anybody tell me where is the problem please? Regards, Ghada - Never miss a thing. Make Yahoo your homepage.
[ns] Fwd: Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) with wired-cum-wireless scenario script
Note: forwarded message attached. - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
[ns] Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) with wired-cum-wireless scenario script
Dear all, I am running a wired-cum-wireless scenario to simulate the topology of Wireless Mesh Networks, I have 6 wired hosts, every two are belong to the same domain with a router for each domain, I have 60 mobile nodes, and 30 static wireless nodes, among the static nodes I have three base stations or gateways where each one is connected to a router. Each gateway is belong to a domain and the wirless nodes are distributed among these base stations. the mobile nodes run a different routing protocol than the one used by the static wireless nodes, this topology make use of multi-interface configuration. When I start simulation I got the following error: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o3661: no target for slot 255 _o3661 type: Classifier/Port content dump: classifier _o3661 0 offset 0 shift 2147483647 mask 5 slots slot 0: _o3660 (Agent/UDP) slot 1: _o3685 (Agent/LossMonitor) slot 2: _o3703 (Agent/LossMonitor) slot 3: _o3721 (Agent/LossMonitor) slot 4: _o3739 (Agent/LossMonitor) -- Finished standard no-slot{} default handler -- All transport agents are connected correctly, furthermore I have searched for a solution and I have the following: "if you use hierachical address. a node cannot directly connect more than one node belonging to a different domain(the first fragment in the address)." Also, I have checked this but still I got the same error. Can anybody help me to solve this problem? Thanks in advance, Ghada - Get easy, one-click access to your favorites. Make Yahoo! your homepage.
[ns] Help with wired-cum-wireless extensions of ns-2
Dear all, I am working with a scenario where four domains are connected with each other with four wired APs, each domain contains a set of static wireless nodes. However, my target is to allow a wireless node to select the AP to which it will associate based on the congestion status of the AP. So, in this case mobile IP will be of no benifeat for me where its association is based on the signal strength recieved from the AP (based on distance between the mobile wireless node and the AP). How can I allow such dynamic AP association in my code? can anyone give some useful hints either on this issue or on the implementation of wired-cum-wireless extension of ns-2? Thanx alot, Ghada __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Working with Wireless Mesh Networks
Dear all, Have anybody simulated a wireless mesh network topology in which internet gateways, backbone routers and mobile clients ar incorporated in dynamic behavior? by dynamic behavior I mean that clients are not incorporated in routing thay only send data packets to the routers, also a client can change the router with which it is associated (due to movement). In addition, the routers can select the destination gateway dynamically during run time based on the network conditions (not via tcl in the script). In other words, I want to simulate a network similar to real life networks behavior (such as MIT roofnet network where gateways send advertisments and routers select the best gateway based on signal strength). Can you give me some useful hints on ns-2 implementation of such topology? Thanx, Ghada __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Changing the destination of traffic agents during runtime
Dear all, Usually, we connect data sources and destinations using the cnfiguration tcl script, that is using the following code: //Connect sink with udp agent located at the source $ns_ connect $udp_($i) $sink_($i) Traffic generation scenarios can change the set of source/destination pairs during run time via Tcl. However, I am looking for a method to change the destination address with which a source is connected during runtime using C++. In other words, similar to assocciation with BS, I want to anable a node to select one of the available destinations and route the data toward that destination. Anybody have an idea about this matter or have worked with a similar concept? any help will be highly appreciated. Thanx, Ghada __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Extended Network Simulator package (ENS).
Dear all, anybody have a copy or the websie link for the Extended Network Simulator package (ENS) used in this paper: B. Raman and C. Chebrolu. Design and Evaluation of a new MAC Protocol for Long-Distance 802.11 Mesh Networks. In Proceedings of the 11th Annual International Conference on Mobile Computing and Networking (MobiCom), pages 156169. ACM Press, 2005. I need it to make ns-2 support the adjacen channel interference. Thanks in advance, Ghada - Pinpoint customers who are looking for what you sell.
[ns] Inter flow and intra flow Interference in ns-2
Dear all, Theoriginal distribution of NS-2 does not consider the interference between concurrent transmissions on close links that use the same channel. Have anybody modified ns-2 to have this capability? if so, can you give some useful hints about this issue, or guide me toward a patch that implement such thing if there is any? Thanx, Ghada - Need a vacation? Get great deals to amazing places on Yahoo! Travel.
[ns] About NS-2 Debug
Dear all, Have anybody dealed with ddd debugger for ns-2 under windows? I mean have anybody used ddd under cygwin? is it possible to install LessTif on cygwin? if not, is there another solution to enable the use of ddd under windows? Any useful hints and comments will be highly appreciated. Thanx, Ghada - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
Re: [ns] Make failed: Command commence before first target ??!!?
I did not forget it, but now the problem is that: "Makefile: 249: missing separator . Stop" I have returned to the same line and put a tab instead of the spaces but still I got the same error (even though I have removed my new protocol .o name from the Makefile). What can I do? Samer Bali <[EMAIL PROTECTED]> wrote: Also do not forget "\" at the end of the line except for the last one in obj_cc list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghada Al-Mashaqbeh Sent: Samstag, 29. September 2007 08:45 To: hossein fotouhi Cc: ns mailing list Subject: Re: [ns] Make failed: Command commence before first target ??!!? Hi, I did these steps but still I get the same error at the same line number... Thanx hossein fotouhi wrote: Hi When you want to add an object file in Makefile, you cannot use "tab" button. First you enter to new line and by clicking on space button go to any position you want, and then write yourself don't copy/paste. If you don't do this process you get error. Regards On 29/09/2007, Ghada Al-Mashaqbeh wrote: Dear all, I have added a new routing protocol module for ns-2 2.31, I have added all the needed modifications to tcl, c++, and Makefile to support this protocol. When I run 'make' to recompile ns I got the following error: "Makefile:249: *** commands commence before first target. Stop" line 249 in Makefile.in file is where I have added the .o name for my protocol. I have tried to change the location of .o name in this file but for my surprise the same error with the same line number (249) still appear even though the .o file is on another line. I have looked for possible solution for this problem but there is only emails with this problem with no useful replies. Can any body give me some hints about this problem? or at least what is the reason for it? Thanx, Ghada - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. -- Hossein Fotouhi (M.Sc. student) Department of Computer & Communication Network, Faculty of Engineering, University Putra Malaysia, (www.upm.edu.my) Malaysia, Cellphone: +6-12-2644412 - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! - Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
Re: [ns] Make failed: Command commence before first target ??!!?
Hi, I did these steps but still I get the same error at the same line number... Thanx hossein fotouhi <[EMAIL PROTECTED]> wrote: Hi When you want to add an object file in Makefile, you cannot use "tab" button. First you enter to new line and by clicking on space button go to any position you want, and then write yourself don't copy/paste. If you don't do this process you get error. Regards On 29/09/2007, Ghada Al-Mashaqbeh <[EMAIL PROTECTED] > wrote: Dear all, I have added a new routing protocol module for ns-2 2.31, I have added all the needed modifications to tcl, c++, and Makefile to support this protocol. When I run 'make' to recompile ns I got the following error: "Makefile:249: *** commands commence before first target. Stop" line 249 in Makefile.in file is where I have added the .o name for my protocol. I have tried to change the location of .o name in this file but for my surprise the same error with the same line number (249) still appear even though the .o file is on another line. I have looked for possible solution for this problem but there is only emails with this problem with no useful replies. Can any body give me some hints about this problem? or at least what is the reason for it? Thanx, Ghada - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. -- Hossein Fotouhi (M.Sc. student) Department of Computer & Communication Network, Faculty of Engineering, University Putra Malaysia, (www.upm.edu.my) Malaysia, Cellphone: +6-12-2644412 - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
[ns] Make failed: Command commence before first target ??!!?
Dear all, I have added a new routing protocol module for ns-2 2.31, I have added all the needed modifications to tcl, c++, and Makefile to support this protocol. When I run 'make' to recompile ns I got the following error: "Makefile:249: *** commands commence before first target. Stop" line 249 in Makefile.in file is where I have added the .o name for my protocol. I have tried to change the location of .o name in this file but for my surprise the same error with the same line number (249) still appear even though the .o file is on another line. I have looked for possible solution for this problem but there is only emails with this problem with no useful replies. Can any body give me some hints about this problem? or at least what is the reason for it? Thanx, Ghada - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
Re: [ns] Scheduler: Event uid is not valid
I have deduced that the error is due to rescheduling the same event by ns2 which is the copies of the packet to be sent overall interfaces. So, I must make the copied packets to appear as different events to ns2. For this purpose I have changed the uid_ of the copied packets to be different from each other as follows: /*-- int uuu = p->uid_; if(nIfaces) { for(int i = 0; i < nIfaces; i++){ Packet *p_copy = p->copy(); p_copy->uid_ = uuu--; //to avoid getting uid > 0 Scheduler::instance().schedule(targetlist[i], p_copy, 0.); } Packet::free(p); } */ and it works 100%. Is my observation correct? I will appreciate any usefull comments. Thanx, Ghada Ghada Al-Mashaqbeh wrote: > > > Dear all, > > I am working with ns-2 2.31, I have added the multi-interface capability > according to Multi-interface support howto, by Ramon Aguero > > I have modified the routing agent (I have worked with AODV) to support > broadcasting packets on all interfaces as follows: > > if(nIfaces) { > for(int i = 0; i < nIfaces; i++){ > Packet *p_copy = p->copy(); > Scheduler::instance().schedule(targetlist[i], p_copy, 0.); > } > Packet::free(p); > } > > when I run my simulation scenario ( which is a static grid topology of > 20 wireless nodes) > I got the error of: > "Scheduler: Event uid is not valid" at time 67 sec of the simulation > time. > > I have searched the mailing list and the available sources about this > error, I have fixed all MAC bugs (most of them are already fixed in the ns > distribution), then I have found a FAQ in which the following is stated: > "2. You are dealing with packets. A packet is also a kind of event to be > scheduled and a UID is associated with it. When you create a copy or alloc > again before freeing it, due to the same packet with a positive UID, it > cannot be scheduled again. " > > So, I gussed that the error is in copying the packet to be sent on all > interfaces (in the modifed code presented above). So, I have modifed that > code as follows to free the copies of the packet: > > > if(nIfaces) { > for(int i = 0; i < nIfaces; i++){ > Packet *p_copy = p->copy(); > Scheduler::instance().schedule(targetlist[i], p_copy, 0.); > Packet::free(p_copy); > } > Packet::free(p); > } > > but when I run my simulation scenario I got: > " segmentation fault 'core dumped'" > > I am sure that the error is in the routing agent module, since I have > run simulation scenarios without the modified AODV and it worked, but I > cannot congifure where the bug is. > > Is there anybody have worked in multi-interface support for AODV? have > you faced such problem in your testing? > > any useful comments and hints will be highly apreciated. > > Thanx, > > Ghada > > > - > Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, > news, photos & more. > > -- View this message in context: http://www.nabble.com/Scheduler%3A-Event-uid-is-not-valid-tf4516045.html#a12894830 Sent from the ns-users mailing list archive at Nabble.com.
[ns] About Multi-interface support howto, by Ramon Aguero
Deal all, Have anybody worked with Multi-interface support howto, by Ramon Aguero and used it to support one of the routing agents that exist in ns2, e,g AODV, DSR, etc. ? If so, have you encountered the bug of 'Scheduler:: Event UID is not valid'? if so, please provide me with some guidlines of how to solve this error? Thanx, Ghada - Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
[ns] Scheduler: Event uid is not valid
Dear all, I am working with ns-2 2.31, I have added the multi-interface capability according to Multi-interface support howto, by Ramon Aguero I have modified the routing agent (I have worked with AODV) to support broadcasting packets on all interfaces as follows: if(nIfaces) { for(int i = 0; i < nIfaces; i++){ Packet *p_copy = p->copy(); Scheduler::instance().schedule(targetlist[i], p_copy, 0.); } Packet::free(p); } when I run my simulation scenario ( which is a static grid topology of 20 wireless nodes) I got the error of: "Scheduler: Event uid is not valid" at time 67 sec of the simulation time. I have searched the mailing list and the available sources about this error, I have fixed all MAC bugs (most of them are already fixed in the ns distribution), then I have found a FAQ in which the following is stated: "2. You are dealing with packets. A packet is also a kind of event to be scheduled and a UID is associated with it. When you create a copy or alloc again before freeing it, due to the same packet with a positive UID, it cannot be scheduled again. " So, I gussed that the error is in copying the packet to be sent on all interfaces (in the modifed code presented above). So, I have modifed that code as follows to free the copies of the packet: if(nIfaces) { for(int i = 0; i < nIfaces; i++){ Packet *p_copy = p->copy(); Scheduler::instance().schedule(targetlist[i], p_copy, 0.); Packet::free(p_copy); } Packet::free(p); } but when I run my simulation scenario I got: " segmentation fault 'core dumped'" I am sure that the error is in the routing agent module, since I have run simulation scenarios without the modified AODV and it worked, but I cannot congifure where the bug is. Is there anybody have worked in multi-interface support for AODV? have you faced such problem in your testing? any useful comments and hints will be highly apreciated. Thanx, Ghada - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
[ns] Cannot get the following paper "Implementing a New Manet Unicast Routing Protocol in NS2"
Dear all, I am looking for the following tutorial: "Implementing a New Manet Unicast Routing Protocol in NS2" by Francisco J. Ros et al. the website of the author and the links available to get this paper cannot open with me. Can anybody attach this paper to me via email? I would appreciate that. Thanx, Ghada - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
[ns] Recompiling ns-2 with 'make' does not work
Hi all, I am facing a problem with recompiling ns-2 after midifying its code, where after changing the code I run: 'make clean' 'configure' 'make' But mothing happen (i.e. no compilation takes place where ns-2 is still the one before modification, so changes does not take effect). Now, I run ./install for making the new ns2 with the new modifications taking its effect. The problem is in 'make' where it does not work, I am using ns-2.31 under windows xp SP 2, How can I solve such problem? is the problem in cygwin? or in the static compilation since the static compilation is disabled via the configure command. Thanx, Ghada - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
Re: [ns] Modify the trace file format in ns-2
I have edited the 'new-trace' itself (I have appended an additional information for it, So in additional to the original info displayed by it there is the data rate). Regarding 'make clean' every time I run it it give error "cannot delet tcl it is directory" I do not know why that? By your argument do you mean that I must write a new trace format and add what I need it? and I sould not edit the 'new-trace' format? Thanx, Ghada Matthias Kuhnert <[EMAIL PROTECTED]> wrote: I did not understand, what you exactly modified/tried to do. To get the new trace format, you have to include in your tcl script a statement similar to "$ns_ use new-trace", depending how you named your simulator instance in the script. Then via some statements in the cmu-trace implementation the new trace file format is taken. You don't have to and must not change anything of the cmutrace for that purpose! The newtrace variable is initialised via the tcl, so it will be set on runtime - therefore a change of the variable in the c++ part doesn't change the behaviour of the trace during runtime... The configure is superfluous, if you did not add anything new! If you changed anything on the files, the only command additional to make, is a "make clean", to resolve on dependencies! Original-Nachricht ---- > Datum: Wed, 19 Sep 2007 04:09:18 -0700 (PDT) > Von: Ghada Al-Mashaqbeh > An: ns-users@ISI.EDU > Betreff: [ns] Modify the trace file format in ns-2 > > Dear all, > > I have moified the mac trace file format (new trace foramt for wireless) > to record the the data rate used to transmit the packet (since I am using > multirate mac layer). I have added the modifications to cmu-trace.cc file > only, then I have run in the ns directory 'configure' then 'make', but still > I get the original trace format (the changes were not recognized). > > Can anybody help me please? > > Thanx, > > Ghada > > > - > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! > Games. -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
[ns] Modify the trace file format in ns-2
Dear all, I have moified the mac trace file format (new trace foramt for wireless) to record the the data rate used to transmit the packet (since I am using multirate mac layer). I have added the modifications to cmu-trace.cc file only, then I have run in the ns directory 'configure' then 'make', but still I get the original trace format (the changes were not recognized). Can anybody help me please? Thanx, Ghada - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
[ns] Suggestion -- Needing help about the real channel propagation model
Dear all, I have added your implementation of the realistic channel propagation by Wu Xiuchao for ns-2. I added the code and modify the required files then I run: make clean configure make make install. But when I attempt to use it in my code, i.e. ErrorModel80211 noise1 -91 for example, when I run the scenario I got the following error: invalid command name "ErrorModel80211" while executing ErrorModel80211 noise1 -91 can I ignore the use of these commands and add default values for them in the ~/tcl/ns-default.tcl file, and these values will be used by the mac layer, i.e. the values are hardcoded within the simulator and every time I modify them I must run configure then make, Does this enough and correct? Thnax, Ghada - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
[ns] Needing help about the real channel propagation model
Dear all, I have added your implementation of the realistic channel propagation by Wu Xiuchao for ns-2. I added the code and modify the required files then I run: make clean configure make make install. But when I attempt to use it in my code, i.e. ErrorModel80211 noise1 -91 for example, when I run the scenario I got the following error: invalid command name "ErrorModel80211" while executing ErrorModel80211 noise1 -91 How can I solve this error please? Thnax, Ghada - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
Re: [ns] Problem with Realistic Channel Propagation made by Wu Xiuchao
Yes I have run configure then make afetr I have installed the patch, after that when I make install I got the following where the installation of "command (.n) docs" fails (see below), is this related to the problem (I think that this is related to the man pages which is not part of the ns source code, i.e. it does not affaect its functionality) /** $ make install Installing libtcl8.4.a to /usr/local/lib/ Installing tclsh as /usr/local/bin/tclsh8.4 Installing tclConfig.sh to /usr/local/lib/ Installing libtclstub8.4.a to /usr/local/lib/ Installing header files Installing library files to /usr/local/lib/tcl8.4 Installing library http1.0 directory Installing library http2.5 directory Installing library opt0.4 directory Installing library msgcat1.3 directory Installing library tcltest2.2 directory Installing library encoding directory Installing and cross-linking top-level (.1) docs Installing and cross-linking C API (.3) docs Installing and cross-linking command (.n) docs /cygdrive/c/ns2/ns-allinone-2.31/tcl8.4.14/unix/installManPage: line 59: /usr/lo cal/man/mann/pkg::create.n: Invalid argument chmod: cannot access `/usr/local/man/mann/pkg::create.n': No such file or direct ory [EMAIL PROTECTED]/cygdrive/c/ns2/ns-allinone-2.31/ns-2.31 **/ Thanx, Ghada Samer Bali <[EMAIL PROTECTED]> wrote: Did you recompile ns-2? After changing any tcl file you should run 'make' command again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghada Al-Mashaqbeh Sent: Samstag, 15. September 2007 11:22 To: ns-users@ISI.EDU Subject: [ns] Problem with Realistic Channel Propagation made by Wu Xiuchao Dear all, I am using the patch available at http://nsnam.isi.edu/nsnam/index.php/Contributed_Code, which is supported by Marco Fiore, to make use of the realistic chnnel propagation module. I have installed it on ns-2.31 and I have done the failed hunks manually. When I am using this model in my testing scenarios I face the following error: // invalid command name ErrorModel80211 at line ... ErrorModel80211 noise1 -91 // I have added the default values of this model variables to ~/tcl/ns-default.tcl file, but still I am getting the error. Can anybody help me please? Thanx, Ghada - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
[ns] Problem with Realistic Channel Propagation made by Wu Xiuchao
Dear all, I am using the patch available at http://nsnam.isi.edu/nsnam/index.php/Contributed_Code, which is supported by Marco Fiore, to make use of the realistic chnnel propagation module. I have installed it on ns-2.31 and I have done the failed hunks manually. When I am using this model in my testing scenarios I face the following error: // invalid command name ErrorModel80211 at line ... ErrorModel80211 noise1 -91 // I have added the default values of this model variables to ~/tcl/ns-default.tcl file, but still I am getting the error. Can anybody help me please? Thanx, Ghada - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
[ns] A question realted to reinstalling an installed patch for ns-2
Dear all, Can I re-apply a patch that is already installed for ns-2? I need this to fix the failed hunks after I have installed it. I have tried such thing, where it display the skipped hunks, does such thing affect the functionality of ns-2? Thanx, Ghada - Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos.
[ns] About patches added to ns-2
Dear all, I have installed a patch for ns-2 2.31, many failed hunks were appeared, I have edited them manually, but some of these hunks modify the .Z files that exist in the ~\tcl\test directory (example ~\ns-2.31\tcl\test\test-output-mcache\media1.Z). I am viewing the patch using a text editor, however the modification for such files is unreadable, so I cannot know where to add them. can anybody help me in how modifying such files? Or, do we need to modify these files to make ns-2 works correctly under the added patch? (I think that these files is a test suites for ns-2, i.e. not part of its source code) is this correct so I do not need to modify such files? Thanx, Ghada - Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
Re: [ns] Installation problem with MW-Node patch for ns-2.29.3
So, using this method can I apply patches developed for ns-2.29 for example to ns-2.31 (by manual configuration)? I am managed to use ns-2.31 (since I want to use the lates version where many bugs that exist in previous versions were fixed) and apply the patches I need then fix the failed hunks manually, do you think it will work? Thank you very much, Ghada Samer Bali <[EMAIL PROTECTED]> wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} You find this information in the patch file itself. Open the patch file with any txt editor and see the changes made to classifier.cc. Usually, the original lines in the files begins with - , and the new lines (changes) begins with + or !. Best Wishes. From: Ghada Al-Mashaqbeh [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. September 2007 19:26 To: Samer Bali Cc: ns-users@isi.edu Subject: RE: [ns] Installation problem with MW-Node patch for ns-2.29.3 Thank you for reply, But how can I modify it manually. On the screen only the following information appears: (for example) patching file classifier/classifier.cc Hunk #3 FAILED at 50. How can I know what to put at line 50? how can I know the exact changes needed by the patch where there is no read me or something like that attached with it? Please answer me ASAP. Thanks in advance. Ghada Samer Bali <[EMAIL PROTECTED]> wrote: From my little experience, all patches assume that ns-2 has the original installation settings. If you applied one patch, some files will be changed. Then if you applied another patch, some changes will not be done because the previous patch changed some files and the locations of the changes in the second patch is no more valid. Therefore, you should do these failed hunks manually. If make or make distclean are not working because makefile is changed, you should first run './config' command. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghada Al-Mashaqbeh Sent: Donnerstag, 13. September 2007 16:42 To: ns-users@ISI.EDU Subject: [ns] Installation problem with MW-Node patch for ns-2.29.3 Dear all, I am trying to use MW-node patch with ns-2.29.3 , when I have tried to install mw-node patch for ns-2.29.3 there are many Hunks failed, I have followed the same steps announced on your website (http://www.q2s.ntnu.no/~paquerea/ns.html) but it does not work, I am using ns-2 under windows XP SP 2 (using cygwin), what shall I do to alleviate this probelm since I am in an urgent need for this patch? I must use ns-2.29.3 to support other patches which are available just for these version (i.e. do not support ns-2.30 version). Also, when I run 'make distclean' it does not work (is the problem here?). Thanx. Ghada - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. - Need a vacation? Get great deals to amazing places on Yahoo! Travel. - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
[ns] A question related to installing MW-Node patch for ns-2.29.3
Dear all, How can I handle the failed hunks manually to alleviate the problems that I have faced while installing MW-node patch for ns-2.29.3? In other words, how can I know the modifications added to to ns-2 files at the locations specified by the failed hunks? Thank you and waiting your reply. Ghada Al-Mashaqbeh - Got a little couch potato? Check out fun summer activities for kids.
Re: [ns] Installation problem with MW-Node patch for ns-2.29.3
Thank you for reply, But how can I modify it manually. On the screen only the following information appears: (for example) patching file classifier/classifier.cc Hunk #3 FAILED at 50. How can I know what to put at line 50? how can I know the exact changes needed by the patch where there is no read me or something like that attached with it? Please answer me ASAP. Thanks in advance. Ghada Samer Bali <[EMAIL PROTECTED]> wrote: From my little experience, all patches assume that ns-2 has the original installation settings. If you applied one patch, some files will be changed. Then if you applied another patch, some changes will not be done because the previous patch changed some files and the locations of the changes in the second patch is no more valid. Therefore, you should do these failed hunks manually. If make or make distclean are not working because makefile is changed, you should first run './config' command. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghada Al-Mashaqbeh Sent: Donnerstag, 13. September 2007 16:42 To: ns-users@ISI.EDU Subject: [ns] Installation problem with MW-Node patch for ns-2.29.3 Dear all, I am trying to use MW-node patch with ns-2.29.3 , when I have tried to install mw-node patch for ns-2.29.3 there are many Hunks failed, I have followed the same steps announced on your website (http://www.q2s.ntnu.no/~paquerea/ns.html) but it does not work, I am using ns-2 under windows XP SP 2 (using cygwin), what shall I do to alleviate this probelm since I am in an urgent need for this patch? I must use ns-2.29.3 to support other patches which are available just for these version (i.e. do not support ns-2.30 version). Also, when I run 'make distclean' it does not work (is the problem here?). Thanx. Ghada - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. - Need a vacation? Get great deals to amazing places on Yahoo! Travel.
[ns] Installation problem with MW-Node patch for ns-2.29.3
Dear all, I am trying to use MW-node patch with ns-2.29.3 , when I have tried to install mw-node patch for ns-2.29.3 there are many Hunks failed, I have followed the same steps announced on your website (http://www.q2s.ntnu.no/~paquerea/ns.html) but it does not work, I am using ns-2 under windows XP SP 2 (using cygwin), what shall I do to alleviate this probelm since I am in an urgent need for this patch? I must use ns-2.29.3 to support other patches which are available just for these version (i.e. do not support ns-2.30 version). Also, when I run 'make distclean' it does not work (is the problem here?). Thanx. Ghada - Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
[ns] Questions about patches added to ns-2.
Dear all, I have two questions related to the patch installations on ns-2: -- If I have more than one patch to install, must I install all of them at the same time or I can do that serially at different times? -- Can I have a confliction between batches that support common functionality? e.g. two batched supports multi interface capability, can I use any one of them or I mus have only one patch for this purpose? -- If I have a patch deisgned for a spcified version of ns-2 can I use it for another version? e.g. the MW-node patch for ns-2 2.30 can be used for ns-2 2.31? is thier any modification needed for this purpose? Thanx Ghada - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
[ns] About dei80211mr library
Dear all, I am using ns2 under windows xP SP2 using cygwin, when I have tried to install dei80211mr using the same steps on its website and after installing the dynamic library batch, I have faced the error that no dynamic libraries is supported on this system (when I have tested some examples). How can I make windows support such dynamic libraries? if there is no method can you help me to find other libararies that run under windows to make NS-2 support interference modeling and multirate capability which exist in dei80211mr? Thanx - Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
Re: [ns] How to add new C++ classes to NS-2 2.31?
OK, after that do I need to modify any files or classes in ns2, I have added the Ricean model classes to the mobile directory using this method, but when I try to use it in my Tcl test code using the follwing code : / /** set val(prop) Propagation/Ricean ;# radio-propagation model set prop_inst [$ns_ set propInstance_] $prop_inst MaxVelocity 2.5; $prop_inst RiceanK6; $prop_inst LoadRiceFile "rice_table.txt"; / ***/ I got the follwing error: "invalid command "Propagation/Ricean" What shall I do? Thanx Samer Bali <[EMAIL PROTECTED]> wrote: You should add it to Makefile.in under OBJ_CC (as I remember). Then you run configure then make. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ghada Al-Mashaqbeh Sent: Dienstag, 11. September 2007 20:21 To: ns-users@ISI.EDU Subject: Re: [ns] How to add new C++ classes to NS-2 2.31? Do I must add the line mobile/Ricean.o to the Makefile or the Makefile.in then run configure then make in the ns2 directory? Is this method correct? Thanx 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 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#a12620738 Sent from the ns-users mailing list archive at Nabble.com. - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
[ns] Error while using Ricean propagation model!!
Dear all, When I am trying to test the Ricean propagation model (after I have added it to NS-2) using the following code I got the following error: "can't read "propInstance_": no such variable while executing . . . "$ns_ set propInstance_" ... " Here is the code portion related to the error: /** set val(chan) Channel/WirelessChannel;#Channel Type set val(prop) Propagation/Ricean ;# radio-propagation model set val(netif) Phy/WirelessPhy;# network interface type set val(mac)Mac/802_11 ;# MAC type set val(ifq)Queue/DropTail/PriQueue;# interface queue type set val(ll) LL ;# link layer type set val(ant)Antenna/OmniAntenna;# antenna model set val(ifqlen) 50 ;# max packet in ifq set val(nn) 2 ;# number of mobilenodes set val(rp) DSDV ;# routing protocol #set val(rp) DSR ;# routing protocol set val(x) 500 set val(y) 500 # Initialize Global Variables set ns_ [new Simulator] set tracefd [open wireless_mitf.tr w] $ns_ trace-all $tracefd set namtrace [open wireless_mitf.nam w] $ns_ namtrace-all-wireless $namtrace $val(x) $val(y) # set up topography object set topo [new Topography] $topo load_flatgrid $val(x) $val(y) # set prop_inst [$ns_ set propInstance_] $prop_inst MaxVelocity 2.5; $prop_inst RiceanK6; $prop_inst LoadRiceFile "rice_table.txt"; ***/ How can I solve such error? and why it has occurred? Thanx - Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos.
Re: [ns] How to add new C++ classes to NS-2 2.31?
Do I must add the line mobile/Ricean.o to the Makefile or the Makefile.in then run configure then make in the ns2 directory? Is this method correct? Thanx 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#a12620738 Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] How to add new C++ classes to NS-2 2.31?
Hi, I have did this where I have added this line to the Makefile, then I opened cygwin and enetred the ns directory where I run configure then make, the Makefile were modified by the configure command. My question, the Makefile was changed were the line which I have added have disappeared, can I follow the same procedure for future additions and modifications? Thanx Leonard Tracy <[EMAIL PROTECTED]> wrote: ricean.o is created by adding the line mobile/ricean.o to the Makefile. Leonard On 9/10/07, Ghada Al-Mashaqbeh < [EMAIL PROTECTED]> wrote: 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. - Pinpoint customers who are looking for what you sell.
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] 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.