[ns] [bug] please help about NOAH routing protocol !!!!!!
[Bug Report] - Category: Other Package: ns ns-2.30 OS:Suse-10.3 Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= - Description: Description of Problem: I'm working with Mobile IP and using ns-2.30 , I´ve already modified ns2.30, following this step by step: Makefile.in add noah/noah.o \ to OBJ_CC and tcl/mobility/noah.tcl \ to NS_TCL_LIB noah/noah.{h,cc} add noah.h and noah.cc to a new subdirectory noah/ tcl/mobility/noah.tcladd noah.tcl to tcl/mobility/ tcl/lib/ns-lib.tcl.hline 191: add source ../mobility/noah.tcl line 603ff: add NOAH { set ragent [$self create-noah-agent $node] } line 768ff: add Simulator instproc create-noah-agent { node } { # Create a noah routing agent for this node set ragent [new Agent/NOAH] ## setup address (supports hier-addr) for noah agent ## and mobilenode set addr [$node node-addr] $ragent addr $addr $ragent node $node if [Simulator set mobile_ip_] { $ragent port-dmux [$node demux] } $node addr $addr $node set ragent_ $ragent return $ragent } while I am trying to run the ns it will display that : ns:[code omitted because of length] :invalid command name Agent/NOAH while executing Agent/NOAH set sport_ o this is what i got after running the ns. please help. Thanks, Hamid 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] Wireless Scenario Generator for NS-2 using MATLAB GUI, Help for some Developments
Hi every body, I've implemented a simple scenario generator for wireless networks to make it easy to simulate wireless nets on NS-2. By the way it's almost customized and I want to develop it for a general field in wireless simulation. That was not so easy for me to compile some available open source scenario generators on windows OS so I made my own using MATLAB GUI environment. Also I've some problems with NS-Mapper software, for example it was not allowed to save settings or running the generator because some plug-ins was not available on my system. My S-Gen is so easy to work, using a very friendly simple environment and I'm trying to make it as friendly as NS-Mapper. So I want to know if you can help me to complete this generator deploy it for distribution as an easy to use Scenario Generator for NS-2 wireless simulation. You can download My_S_Gen source files following this link : http://mailman.isi.edu/mailman/options/ns-users/[EMAIL PROTECTED] Best regards. Hamid Shiri (Phoenix) Email : [EMAIL PROTECTED]
[ns] Wireless Scenario Generator for NS-2 using MATLAB GUI, Help for some Developments
Hi every body, I've implemented a simple scenario generator for wireless networks to make it easy to simulate wireless nets on NS-2. By the way it's almost customized and I want to develop it for a general field in wireless simulation. That was not so easy for me to compile some available open source scenario generators on windows OS so I made my own using MATLAB GUI environment. Also I've some problems with NS-Mapper software, for example it was not allowed to save settings or running the generator because some plug-ins was not available on my system. My S-Gen is so easy to work, using a very friendly simple environment and I'm trying to make it as friendly as NS-Mapper. So I want to know if you can help me to complete this generator deploy it for distribution as an easy to use Scenario Generator for NS-2 wireless simulation. You can download My_S_Gen source files following this link : http://www.4shared.com/file/66383308/5c891e22/My_TG_MATLAB-Src_.html Best regards. Hamid Shiri (Phoenix) Email : [EMAIL PROTECTED]
[ns] Wireless Scenario Generator for NS-2 using MATLAB GUI, Help for some Developments
Hi every body, I've implemented a simple scenario generator for wireless networks to make it easy to simulate wireless nets on NS-2. By the way it's almost customized and I want to develop it for a general field in wireless simulation. That was not so easy for me to compile some available open source scenario generators on windows OS so I made my own using MATLAB GUI environment. Also I've some problems with NS-Mapper software, for example it was not allowed to save settings or running the generator because some plug-ins was not available on my system. My S-Gen is so easy to work, using a very friendly simple environment and I'm trying to make it as friendly as NS-Mapper. So I want to know if you can help me to complete this generator deploy it for distribution as a easy to use Scenario Generator for NS-2 wireless simulation. You can download My_S_Gen source files following this link : http://www.4shared.com/file/66383308/5c891e22/My_TG_MATLAB-Src_.html Best regards. Hamid Shiri (Phoenix) Email : [EMAIL PROTECTED]
[ns] Wireless Scenario Generator for NS-2 using MATLAB GUI, Help for some Developments
Hi every body, I've implemented a simple scenario generator for wireless networks to make it easy to simulate wireless nets on NS-2. By the way it's almost customized and I want to develop it for a general field in wireless simulation. That was not so easy for me to compile some available open source scenario generators on windows OS so I made my own using MATLAB GUI environment. Also I've some problems with NS-Mapper software, for example it was not allowed to save settings or running the generator because some plug-ins was not available on my system. My S-Gen is so easy to work, using a very friendly simple environment and I'm trying to make it as friendly as NS-Mapper. So I want to know if you can help me to complete this generator deploy it for distribution as a easy to use Scenario Generator for NS-2 wireless simulation. You can download My_S_Gen source files following this link : http://mailman.isi.edu/mailman/options/ns-users/[EMAIL PROTECTED] Best regards. Hamid Shiri (Phoenix) Email : [EMAIL PROTECTED]
[ns] Trace file
Hi Can you tell me more details about your simulation ? Wired or wireless ? which type of routing protocol is used in simulation ? and ... Hamid Shiri
Re: [ns] Wireless Scenario Generator for NS-2 using MATLAB GUI, Updated Oct-10-2008
Hi everyone My scenario generator have been updated, help me please to develop it and fix it's probabilistic bugs. You can see about 4 similar messages in the list that caused by bad delivery of my mail server, they are all corrupted. Download Link : http://www.4shared.com/file/66443065/aed1a6f9/MY_TG_MATLAB_Src_.html Regards. Hamid Shiri
Re: [ns] Ns-users, mobile simulation
Does any one has used or knows a good bluetooth scatternet/ad-hoc simulation tool. I found bluehoc, blueware the adaptor of ns-2 but cant find latest documentation and hence getting errors while installation. Your help will be highly regarded. Thanks Hassan
[ns] Fwd: Ns-users Digest, mobile ad-hoc simulation
Hi, I am working on mobile ad-hoc networks and have to do performance analysis of Bluetooth scatternet/ad-hoc networks for which i have run simulations. I came across bluehoc, blueware (bluetooth adaptors to ns2) but can't find any reasonable support/documentation and hence not able to install. Also can't find any place to get code/example scripts for bluetooth tcl scripts for bluetree, bluenet .. I spend lot of time to find/configure environment but sounds like wastage. If you know or have worked on these lines then your help will be highly appreciated. Many thanks Regards Hassan
[ns] Usual and Best Tool For 2D Diagram
Dear all, What is the best and usual tool for translating dat files to 2D-Diagram ? Best Regards Hamid Reza Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
[ns] 802.11 Question(IFS)
Dear All, What happend For a node when a node want to send a packet Recieve another Packet on its IFS(SIFS or DIFS) ? Best Regards Hamid Reza Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097
[ns] CS and EIFS Triggering
Dear all, I m sorry if I give your time again . I have Two questions. Can you help me? 1- How Carrier Sensing(CS) works in below situation? Suppose node A sends a packet to Node B and Node B in transmission range of node A . Does Node B sense Node A after full reception of a packet or node B can sense activity of Node A During this transmission? 2- Suppose a packet trigger EIFS in SIFS duration of a Node. Does EIFS turn on related timer after Expiring SIFS or as soon as Recognizing error in FCS? I m appreciating that hear from you as soon as possible. Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Change the Size of CTS(NS2) on 802.11
Dear all, Can you change the size of CTS(From 14 to 17)? I really appreciate from incomming Comments. Best Regards Hamid R.Afrancheh Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html
[ns] The Exact Value Between Two Subseqent RTS Packets
Dear All, Can You Bring me The Exact Value Between Two Subseqent RTS Packets when The CTS of the First Packet Cant Return To Sender ? I cant find it in IEEE 802.11 Documentation. Best Regards Hamid Reza It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/
[ns] Change Initial Size Of CTS(clear To send)
Dear Ns Users, I want to change the initial Size of CTS From 14 to 17. can you do this work on NS2.27? Best Regards Hamid Reza Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
[ns] Accessing PLCP Header Contents
Dear users, Can you access PLCP header Contents in NS2? I can find PLCPHeader size ,PLCPHeaderRate but I dont know how to access PLCP Header contents? Best Regards Hamid Reza Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
[ns] Accessing to Physical Layer fields From Mac Layer?
Dear Ns users, How Can you Access PLCP Header ( Physical Layer Field ) From Mac Layer ? I need field SIGNAL and LENGTH From PLCP Header on Mac Layer. Best Regards Hamid Reza Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097
[ns] Need Some Changes on IEEE 802.11 Mac Layer.
Dear All, In ECS: an Enhanced Carrier Sensing Mechanism for Wireless Ad-hoc Networks Paper. Authors proposed we can select Best Value For EIFS Based on Frame Length. We know : RTS: 20 bytes, CTS: 14 bytes,ACK: 14 bytes. But Frame length CTS and ACK is Equal. Authors proposed we can increase CTS value to 17. 1- But,How can we do this change in NS2.27? On Next step: Based on Frame length we select a good Value for EIFS: Proposed Values : EIFS(RTS) = SIFS + TxTi m e (CTS ) ; EIFS(CTS)=SIFS+TxTime(Max-Data-Length) ; EIFS(Data)=SIFS+ TxTime(ACK ) ; EIFS(ACK) =DIFS ; EIFS(collisionorunknowntype) =StandardEIFS ; Example if we Receive a frame(it s size equal with 14 bytes)We can find out this frame is ACK Frame and Best Value for EIFS is DIFS. 2- Can you bring me or guide me How can i implement these condition statements? I m appreciating that hear from you as soon as possible kind Regards Hamid Reza Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
[ns] Detailled Manual For How was Implemented Mac802_11.cc and wireless-phy.cc
Deal All, Do you have Detailled Manual For How was Implemented Mac802_11.cc and wireless-phy.cc? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Need Information about IEEE 802.11 Physical Layer
Dear All, Which Format do NS2 use For PLCP PPDU? Which Modulation used For PLCP preamble and PLCP Header and PSDU Propagation? How can i found how many modulations use in physical layer? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Need Information about IEEE 802.11 Physical Layer
The short PLCP header is transmitted using the 2 Mbps in 802.11b . But we can not transmit it on NS2.27 because we have not PLCPHeaderRate in its Implementation. Short Preamble: Mac/802_11 set PreambleLength_ 72 Mac/802_11 set PLCPHeaderLength 48 Mac/802_11 set PLCPDataRate 1e6 I found below coding for short preamble Rate. Is it have bug ? diff -urP mac/mac-802_11.cc mac/mac-802_11.cc~ --- mac/mac-802_11.cc 2006-04-09 00:00:00.0 +0200 +++ mac/mac-802_11.cc~ 2006-04-09 00:01:00.0 +0200 -166,7 +166,9 parent-bind(SIFS_, SIFSTime); parent-bind(PreambleLength_, PreambleLength); parent-bind(PLCPHeaderLength_, PLCPHeaderLength); - parent-bind_bw(PLCPDataRate_, PLCPDataRate); + parent-bind_bw(PLCPhdrRate_, PLCPhdrRate); + parent-bind_bw(PLCPpreambleRate_, PLCPpreambleRate); + parent-bind(basicRate_, basicRate_); } MAC_MIB::MAC_MIB(Mac802_11 *parent) -1397,10 +1399,12 double Mac802_11::txtime(double psz, double drt) { - double dsz = psz - phymib_.getPLCPhdrLen(); - int plcp_hdr = phymib_.getPLCPhdrLen() 3; + double dsz = psz - phymib_.getPLCPhdrLen() - phymib_.getPLCPpreambleLen(); + int plcp_preamble = phymib_.getPLCPpreambleLen() 3; + int plcp_hdr = phymib_.getPLCPhdrLen() 3; int datalen = (int)dsz 3; - double t = (((double)plcp_hdr)/phymib_.getPLCPDataRate()) + double t = (((double)plcp_hdr)/phymib_.getPLCPhdrRate()) + + (((double)plcp_preamble)/phymib_.getPLCPpreambleRate()) + (((double)datalen)/drt); return(t); } diff -urP mac/mac-802_11.h mac/mac-802_11.h~ --- mac/mac-802_11.h 2006-04-09 00:00:00.0 +0200 +++ mac/mac-802_11.h~ 2006-04-09 01:00:00.0 +0200 -143,30 +143,38 inline double getEIFS() { // see (802.11-1999, 9.2.10) return(SIFSTime + getDIFS() - + (8 * getACKlen())/PLCPDataRate); + + (8.0 * ((double) ((getACKlen() 3) - getPreambleLength() - getHdrLength())) / basicRate_) + + ((8.0 + 1.0) * (((double) getPreambleLength())/getPLCPpreambleRate())) + + ((8.0 + 1.0) * (((double) getHdrLength())/getPLCPhdrRate(; } inline u_int32_t getPreambleLength() { return(PreambleLength); } - inline double getPLCPDataRate() { return(PLCPDataRate); } + inline u_int32_t getHdrLength() { return(PLCPHeaderLength); } + inline double getPLCPpreambleRate() { return (PLCPpreambleRate); } + inline double getPLCPhdrRate() { return(PLCPhdrRate); } - inline u_int32_t getPLCPhdrLen() { - return((PreambleLength + PLCPHeaderLength) 3); + inline u_int32_t getPLCPpreambleLen() { + return(PreambleLength 3); } + inline u_int32_t getPLCPhdrLen() { + return(PLCPHeaderLength 3); + } + inline u_int32_t getHdrLen11() { - return(getPLCPhdrLen() + sizeof(struct hdr_mac802_11) + return(getPLCPpreambleLen() + getPLCPhdrLen() + sizeof(struct hdr_mac802_11) + ETHER_FCS_LEN); } inline u_int32_t getRTSlen() { - return(getPLCPhdrLen() + sizeof(struct rts_frame)); + return(getPLCPpreambleLen() + getPLCPhdrLen() + sizeof(struct rts_frame)); } inline u_int32_t getCTSlen() { - return(getPLCPhdrLen() + sizeof(struct cts_frame)); + return(getPLCPpreambleLen() + getPLCPhdrLen() + sizeof(struct cts_frame)); } inline u_int32_t getACKlen() { - return(getPLCPhdrLen() + sizeof(struct ack_frame)); + return(getPLCPpreambleLen() + getPLCPhdrLen() + sizeof(struct ack_frame)); } private: -180,7 +188,9 double SIFSTime; u_int32_t PreambleLength; u_int32_t PLCPHeaderLength; - double PLCPDataRate; + double PLCPhdrRate; + double PLCPpreambleRate; + double basicRate_; }; __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] How EIFS Trigger on NS2 ?
Dear All, How EIFS trigger on Mac 802.11 ? I cant find how EIFS trigger in its implementation? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] how to find the SNR and BER
hi, this link can help you http://www.comp.nus.edu.sg/~wuxiucha/research/reactive/report/80211ChannelinNS2_new.pdf#search=%2280211ChannelinNS2_new%22 best regards hamid reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Mean of Trace file : Ad-hoc
Hi, I used NS2.27 as my simulation Tool. Trace File Content are: s 1.00070 _0_ AGT --- 1 cbr 500 [0 0 0 0] --- [0:0 6:0 32 0] [1] 0 0 s 1.031376315 _5_ MAC --- 0 ARP 80 [13a 6 5 806] --- [REPLY 5/5 6/6] s 1.000595000 _0_ MAC --- 0 AODV 100 [0 0 800] --- [0:255 -1:255 30 0] [0x2 1 1 [6 0] [0 4]] (REQUEST) r 1.054225914 _1_ MAC --- 0 ACK 38 [0 1 0 0] s 1.112215771 _3_ MAC --- 0 RTS 44 [4cd 4 3 0] r 1.112318831 _1_ MAC --- 0 RTS 44 [4cd 1 0 0] s 1.112578305 _4_ MAC --- 0 CTS 38 [393 3 0 0] D 1.148260134 _3_ MAC COL 0 RTS 44 [4cd 3 2 0] Do you have any trace format for this one? I am Familiar with Some Sections of this trace file. But I m confused From some Sections(example . How do you read it? What are the mean of --- and -- --- -- delimiters? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [ns] Relation Between CSThresh_, RXThresh_ , Distance, Pt_ and Reciever Sensivity in 802.11b
Dear All , I Read Many Comments on Archive and Ns Coding: I know that a Cross Over Paramete exist For differing Between Short and Long Distance Propagation Model on Using Two-RayGround Model. If Below of Cd Use Friis Equation but on higher than It uses Main Two-ray Ground Equation. The packet signal strength is compared against CSThresh_ and RxThresh_ of the physical interface. If the Pr CSThresh_ then the packet is dropped as noise. If RxThresh_ Pr CSThresh_ the packet will be marked as packet error prior to be passed to MAC layer and Set its (EIFS)--- . Is this true? In My idea CSThresh Equal with WLAN 802.11 b Reciever Sensivity.Because Interface sense packets(may be noisy). Is this True? But How Can I Calculate CSRange And RXrange For Node Positioning? On Threshold.cc file but it can tell me only Pr on special distance and distance be its input parameters. I need a program that I give my Reciever sencivity and pt_ to it and Return me CSRang and RXrange. Or I should use Two Ray Ground Equation for this issue. Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Usual Mistake
Hi All, Most people used below instruction for calculating a bandwidth #Calculate the bandwidth (in MBit/s) and write it to the files puts $grfd $now [expr $bw1/$time*8/1024/1024] [expr $bw2/$time*8/1024/1024] [expr $bw3/$time*8/1024/1024] But I Think The Correct one is : #Calculate the bandwidth (in MBit/s) and write it to the files puts $grfd $now [expr $bw1*8/$time/1024/1024] [expr $bw2/$time*8/1024/1024] [expr $bw3/$time*8/1024/1024] I did this on ns set x 5; set y 2; puts [expr $x/$y*8/2/2]; output :4 but set x 5; set y 2; puts [expr $x*8/$y/2/2]; output: 5 Whay is your ideas? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Usual Mistake
Thanks For you Responses, But I dont know Are Bytes Recieved From Agents Store as double in bw variable or store at int in it? if store as double anything be ture. but if store as int this bug exist in our codes. Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Relation Between CSThresh_, RXThresh_ , Distance, Pt_ and Reciever Sensivity in 802.11b
Hi All, I have Static WLAN 802.11b Scenario. I used TwoRayGround For Propagation. I want to Calculate Good Positioning of My Nodes. In Spec Tec of Real WLAN 802.11b Card we Have Receiver Sensivity And Power Output. I knew that Power output Equal with Pt_. But How can I relate Between other parameters. Can Anyone Help me in this issue? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] send a reply to a special comment
hi all, I have a question : How can I send a reply to a special comment in this topic? Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] How catch Parameters of 802.11 wireless Network Card?
Thanks For your response, we have a tech spec for special WLAN Card. How can I convert its specifications to NS2 Parameters? Example How can I retrieve CSThresh_ and Pt_ and ... From a spec tech on special WLAN Card. Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] How catch Parameters of 802.11 wireless Network Card?
Thanks For your response, we have a tech spec for special WLAN Card. How can I convert its specifications to NS2 Parameters? Example How can I retrieve CSThresh_ and Pt_ and ... From a spec tech on special WLAN Card. Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Need Simple Simulated Script For a Practical Paper
Hi, Does anyone have a simple simulated Script for a Practical Paper? That I understand How Simulate A Practical Paper. Thanks in advance For Your Helps. Best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ns] Path Environment For Root User
Hi, How can I set path environment in linux redhat 9? and have sure from my true setting of path environment? I installed ns2.18ba for Root user. best Regards Hamid Reza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com