i am implementing multicast routing protocol in wireless mesh network using ns2, so how to write code for wireless using otc.
from, Gurudevi Patil MTech student BVB college Hubli On Sat, Mar 27, 2010 at 5:30 AM, <[email protected]> wrote: > Send Ns-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > 1. emraan sk has invited you to open a Google mail account > (emraan sk) > 2. Re: Ns-users Digest, Vol 75, Issue 24 (emraan sk) > 3. data paket returning automatically to the source address > after arriving to the destination (Ghofrane) > 4. Abnormal behavior of nodes in ns2....why?? (ankit kesharwani) > 5. Sequence diagram for tracing packets in mac802.11 (deepthi p) > 6. I need a simple WiMAX SIMULATION to understand > (adahamu Al-Shathili) > 7. Re: How to recomplie ns2 using make command? (The Learner) > 8. MIH+NS2.33 (meriem bouzouita) > 9. NS2.33 installation (meriem bouzouita) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 26 Mar 2010 09:47:30 +0530 > From: emraan sk <[email protected]> > Subject: [ns] emraan sk has invited you to open a Google mail account > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > I've been using Gmail and thought you might like to try it out. Here's > an invitation to create an account. > > ----------------------------------------------------------------------- > > emraan sk has invited you to open a free Gmail account. > > To accept this invitation and register for your account, visit > http://mail.google.com/mail/a-c90bb02a94-cc35961f22-a41a5ec66b1aca9a > > Once you create your account, emraan sk will be notified with > your new email address so you can stay in touch with Gmail! > > If you haven't already heard about Gmail, it's a new search-based webmail > service that offers: > > - Over 2,700 megabytes (two gigabytes) of free storage > - Built-in Google search that instantly finds any message you want > - Automatic arrangement of messages and related replies into > "conversations" > - Powerful spam protection using innovative Google technology > - No large, annoying ads--just small text ads and related pages that are > relevant to the content of your messages > > To learn more about Gmail before registering, visit: > http://mail.google.com/mail/help/benefits.html > > And, to see how easy it can be to switch to a new email service, check > out our new switch guide: http://mail.google.com/mail/help/switch/ > > We're still working every day to improve Gmail, so we might ask for your > comments and suggestions periodically. We hope you'll like Gmail. We > do. And, it's only going to get better. > > Thanks, > > The Gmail Team > > (If clicking the URLs in this message does not work, copy and paste them > into the address bar of your browser). > > > > ------------------------------ > > Message: 2 > Date: Fri, 26 Mar 2010 09:47:12 +0530 > From: emraan sk <[email protected]> > Subject: Re: [ns] Ns-users Digest, Vol 75, Issue 24 > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi my name is Imran and i am doing DART project so can anyone plz tell how > to do it in ns2.34 Help Please urgent > > On Thu, Mar 25, 2010 at 5:30 AM, <[email protected]> wrote: > > > Send Ns-users mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mailman.isi.edu/mailman/listinfo/ns-users > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Ns-users digest..." > > > > > > Today's Topics: > > > > 1. Multiple movement patterns (John Adams) > > 2. Saving the received beacons in VANET (???) > > 3. Is there any way to SHUTDOWN a MobileNode? (darkblue winnie) > > 4. Re: Is there any way to SHUTDOWN a MobileNode? > > (Sergio Luis O. B. Correia) > > 5. Re: Is there any way to SHUTDOWN a MobileNode? (darkblue winnie) > > 6. Analysis of trace file of wireless networks (ankit kesharwani) > > 7. Re: Is there any way to SHUTDOWN a MobileNode? > > (Francesco Salpietro) > > 8. isabelle haudecoeur (john peter) > > 9. How are mac802.11 packets traced in cmu-trace.cc? (deepthi p) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Tue, 23 Mar 2010 20:12:39 -0400 > > From: John Adams <[email protected]> > > Subject: [ns] Multiple movement patterns > > To: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hi, > > > > Does any one know if there is a way to define multiple movement patterns > in > > a wireless simulation. For instance if I have 20 nodes and I want 10 of > > them > > to have a movement pattern generated in one file and the last 10 of them > > have the movement pattern generated in another file. Is there any way? > > > > Thanks, > > John > > > > > > ------------------------------ > > > > Message: 2 > > Date: Wed, 24 Mar 2010 11:54:00 +0900 > > From: ??? ???[RASHEED HUSSAIN] <[email protected]> > > Subject: [ns] Saving the received beacons in VANET > > To: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Dear NS2 Uers > > I am implementing VANET in NS2. I have implemented the beaconing > mechansim > > in NS2. > > Now i want a vehicle to save the incoming beacons for cross-check. my > > beacons are going beyond one-hop. So i have to check for duplicity. Any > > suggetions, how it can be done? > > For Example i define some node to re-broadcast the beacon which it > > received. > > Now a neighbor node may already have got this beacon, but will again > > receive > > the re-broadcasted beacon. So the node should drop the duplicate beacon. > > > > Thanks in advance! > > > > Rasheed > > > > > > ------------------------------ > > > > Message: 3 > > Date: Wed, 24 Mar 2010 14:43:29 +0200 > > From: darkblue winnie <[email protected]> > > Subject: [ns] Is there any way to SHUTDOWN a MobileNode? > > To: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hi, > > > > I am currently implementing a protocol in wireless network. I use 802.11 > as > > MAC, AODV as the routing protocol, and also use the Energy_Model to track > > energy. > > Now I have finished the basic protocol and want to do a simulation. > > > > But I need to shutdown a MobileNode during the simulation, which means > the > > node should be totally OFF or at least does not transmit any packet. > > I have search a lot and do not find a right answer.... > > > > So, is there any way to shut down the mobile node either in the Otcl > script > > or in the cpp code? > > > > Thank you in advance. > > > > Yi Gong > > > > > > ------------------------------ > > > > Message: 4 > > Date: Wed, 24 Mar 2010 12:37:12 -0300 > > From: "Sergio Luis O. B. Correia" <[email protected]> > > Subject: Re: [ns] Is there any way to SHUTDOWN a MobileNode? > > To: darkblue winnie <[email protected]> > > Cc: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hello, > > > > have you tried calling "reset" for the node you want to turn off? > > something like > > > > # tell all nodes when the simulation ends > > for { set i 0 } { $i < $opt(nn) } { incr i } { > > $ns_ at $opt(stop).0 "$node_($i) reset"; > > } > > > > > > att, > > sergio > > > > On Wed, Mar 24, 2010 at 9:43 AM, darkblue winnie > > <[email protected]> wrote: > > > > > > Hi, > > > > > > I am currently implementing a protocol in wireless network. I use > 802.11 > > as > > > MAC, AODV as the routing protocol, and also use the Energy_Model to > track > > > energy. > > > Now I have finished the basic protocol and want to do a simulation. > > > > > > But I need to shutdown a MobileNode during the simulation, which means > > the > > > node should be totally OFF or at least does not transmit any packet. > > > I have search a lot and do not find a right answer.... > > > > > > So, is there any way to shut down the mobile node either in the Otcl > > script > > > or in the cpp code? > > > > > > Thank you in advance. > > > > > > Yi Gong > > > > > > > > > > > -- > > Computer Networks and Security Laboratory (LARCES) > > State University of Ceara (UECE/Brazil) > > > > > > > > ------------------------------ > > > > Message: 5 > > Date: Wed, 24 Mar 2010 17:55:10 +0200 > > From: darkblue winnie <[email protected]> > > Subject: Re: [ns] Is there any way to SHUTDOWN a MobileNode? > > To: "Sergio Luis O. B. Correia" <[email protected]> > > Cc: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hi, > > > > Thank you for your reply first. :) > > > > I have tried "reset" command, but there seems to be no difference. > > I guess the reset command just reset the node and its lower layers > (without > > the attached agent) to its initial (default) state, but after that, the > > node > > start to work from the default state. > > > > By the way, I have found a tricky way to deal with it... > > Because I use energy_model in my simulation, I just set the energy of the > > node to 0 and it stops sending and receiving packets. > > And I need to declare my class as friend class in EnergyModel because the > > energy_ is a protected variable. > > And I also need to change my agent to realize this function and also let > it > > stop when the energy set to zero. > > > > > > On Wed, Mar 24, 2010 at 5:37 PM, Sergio Luis O. B. Correia < > > [email protected]> wrote: > > > > > Hello, > > > > > > have you tried calling "reset" for the node you want to turn off? > > > something like > > > > > > # tell all nodes when the simulation ends > > > for { set i 0 } { $i < $opt(nn) } { incr i } { > > > $ns_ at $opt(stop).0 "$node_($i) reset"; > > > } > > > > > > > > > att, > > > sergio > > > > > > On Wed, Mar 24, 2010 at 9:43 AM, darkblue winnie > > > <[email protected]> wrote: > > > > > > > > Hi, > > > > > > > > I am currently implementing a protocol in wireless network. I use > > 802.11 > > > as > > > > MAC, AODV as the routing protocol, and also use the Energy_Model to > > track > > > > energy. > > > > Now I have finished the basic protocol and want to do a simulation. > > > > > > > > But I need to shutdown a MobileNode during the simulation, which > means > > > the > > > > node should be totally OFF or at least does not transmit any packet. > > > > I have search a lot and do not find a right answer.... > > > > > > > > So, is there any way to shut down the mobile node either in the Otcl > > > script > > > > or in the cpp code? > > > > > > > > Thank you in advance. > > > > > > > > Yi Gong > > > > > > > > > > > > > > > > -- > > > Computer Networks and Security Laboratory (LARCES) > > > State University of Ceara (UECE/Brazil) > > > > > > > > > ------------------------------ > > > > Message: 6 > > Date: Wed, 24 Mar 2010 10:57:15 +0530 > > From: ankit kesharwani <[email protected]> > > Subject: [ns] Analysis of trace file of wireless networks > > To: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > ---------- Forwarded message ---------- > > From: ankit kesharwani <[email protected]> > > Date: Wed, Mar 24, 2010 at 3:23 AM > > Subject: Analysis of trace file of wireless networks > > To: [email protected] > > > > > > Hi, > > I am new to ns2 and I have project in which i have to simulate wireless > > mobile network,so I need some help in analyzing the trace file of > wireless > > simulation in ns2 > > > > Actually In my project ,there is need of information like time at which > the > > particular node will recieve the first packet from the mobile node and > time > > at which it recieve the last packet from the mobile node. > > > > Also suggest any tool to analyse the trace file. > > I have seen one tool known as "trace file analyzer" but don't know how to > > use it and not get any info > > regarding it. > > > > > > with regards > > Ankit Kesharwani > > M.tech > > Indian Institute of Technology ,Kanpur > > India > > > > > > ------------------------------ > > > > Message: 7 > > Date: Wed, 24 Mar 2010 18:37:49 +0100 > > From: Francesco Salpietro <[email protected]> > > Subject: Re: [ns] Is there any way to SHUTDOWN a MobileNode? > > To: [email protected] > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=us-ascii > > > > #include <mobilenode.h> > > #include <god.h> > > #include <phy.h> > > #include <wireless-phy.h> > > #include <energy-model.h> > > > > > > em = <thisnode>->energy_model(); > > em->node_on() = false; > > > > // notify phy > > p = (thisnode->ifhead()).lh_first; > > if (p) { > > ((WirelessPhy *)p)->node_off(); > > } > > > > > > > > > > Il giorno 24/mar/2010, alle ore 16.37, Sergio Luis O. B. Correia ha > > scritto: > > > > > > > > Hello, > > > > > > have you tried calling "reset" for the node you want to turn off? > > > something like > > > > > > # tell all nodes when the simulation ends > > > for { set i 0 } { $i < $opt(nn) } { incr i } { > > > $ns_ at $opt(stop).0 "$node_($i) reset"; > > > } > > > > > > > > > att, > > > sergio > > > > > > On Wed, Mar 24, 2010 at 9:43 AM, darkblue winnie > > > <[email protected]> wrote: > > >> > > >> Hi, > > >> > > >> I am currently implementing a protocol in wireless network. I use > 802.11 > > as > > >> MAC, AODV as the routing protocol, and also use the Energy_Model to > > track > > >> energy. > > >> Now I have finished the basic protocol and want to do a simulation. > > >> > > >> But I need to shutdown a MobileNode during the simulation, which means > > the > > >> node should be totally OFF or at least does not transmit any packet. > > >> I have search a lot and do not find a right answer.... > > >> > > >> So, is there any way to shut down the mobile node either in the Otcl > > script > > >> or in the cpp code? > > >> > > >> Thank you in advance. > > >> > > >> Yi Gong > > >> > > > > > > > > > > > > -- > > > Computer Networks and Security Laboratory (LARCES) > > > State University of Ceara (UECE/Brazil) > > > > > > > > > > > > > ------------------------------ > > > > Message: 8 > > Date: Wed, 24 Mar 2010 12:11:19 -0700 (PDT) > > From: john peter <[email protected]> > > Subject: [ns] isabelle haudecoeur > > To: "[email protected]" <[email protected]>, > > "[email protected]" <[email protected]>, "[email protected]" > > <[email protected]>, "[email protected]" > > <[email protected]> > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=us-ascii > > > > http://www.altosdejoseignacio.com.uy/lndex.html > > > > > > > > > > > > > > ------------------------------ > > > > Message: 9 > > Date: Wed, 24 Mar 2010 12:44:17 -0700 > > From: deepthi p <[email protected]> > > Subject: [ns] How are mac802.11 packets traced in cmu-trace.cc? > > To: [email protected] > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hi all, > > > > I am working on the cmu-trace file to print the backoff values in the > > old/new trace files, > > but I am unable to correctly figure out the logical link from the mac > > 802.11 > > packets traced into cmu-trace.cc code. > > > > Could anyone help me regarding this, > > Thanks in advance, > > > > -- > > regards, > > deepthi > > > > > > ------------------------------ > > > > _______________________________________________ > > Ns-users mailing list > > [email protected] > > http://mailman.isi.edu/mailman/listinfo/ns-users > > > > > > End of Ns-users Digest, Vol 75, Issue 24 > > **************************************** > > > > > ------------------------------ > > Message: 3 > Date: Fri, 26 Mar 2010 07:30:02 -0700 (PDT) > From: Ghofrane <[email protected]> > Subject: [ns] data paket returning automatically to the source address > after arriving to the destination > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=iso-8859-1 > > Hello, > I implemented? a function to forward data packets in my routing protocol > and I noticed? > that the data packet is forwarded from a node to another and when it > arrives > to the destination node, the destination address changes automatically > to the source address, so every packet, goes to the destination node, and > after that? it returns to the source, but I want that the procedure will > finish when it just? arrives to the destination. > the code is below: > > void? > Protocol::forward_data(Packet* p) { > ????? struct hdr_cmn* ch = HDR_CMN(p); > ????? struct hdr_ip* ih = HDR_IP(p); > ? > ????? if (ih->daddr() == ra_addr()) { > tcl.evalf("puts \" (forward_data)data packet arrived to destination\""); > ????????? dmux_->recv(p, 0); > ????????? return; > ???? } > else > {ch->direction() = hdr_cmn::DOWN; > ???????? ch->addr_type() = NS_AF_INET; > ???????? if ((u_int32_t)ih->daddr() == IP_BROADCAST) > ???????????? ch->next_hop() = IP_BROADCAST; > ???????? else { > ????????????????????? nsaddr_t next_hop = rtable_.lookup(ih->daddr()); > > ? ? ? ? ? ? ? ? ? ??? ch->next_hop() = next_hop; > ? } > ? Scheduler::instance().schedule(target_, p, 0.0); > } > > > > Any suggestions please? > Thank you. > > > > > > ------------------------------ > > Message: 4 > Date: Fri, 26 Mar 2010 20:32:49 +0530 > From: ankit kesharwani <[email protected]> > Subject: [ns] Abnormal behavior of nodes in ns2....why?? > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > I have project on mobile tracking in sensor network in which i have to > simulate in ns2, but i stuck at some place in ns2 please look on > it...... > I made three nodes in the scenario and one node is moving towards the > other two node,so in normal situation when moving node > come? in the range of any one of the other two node then there should > be the data transfer between them. > > My problem is that when i change the position of sensor node then it does > not work. That is it does not communicate with mobile node when it comes > in range (after changing sensor location). The same thing happen if i > change initial location of mobile node (from where it starts). i am > attaching my code with this mail, it is very short code. > Please see it, please i am stuck up badly. > > > Or you can give me if you have some sample code of target tracking in WSN > in NS2 in which i can specify range of sensor node. > > > Thanks!!! > > with regards > Ankit Kesharwani > M.Tech > IIT Kanpur ,India > > ------------------------------ > > Message: 5 > Date: Wed, 24 Mar 2010 16:07:44 -0700 > From: deepthi p <[email protected]> > Subject: [ns] Sequence diagram for tracing packets in mac802.11 > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > Is there any sequence diagram for tracing the packets in MAC 802.11 into > the > trace file? > Please let me know. > Thanks in advance. > > -- > regards, > deepthi > > > ------------------------------ > > Message: 6 > Date: Fri, 26 Mar 2010 19:58:02 +0300 > From: adahamu Al-Shathili <[email protected]> > Subject: [ns] I need a simple WiMAX SIMULATION to understand > To: ns-users <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > I need a simple WiMAX SIMULATION to understand > I dnt understand how to make a SS And BS in wimax > > i APPRECIATE YOUR HELP > > > ------------------------------ > > Message: 7 > Date: Fri, 26 Mar 2010 10:07:29 -0700 (PDT) > From: The Learner <[email protected]> > Subject: Re: [ns] How to recomplie ns2 using make command? > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > > After using /.configure command, I get the following error - configure: > error: Installation of tclcl seems incomplete or can't be found > automatically. > Please correct the problem by telling configure where tclcl is using the > argument --with-tclcl=/path/to/package (perhaps after installing it), or > the > package is not required, disable it with --with-tclcl=no. > > How do I check if tclcl is installed in ununbtu 9.10? If not what should I > do? > > Regards, > The Learner > > -- > View this message in context: > http://old.nabble.com/How-to-recomplie-ns2-using-make-command--tp27950947p28045359.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 8 > Date: Fri, 26 Mar 2010 12:55:06 -0700 (PDT) > From: meriem bouzouita <[email protected]> > Subject: [ns] MIH+NS2.33 > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=iso-8859-1 > > Hello, > I want to know if NS2.33 implements MIH(802.21) or there? is a patch of MIH > that should be added under NS2.33. > Thanks a lot. > Best regards. > > > > > ------------------------------ > > Message: 9 > Date: Fri, 26 Mar 2010 14:16:58 -0700 (PDT) > From: meriem bouzouita <[email protected]> > Subject: [ns] NS2.33 installation > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > Hello, > I'm trying to install NS2.33 under Windows XP. but when at the end of the > simulation, I get: > Creating library file: libns.dll.a > g++ -DNSLIBNAME = \?libns.dll\? -Wl, -export-dynamic -o ns > common/mai-modular.cc -ldl > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../i686-pc-cygwin/bin/ld: cannot > find ldl > Collect2: ld returned 1 exit status > Make: *** [ns] Error 1 > Ns Make failed > So please how can I solve this problem, > Thanks a lot, > Best regards. > > > > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > [email protected] > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 75, Issue 26 > **************************************** >
