[ns] reactive routing protocols in WSNs
Al Salamo Alikom Dears, I have a question, it seems some theoretical, in WSNs, is reactive (on-demand) routing protocols more suitable for mobile networks and shouldn't use (or has less benefits) for static network? Is it feasible for a WSN to be static in real life?!! isn't deployed in a harsh environment and have no specific location!! Thanks in advance
[ns] [NS-ANS] Regarding AODV protocol
Al Salamo Aliqum Dear Dinesh, AODV is already implemented in NS2, I use NS2.34 version, you can find the implementation on /home/.../ns-allinone-2.34/ns-2.34/aodv Concerning preventing blackhole attack, kindly check this, http://elmurod.net/?p=196 Good Luck Mariam On Mon, Sep 19, 2011 at 6:25 AM, Dineshkumar Dinesh dinesh_...@ymail.comwrote: Hello friends... I am doing the project Prevention of blackhole attack in mobile adhoc network. I am going to implement my project in aodv protocol. So, If you have the aodv protocol implementation file with namtrace file...kindly send it to me.. Advanced Thanks, by dinesh kumar
Re: [ns] [NS-ANS] counting control packet in trace file
Al Salamo Alikom, Here is the AWK calculation of total_RTRpackets_sent, the control packets sent by the RTR #defining the variables to be used to store every field in the trace line event = $1; layer = $4; if(event != N) { if (layer == RTR) { if(event == s || event == f) { total_RTRpackets_sent++; } } } On Thu, Sep 8, 2011 at 1:02 PM, jeni martin jeni_m...@yahoo.com wrote: Dear all, I wanted to count control packets in the trace file by using awk file, but I don't know which packets are control packet as the most type of packets are cbr from routing layer (RTR).can anyone tell me which kinds of packet are control packet in trace file? Regards,
Re: [ns] [NS-ANS] counting control packet in trace file
This may help, http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats - #explanation of trace file #ACTION: [s|r|D]: s -- sent, r -- received, D -- dropped #WHEN: the time when the action happened #WHERE: the node where the action happened #LAYER: AGT -- application, # RTR -- routing, # LL -- link layer (ARP is done here) # IFQ -- outgoing packet queue (between link and mac layer) # MAC -- mac, # PHY -- physical #flags: #SEQNO: the sequence number of the packet #TYPE: the packet type # cbr -- CBR data stream packet # DSR -- DSR routing packet (control packet generated by routing) # RTS -- RTS packet generated by MAC 802.11 # ARP -- link layer ARP packet #SIZE: the size of packet at current layer, when packet goes down, size increases, goes up size decreases #[a b c d]: a -- the packet duration in mac layer header # b -- the mac address of destination # c -- the mac address of source # d -- the mac type of the packet body # energy [ energy w ei x es y et z er m ]: # w -- the total energy of the node # x -- the total energy consumed while the node was in idle state # y -- the total energy consumed while the node was in sleep state # z -- the total energy consumed during packet transmission # m -- the total energy consumed during packet reception # flags: # #[..]: [ # source node ip : port_number # destination node ip (-1 means broadcast) : port_number # ip header ttl # ip of next hop (0 means node 0 or broadcast) # ] Dear all, I wanted to count control packets in the trace file by using awk file, but I don't know which packets are control packet as the most type of packets are cbr from routing layer (RTR).can anyone tell me which kinds of packet are control packet in trace file? Regards,
Re: [ns] [NS-ANS] multicast routing
http://elmurod.net/?p=157 http://www.shigs.co.uk/?p=4 http://issuu.com/adioshun/docs/implementing_a_new_manet_unicast_routing_protocol _ Good luck On Sun, Aug 21, 2011 at 10:23 AM, Zeinab Rezaiefar z.rezaie...@yahoo.comwrote: hi friends does any one have any paper on how to write or add multicast MANET routing or multicast VANET routing in ns2? it is urgent for me. i want to know how to write multicast table... any help will be appreciate. best regards
Re: [ns] NS-Users Q-process Guideline
Dear Tom, Thanks a lot for your important points, I encourage the point of WIKI too much..., concerning the admins or moderated, how can we reach them?! and really Greate Work @ NS3-Wiki, we hope the same here... Thanks dear, Mariam On Mon, Aug 15, 2011 at 6:16 PM, Tom Henderson t...@tomh.org wrote: On 08/15/2011 01:45 AM, Mariam A. Moustafa wrote: Dear Teerawat, Actually I have thought in this issue for a long time :) I think, there is an admin of this list and this is his responsability!! Else we have another silly choice, what about sending this guideline periodically, say at the start of each month. (I may do this silly task :( ) to notify the new members and review with the older. In fact the really gain from this guideline is sending the answer using RELPY TO ALL, this will save the answers. Kindly, if you have any other suggestions, please share with us. Thanks Mariam Here are a few thoughts on this topic. This issue has been around for as long as the list itself (~15 years) and admins have tried to deal with it through various mechanisms: - First-time posters bounce message - Monthly FAQ on ns-2 sent out automatically - Make people subscribe through a gateway web page that asks them to follow list rules. (http://www.isi.edu/nsnam/ns/ns-dev-list.html has done this for the developers list) Despite this, some people will always ask the list first, without searching. This will be unavoidable in an unmoderated list. I think there are two basic options here: 1) (moderated) more intrusive moderation of the list, and bouncing inappropriate questions from first-time posters with some suggestions about how they need to improve their question. This is probably nicer for everyone on the list (improving signal to noise ratio) but is a lot of work for the moderator. 2) (unmoderated) keep up with some combination of what we are doing now, perhaps with some updates from the ideas in this thread Unless someone or some small group of individuals wants to take on active moderation duties (note, I do not want to do this myself), I think that some of the ideas in this thread can be used to enhance what has already been done; namely, an (improved) monthly FAQ/posting guidelines reminder, also sent to new list members if possible upon successful subscription, the first time posters bounce script, and having people click through a web page with the posting rules, before getting to the subscription page. Another thing we have been doing occasionally on ns-3 is to try to answer some FAQs by writing the answers on a wiki page, and point people to this wiki in the reply, rather than answering in line on the list: http://www.nsnam.org/wiki/index.php/HOWTOs Then, people discover the presence of this wiki. If someone wants to be a wiki curator of an ns-2 FAQ/HOWTO, we could set that up too. - Tom
Re: [ns] NS-Users Q-process Guideline
On Tue, Aug 16, 2011 at 12:38 PM, Teerawat@UBC teera...@ece.ubc.ca wrote: Dear Tom, Thanks for your comments. It is quite hard to find a moderator, indeed. It would be hard to do so. I'm not quite sure how to fix the problem, except for putting [NS-ANS] tag on the subject *and useing REPLY TO ALL to answer a question :).* A lot of mail clients can do the filter and shows on the answer. In fact, what I have done so far is as follows. I've been blogging about NS2 regularly at ns2ultimate.com. When I see the question that can be answered with my blog, I just refer those people to my blog. For those who do not ask responsibly, e.g., please send me the source code of protocols, I direct them to my blog post on Ethic. http://www.ns2ultimate.com/post/535741560/assistance-and-ethics *Thanks alot Teerawat for these useful links (blog and fun page...)* Best Regards, Teerawat On Aug 16, 2011, at 4:03 PM, Mariam A. Moustafa wrote: Dear Tom, Thanks a lot for your important points, I encourage the point of WIKI too much..., concerning the admins or moderated, how can we reach them?! and really Greate Work @ NS3-Wiki, we hope the same here... Thanks dear, Mariam On Mon, Aug 15, 2011 at 6:16 PM, Tom Henderson t...@tomh.org wrote: On 08/15/2011 01:45 AM, Mariam A. Moustafa wrote: Dear Teerawat, Actually I have thought in this issue for a long time :) I think, there is an admin of this list and this is his responsability!! Else we have another silly choice, what about sending this guideline periodically, say at the start of each month. (I may do this silly task :( ) to notify the new members and review with the older. In fact the really gain from this guideline is sending the answer using RELPY TO ALL, this will save the answers. Kindly, if you have any other suggestions, please share with us. Thanks Mariam Here are a few thoughts on this topic. This issue has been around for as long as the list itself (~15 years) and admins have tried to deal with it through various mechanisms: - First-time posters bounce message - Monthly FAQ on ns-2 sent out automatically - Make people subscribe through a gateway web page that asks them to follow list rules. (http://www.isi.edu/nsnam/ns/ns-dev-list.html has done this for the developers list) Despite this, some people will always ask the list first, without searching. This will be unavoidable in an unmoderated list. I think there are two basic options here: 1) (moderated) more intrusive moderation of the list, and bouncing inappropriate questions from first-time posters with some suggestions about how they need to improve their question. This is probably nicer for everyone on the list (improving signal to noise ratio) but is a lot of work for the moderator. 2) (unmoderated) keep up with some combination of what we are doing now, perhaps with some updates from the ideas in this thread Unless someone or some small group of individuals wants to take on active moderation duties (note, I do not want to do this myself), I think that some of the ideas in this thread can be used to enhance what has already been done; namely, an (improved) monthly FAQ/posting guidelines reminder, also sent to new list members if possible upon successful subscription, the first time posters bounce script, and having people click through a web page with the posting rules, before getting to the subscription page. Another thing we have been doing occasionally on ns-3 is to try to answer some FAQs by writing the answers on a wiki page, and point people to this wiki in the reply, rather than answering in line on the list: http://www.nsnam.org/wiki/index.php/HOWTOs Then, people discover the presence of this wiki. If someone wants to be a wiki curator of an ns-2 FAQ/HOWTO, we could set that up too. - Tom
Re: [ns] NS-Users Q-process Guideline
Dear Teerawat, Actually I have thought in this issue for a long time :) I think, there is an admin of this list and this is his responsability!! Else we have another silly choice, what about sending this guideline periodically, say at the start of each month. (I may do this silly task :( ) to notify the new members and review with the older. In fact the really gain from this guideline is sending the answer using RELPY TO ALL, this will save the answers. Kindly, if you have any other suggestions, please share with us. Thanks Mariam On Mon, Aug 15, 2011 at 7:29 AM, Teerawat@UBC teera...@ece.ubc.ca wrote: Dear Mariam, Thanks a lot for the conclusion. It looks good to me. But we still have one problem. Where are we going to put this guideline? I mean, most of the new comers would come directly to this page, not reading this guideline. We need a place where we can point them to read this guideline. Best Regards, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Aug 14, 2011, at 1:19 AM, Mariam A. Moustafa wrote: Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS-Users According to our discussion in the mail of a subject [VIP] Discussion, We agreed on these guidelines to effectively manage the question's process on this mailing list Here is the rules: (please mention, if I forget a thing) --- *1- To minimize the trivial question, the asker should search the archiving first to find the answer else if doesn't exist, kindly pay some efforts and time to google for the answer else send here!* * * *2- The answer of elaborated questions will be sent for the all user not only the asker with a tag [NS-ANS]* * * *3- Homework and college's assignment are prevented to be solved here, only if a guidance for a piece of work.* That's all, hope to follow these rules for good utilizing this list, and thanks a lot for all active members for participating in expressing this guideline. At the end, we would like to thank Mohit Tahiliani for start following the rules on his reply [ns] [NS-ANS]: how to change the node color with energy consumption Thanks dears, hope the best for all of you Mariam
Re: [ns] [VIP] Discussion
As it is a free-will, we can agree on rules which enhance the asking process! we have two ways: 1- after his problem is solved the asker is responsible for forwarding the detailed answer (only one detailed full answer). 2- those who answered even if a partial answer, send the answer to all not in private. (so we will have many of partial answers by compiling them we can get the full answer). else this archiving is useless and becomes full of repeated questions with no answers! and if we lost the active members here, the list will die :) it is just a suggestion! Thanks all, Mariam On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBC teera...@ece.ubc.ca wrote: Hi, I think what Mariam means is to post the solved problem. Although, people use REPLY ALL to post the answer. We don't know whether the answer really solve the solution. As for me, most of the time, I only give a partial answer, leaving the askers something to think of by themselves. This forces the askers not to rely entirely on anwerers. But again, NS2 mailing list exists on free-will only. We can't force people to do things (even if they are good things). In the end, it would be up to people on the list. Best, Teerawat On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote: Hi every body (salam) I think It's completely true, but in another groups (like yahoogroup) the sender of e-mail is yahoogroup, so when we reply to e-mail it will forward to group, and then all it's users. I think it must be like that in ns-users group! with special thanks to mariam: Fahimeh From: Mariam A. Moustafa elansary@gmail.com To: ns-users@ISI.EDU Sent: Friday, August 12, 2011 12:43 PM Subject: [ns] [VIP] Discussion Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in our archive we have a lot of questions and few of them are attached with thier answers!! Also as an open community we rely on the existance of expert and active persons.. due to the dynamic nature of this mailing list we need to arrange the process of asking and answering a question here is an initial suggestion and the subject is open for discussion.. what is about the person who ask the question and get a full and correct answer, S/he is the responsible to thank the list by forward the answer after it works. depending in the honesty on the memebers! what do you see?? Thanks Mariam -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
Re: [ns] [NS-ANS] [VIP] Discussion
I totally agree with you, and adding a tag seems a very useful addition :) Jazak Allah kheran how can we set this rule?! is here admins? On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBC teera...@ece.ubc.ca wrote: Hi, I agree. I would be great if we follow this guideline. I also have one more rule to add: Put a tag [NS-ANS: ] in front of the subject for the answer. Best Teerawat On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote: As it is a free-will, we can agree on rules which enhance the asking process! we have two ways: 1- after his problem is solved the asker is responsible for forwarding the detailed answer (only one detailed full answer). 2- those who answered even if a partial answer, send the answer to all not in private. (so we will have many of partial answers by compiling them we can get the full answer). else this archiving is useless and becomes full of repeated questions with no answers! and if we lost the active members here, the list will die :) it is just a suggestion! Thanks all, Mariam On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBC teera...@ece.ubc.ca wrote: Hi, I think what Mariam means is to post the solved problem. Although, people use REPLY ALL to post the answer. We don't know whether the answer really solve the solution. As for me, most of the time, I only give a partial answer, leaving the askers something to think of by themselves. This forces the askers not to rely entirely on anwerers. But again, NS2 mailing list exists on free-will only. We can't force people to do things (even if they are good things). In the end, it would be up to people on the list. Best, Teerawat On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote: Hi every body (salam) I think It's completely true, but in another groups (like yahoogroup) the sender of e-mail is yahoogroup, so when we reply to e-mail it will forward to group, and then all it's users. I think it must be like that in ns-users group! with special thanks to mariam: Fahimeh From: Mariam A. Moustafa elansary@gmail.com To: ns-users@ISI.EDU Sent: Friday, August 12, 2011 12:43 PM Subject: [ns] [VIP] Discussion Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in our archive we have a lot of questions and few of them are attached with thier answers!! Also as an open community we rely on the existance of expert and active persons.. due to the dynamic nature of this mailing list we need to arrange the process of asking and answering a question here is an initial suggestion and the subject is open for discussion.. what is about the person who ask the question and get a full and correct answer, S/he is the responsible to thank the list by forward the answer after it works. depending in the honesty on the memebers! what do you see?? Thanks Mariam
Re: [ns] [NS-ANS] [VIP] Discussion
Thanks Leo for your reply, the problem of the* trivial problem* may be due to they are newbies or even as u mentioned, in fact we couldn't control that, the asker of a trivial question will search the archiving, if find the answer then good else if any could answer good else he will find another way to find the answer. (the list will has a pool of silly questions consider them them noise) concerning the *elaborate questions* we need to keep their answers and this is the issue... I hope to have a list of famous* QA* for the trivial questions and a good organized (using tags) for the *elaborate* questions On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote: I agree with all of you! There are only 2 or 3 active users in this list. But I think that this problem is due to another problem that it's mandatory to solve: the stupid and trivial useless questions. For example, I've seen people asking again and again how to do something that you can just search in any simple tutorial. When I see someone like this, I never answer his questions, because he domonstrate that haven't search anything. By the way, I think this list is for more elaborate questions, so I answer that questions when I have the answer. Anyway, there's no simple way to solve our first problem, because we can dedice that it's our responsability to answer, but we're only a few. Nevertheless, I will answer the list (as usually I do) in order to improve our list! Regards! Leo Sánchez PS: sorry for my English, I'm not fluent and maybe some things could be misunderstood. El 13/08/2011 10:34, Mariam A. Moustafa escribió: I totally agree with you, and adding a tag seems a very useful addition :) Jazak Allah kheran how can we set this rule?! is here admins? On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.**cateera...@ece.ubc.ca wrote: Hi, I agree. I would be great if we follow this guideline. I also have one more rule to add: Put a tag [NS-ANS: ] in front of the subject for the answer. Best Teerawat On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote: As it is a free-will, we can agree on rules which enhance the asking process! we have two ways: 1- after his problem is solved the asker is responsible for forwarding the detailed answer (only one detailed full answer). 2- those who answered even if a partial answer, send the answer to all not in private. (so we will have many of partial answers by compiling them we can get the full answer). else this archiving is useless and becomes full of repeated questions with no answers! and if we lost the active members here, the list will die :) it is just a suggestion! Thanks all, Mariam On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.**cateera...@ece.ubc.ca wrote: Hi, I think what Mariam means is to post the solved problem. Although, people use REPLY ALL to post the answer. We don't know whether the answer really solve the solution. As for me, most of the time, I only give a partial answer, leaving the askers something to think of by themselves. This forces the askers not to rely entirely on anwerers. But again, NS2 mailing list exists on free-will only. We can't force people to do things (even if they are good things). In the end, it would be up to people on the list. Best, Teerawat On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote: Hi every body (salam) I think It's completely true, but in another groups (like yahoogroup) the sender of e-mail is yahoogroup, so when we reply to e-mail it will forward to group, and then all it's users. I think it must be like that in ns-users group! with special thanks to mariam: Fahimeh __**__ From: Mariam A. Moustafaelansary.mam@gmail.**comelansary@gmail.com To: ns-users@ISI.EDU Sent: Friday, August 12, 2011 12:43 PM Subject: [ns] [VIP] Discussion Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in our archive we have a lot of questions and few of them are attached with thier answers!! Also as an open community we rely on the existance of expert and active persons.. due to the dynamic nature of this mailing list we need to arrange the process of asking and answering a question here is an initial suggestion and the subject is open for discussion.. what is about the person who ask the question and get a full and correct answer, S/he is the responsible to thank the list by forward the answer after it works. depending in the honesty on the memebers! what do you see?? Thanks Mariam
Re: [ns] [NS-ANS] [VIP] Discussion
Yes Imran, Having said that an organised NS2 mailing list is needed and every person should take moral responsibility of notifying on mailing list about the solution (s)he found for their NS2 problems. this is the point but if we cannot depend on morality, as Leo suggests the answers should be forward to all with a certain tag.. *No Individual answers*? with me? let's set the rule On Sat, Aug 13, 2011 at 12:52 PM, Imran khan imrankhan1...@gmail.comwrote: Hi, Adding to the Leo's point I would say that the main aim of this mailing list is to guide NS2 users and help them solve their problems that they are facing. It becomes very difficult when the students want their assignments and projects done by other people. I have had fair share of mercy appeals for such kindness, which I am not willing to do. Having said that an organised NS2 mailing list is needed and every person should take moral responsibility of notifying on mailing list about the solution (s)he found for their NS2 problems. -- Best Regards, Imran Khan Research Engineer Network and Service Architecture Lab Institute Telecom, Telecom SudParis, CNRS Lab UMR5157 9 rue Charles Fourier, 91011 Evry, France +33 (0) 6 10 91 00 63 http://www.about.me/imrankhan1984 On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote: I agree with all of you! There are only 2 or 3 active users in this list. But I think that this problem is due to another problem that it's mandatory to solve: the stupid and trivial useless questions. For example, I've seen people asking again and again how to do something that you can just search in any simple tutorial. When I see someone like this, I never answer his questions, because he domonstrate that haven't search anything. By the way, I think this list is for more elaborate questions, so I answer that questions when I have the answer. Anyway, there's no simple way to solve our first problem, because we can dedice that it's our responsability to answer, but we're only a few. Nevertheless, I will answer the list (as usually I do) in order to improve our list! Regards! Leo Sánchez PS: sorry for my English, I'm not fluent and maybe some things could be misunderstood. El 13/08/2011 10:34, Mariam A. Moustafa escribió: I totally agree with you, and adding a tag seems a very useful addition :) Jazak Allah kheran how can we set this rule?! is here admins? On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.ca wrote: Hi, I agree. I would be great if we follow this guideline. I also have one more rule to add: Put a tag [NS-ANS: ] in front of the subject for the answer. Best Teerawat On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote: As it is a free-will, we can agree on rules which enhance the asking process! we have two ways: 1- after his problem is solved the asker is responsible for forwarding the detailed answer (only one detailed full answer). 2- those who answered even if a partial answer, send the answer to all not in private. (so we will have many of partial answers by compiling them we can get the full answer). else this archiving is useless and becomes full of repeated questions with no answers! and if we lost the active members here, the list will die :) it is just a suggestion! Thanks all, Mariam On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.ca wrote: Hi, I think what Mariam means is to post the solved problem. Although, people use REPLY ALL to post the answer. We don't know whether the answer really solve the solution. As for me, most of the time, I only give a partial answer, leaving the askers something to think of by themselves. This forces the askers not to rely entirely on anwerers. But again, NS2 mailing list exists on free-will only. We can't force people to do things (even if they are good things). In the end, it would be up to people on the list. Best, Teerawat On Aug 13, 2011, at 12:46 PM, Fahimeh Akbari wrote: Hi every body (salam) I think It's completely true, but in another groups (like yahoogroup) the sender of e-mail is yahoogroup, so when we reply to e-mail it will forward to group, and then all it's users. I think it must be like that in ns-users group! with special thanks to mariam: Fahimeh From: Mariam A. Moustafaelansary@gmail.com To: ns-users@ISI.EDU Sent: Friday, August 12, 2011 12:43 PM Subject: [ns] [VIP] Discussion Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in our archive we have a lot of questions and few of them are attached with thier answers!! Also as an open community we rely on the existance of expert and active persons.. due to the dynamic nature of this mailing list we need to arrange the process of asking and answering a question here is an initial
Re: [ns] [NS-ANS] [VIP] Discussion
Yes Itishi, you right post complete solution after getting help from other ns-users is the best solution but actually we couldn't depend on morality, so the guaranteed solution is to reply any answer for all, then the question will be attached with its pieces of answer... got me :) On Sat, Aug 13, 2011 at 1:41 PM, itishi saxena itish...@yahoo.com wrote: I think it will be a good idea to post complete solution after getting help from other ns-users because I dont think setting rules will help people. sometimes you need answers urgently and you start typing instead of searching it anywhere. Still we can suggest people to write exact title and use technical term in the subject line so that it is easier for anyone to pick queries for answer. So I am also agree with Mariam. Regards, Ranjana -- *From:* Mariam A. Moustafa elansary@gmail.com *To:* Imran khan imrankhan1...@gmail.com *Cc:* ns isi.edu ns-users@ISI.EDU *Sent:* Sat, 13 August, 2011 8:59:54 PM *Subject:* Re: [ns] [NS-ANS] [VIP] Discussion Yes Imran, Having said that an organised NS2 mailing list is needed and every person should take moral responsibility of notifying on mailing list about the solution (s)he found for their NS2 problems. this is the point but if we cannot depend on morality, as Leo suggests the answers should be forward to all with a certain tag.. *No Individual answers*? with me? let's set the rule On Sat, Aug 13, 2011 at 12:52 PM, Imran khan imrankhan1...@gmail.com wrote: Hi, Adding to the Leo's point I would say that the main aim of this mailing list is to guide NS2 users and help them solve their problems that they are facing. It becomes very difficult when the students want their assignments and projects done by other people. I have had fair share of mercy appeals for such kindness, which I am not willing to do. Having said that an organised NS2 mailing list is needed and every person should take moral responsibility of notifying on mailing list about the solution (s)he found for their NS2 problems. -- Best Regards, Imran Khan Research Engineer Network and Service Architecture Lab Institute Telecom, Telecom SudParis, CNRS Lab UMR5157 9 rue Charles Fourier, 91011 Evry, France +33 (0) 6 10 91 00 63 http://www.about.me/imrankhan1984 On Sat, Aug 13, 2011 at 11:38 AM, Leo Sánchez sanc...@ugr.es wrote: I agree with all of you! There are only 2 or 3 active users in this list. But I think that this problem is due to another problem that it's mandatory to solve: the stupid and trivial useless questions. For example, I've seen people asking again and again how to do something that you can just search in any simple tutorial. When I see someone like this, I never answer his questions, because he domonstrate that haven't search anything. By the way, I think this list is for more elaborate questions, so I answer that questions when I have the answer. Anyway, there's no simple way to solve our first problem, because we can dedice that it's our responsability to answer, but we're only a few. Nevertheless, I will answer the list (as usually I do) in order to improve our list! Regards! Leo Sánchez PS: sorry for my English, I'm not fluent and maybe some things could be misunderstood. El 13/08/2011 10:34, Mariam A. Moustafa escribió: I totally agree with you, and adding a tag seems a very useful addition :) Jazak Allah kheran how can we set this rule?! is here admins? On Sat, Aug 13, 2011 at 10:30 AM, Teerawat@UBCteera...@ece.ubc.ca wrote: Hi, I agree. I would be great if we follow this guideline. I also have one more rule to add: Put a tag [NS-ANS: ] in front of the subject for the answer. Best Teerawat On Aug 13, 2011, at 3:13 PM, Mariam A. Moustafa wrote: As it is a free-will, we can agree on rules which enhance the asking process! we have two ways: 1- after his problem is solved the asker is responsible for forwarding the detailed answer (only one detailed full answer). 2- those who answered even if a partial answer, send the answer to all not in private. (so we will have many of partial answers by compiling them we can get the full answer). else this archiving is useless and becomes full of repeated questions with no answers! and if we lost the active members here, the list will die :) it is just a suggestion! Thanks all, Mariam On Sat, Aug 13, 2011 at 9:33 AM, Teerawat@UBCteera...@ece.ubc.ca wrote: Hi, I think what Mariam means is to post the solved problem. Although, people use REPLY ALL to post the answer. We don't know whether the answer really solve the solution. As for me, most of the time, I only give a partial answer, leaving the askers something to think of by themselves. This forces
Re: [ns] [NS- On/Off Server] Re: changing mu (service rate) for m/d/1 - by varying the defined mu
great work and thanks for the notification :) On Sat, Aug 13, 2011 at 4:36 PM, Amna Abdul Wahid amnaabdulwa...@gmail.comwrote: Hi and Salaam All Again... Just needed to notify that we solved by changing the dequeue() method of DropTail class. That is, to make the server on/off for certain periods, we stopped the dequeuing during the off period!!! HTH anyone looking for such answers On 12 August 2011 12:18, Amna Abdul Wahid amnaabdulwa...@gmail.com wrote: Hi All We are trying to turn the service rate of m/d/1 on and off, for certain periods. The code is attached herewith. We are facing the problem that although we change the $mu value in the ''sendpacket' method, the mu value taken by the simulation is the one we assign at the beginning. (the one supplied in $ns simplex-link $node_(r1) $node_(r2) $mu 10ms DropTail) Is there any simple way of changing this value (or the link state) during the simulation dynamically? Many Thanks in Advance for Any Help Amna, Sabri -- Regards, Amna Abdul Wahid
[ns] NS-Users Q-process Guideline
Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS-Users According to our discussion in the mail of a subject [VIP] Discussion, We agreed on these guidelines to effectively manage the question's process on this mailing list Here is the rules: (please mention, if I forget a thing) --- *1- To minimize the trivial question, the asker should search the archiving first to find the answer else if doesn't exist, kindly pay some efforts and time to google for the answer else send here!* * * *2- The answer of elaborated questions will be sent for the all user not only the asker with a tag [NS-ANS]* * * *3- Homework and college's assignment are prevented to be solved here, only if a guidance for a piece of work.* That's all, hope to follow these rules for good utilizing this list, and thanks a lot for all active members for participating in expressing this guideline. At the end, we would like to thank Mohit Tahiliani for start following the rules on his reply [ns] [NS-ANS]: how to change the node color with energy consumption Thanks dears, hope the best for all of you Mariam
[ns] [VIP] Discussion
Salam Alaikum wa Rahmatullahi wa Barakatuh, Dears NS2 users, Shortly, in our archive we have a lot of questions and few of them are attached with thier answers!! Also as an open community we rely on the existance of expert and active persons.. due to the dynamic nature of this mailing list we need to arrange the process of asking and answering a question here is an initial suggestion and the subject is open for discussion.. what is about the person who ask the question and get a full and correct answer, S/he is the responsible to thank the list by forward the answer after it works. depending in the honesty on the memebers! what do you see?? Thanks Mariam
[ns] AOMDV complexity
Al Salamo Alikom Dears, *How can find the AOMDV algorithm complexity order??!! or how can I calculate it?* Thanks in advance, Mariam
Re: [ns] Why do we have this group?
Fine, I suggest two method we can follow 1- All reply for all. 2- All relpy in perivate and then the person who was asking the question, gather the replys and forward them as an answer of that question (we will only have one collected reply). //may be use a tag in the subject of the reply mail as {ANSWER}. Thanks in advance Mariam On Mon, Feb 21, 2011 at 5:49 AM, Ahmad arasem...@yahoo.com wrote: Hi Fellow NS2ers, Personally I prefer to see answers for everything as it may be relevent at some point. Anand, you can do what I (and may be many de here), have a special folder setup with every email with the Subject NS2 being forwarded to it so your general inbox does not get flooded with it. I am glad to know that there are people answer becuase I posted 2 questions (figured the answer of the first one though) and didn't get answers and I saw just questions so I thought no one is answering here. but yea I would personally like seeing all answers so everyone has reference incase they run into similar issues. I think I saw two more posts sharing the same likes. After all, good luck everyone in your research! Ahmad From: Teerawat@UBC teera...@ece.ubc.ca To: anand waytoan...@gmail.com Cc: ns-users@ISI.EDU Sent: Sun, February 20, 2011 9:23:02 PM Subject: Re: [ns] Why do we have this group? Hi, I answer to people in this group regularly (as much as I can). But usually, I just do it to avoid others who have to receive the answers which are relevant to their interest. There is no guideline on the use of this mailing list. If there is one and it says that most (if not all) answers should be replied to ALL, I'll be glad to do so. What do you guys think? Best Wishes Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Feb 21, 2011, at 8:28 AM, anand wrote: isi is build like this...it is easy to mail al the groupbut they didn't considered that one may take interest in getting the answers of all the questions. besides if they forward to all then ur inbox will always be filled with ns-user's mailit will end only u unsubscribeso it's for the best :) -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
Re: [ns] Why do we have this group?
Yes, Ahmad I am with you. There were many calls for whom are answering the questions to reply for all not only for who asked!!! We need to raise this call again Thanks On Sun, Feb 20, 2011 at 10:19 PM, Ahmad arasem...@yahoo.com wrote: Hi, I am wondering what's the purpose of this newsgroup because all what I can see here is questions and questions but no answer to any (or maybe 10% of the questions). So is there something I am missing here or do you know of a place where people really answer each other? Thanks -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
Re: [ns] Adding new Protocol to NS2
Also this pdf is helpful for the protocol implementation and this link is good for configuration with your NS2 good luck On Tue, Jan 18, 2011 at 11:44 AM, Manoj_Kumar micman.ma...@hotmail.comwrote: Ghassan Akrem wrote: I tried to add new protocol over my NS-2.34/ over Windows XP, I used some procedures available in Internet search, but got many errors. Any one did that successfully? Actually , I want to develop a new cwnd in my new protocol. This tutorial[1] provides a clear explanation on how to implement a protocol in ns2. I hope this helps. [1] http://elmurod.net/wps/?p=157 - --- ManojKumar.A --- Blog: http://getch.wordpress,com Mailing list guidelines: http://goo.gl/xC874 -- View this message in context: http://old.nabble.com/Adding-new-Protocol-to-NS2-tp30698522p30698568.html Sent from the ns-users mailing list archive at Nabble.com. -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
Re: [ns] AOMDV vs AODV
Al Salamo Alikom Dears, How can I get the MDSR patch on ns_2.34?? MDSR -- Multipath Dynamic Source Routing protocol Thanks in advance Mariam -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
[ns] AOMDV vs AODV
Al Salamo Alikom Dears, While I am simulating AOMDV vs AODV with a security module (the network has 10% malicious nodes which drop the transmitted packets), I get a strange behavior. I notice that AODV over-performs AOMDV in terms of packet delivery ratio, latency and routing overhead, which violates the theory. Could you give me a reason? Thanks in advance Mariam
[ns] fatal ARP error...
S/A What is the meaning of, *fatal ARP error...* error message while running the AOMDV simulation? Thanks
[ns] [ERROR] Adding malicious node in AOMDV protocol
Al Salamo Alikom Dear all, While I adding malicious node for AOMDV prortocol and add this line in the tcl file, *#***malicious* *$ns at 1050.0 [$node(5) set ragent_] malicious* * * and add this code at the protocol.cc * * *#***malicious* * AOMDV::rt_resolve(Packet *p) { struct hdr_cmn *ch = HDR_CMN(p); struct hdr_ip *ih = HDR_IP(p); msr_rt_entry *rt; //***malicious // if I am malicious node if (malicious == true ) { drop(p, DROP_RTR_ROUTE_LOOP); #ifdef DEBUG fprintf(stderr, %s: sending RERR...\n, __FUNCTION__); #endif // DROP_RTR_ROUTE_LOOP is added for no reason. } . . . } AOMDV::command(int argc, const char*const* argv) { if(argc == 2) { Tcl tcl = Tcl::instance(); if(strncasecmp(argv[1], id, 2) == 0) { tcl.resultf(%d, index); return TCL_OK; } //***malicious if(strcmp(argv[1], malicious) == 0) { malicious = true; return TCL_OK; } . . } * I get this error when I run the simulator *1050 simulation seconds* *Direction for pkt-flow not specified; Sending pkt up the stack on default.* * * *Direction for pkt-flow not specified; Sending pkt up the stack on default.* *.* *.* *.* * * *Direction for pkt-flow not specified; Sending pkt up the stack on default.* * * *1060 simulation seconds* *Direction for pkt-flow not specified; Sending pkt up the stack on default.* * * *Direction for pkt-flow not specified; Sending pkt up the stack on default.* *.* *.* * * and the simulation doesn't terminate. Thanks in advance Mariam P.S. the attack only drop the transmitted packet even data or control packet -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
[ns] [Segmentation fault] Where are prim_alt_path_len_diff_ and max_paths_
Al Salamo Alikom, Dears, My Environment: Ubuntu 9.10 and NS-2.34 While I am building my new routing protocol for WSN, I decide to start with AOMDV protocol. I copy the folder and rename it and all its files. and follow all steps in Implementing a New Manet Unicast Routing Protocol in NS2, Francisco J. Ros Pedro M. Ruiz make clean and make run with any error. when I start to run a tcl file using my protocol, I get this error: *mar...@ubuntu:~/NS2_Work/Example$ ns mrr.tcl* *num_nodes is set 16* *warning: no class variable Agent/MRR::mrr_max_paths_* * * * **see tcl-object.tcl in tclcl for info about this warning.* * * *warning: no class variable Agent/MRR::mrr_prim_alt_path_len_diff_* * * *INITIALIZE THE LIST xListHead* *.* *.* *.* *warning: no class variable Agent/MRR::mrr_prim_alt_path_len_diff_* * * *10 simulation seconds* *20 simulation seconds* *30 simulation seconds* *40 simulation seconds* *50 simulation seconds* *60 simulation seconds* *70 simulation seconds* *80 simulation seconds* *90 simulation seconds* *.* *.* *.* *990 simulation seconds* *1000 simulation seconds* *channel.cc:sendUp - Calc highestAntennaZ_ and distCST_* *highestAntennaZ_ = 1.5, distCST_ = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0 * *SORTING LISTS ...DONE!* *Segmentation fault* Thanks in advance Mariam -- Best regards, Mariam Ahmed Moustafa Software Engineer, RD Department Integrated Solutions For Ports Tel: +(203) 4293846/4294632 Extn: 207 Email: mka...@isfpegypt.com Web Site: www.isfpegypt.com
[ns] {URGENT} Multipath On-demand Routing (MOR) protocol
Al Salamo Alikom Dears, I am in a bad need for Multipath On-demand Routing (MOR) protocol source code in NS2.34 for WSN. Please send me a patch or the NS version number wherever it is implemented or any material that may help or the contacts of the authors. Thanks in advance Mariam P.S. A Reliability Layer for Ad-Hoc Wireless Sensor Network Routinghttp://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.91.8420rep=rep1type=pdf Edoardo Biagioni Shu Hui Chen