[ns] how to add random noise in node's channel in ns2
Good day all, I am trying to evaluate the robustness of a quality link metric by adding some random noise to some selected nodes channel communication in wireless networks but i don't have any clue how i can do it. someone who did it before? Thanks in advance! -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/how-to-add-random-noise-in-node-s-channel-in-ns2-tp26449.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] how to generate a noisy environment in ns-2.34?
Good day all, I am trying to evaluate the robustness of a quality link metric over a routing protocol, for that purpose i would like to generate a noisy environment network in ns-2.34. any one who has done before? Thanks in advance! -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/how-to-generate-a-noisy-environment-in-ns-2-34-tp26451.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] About RXThreshold and CSThreshold calculation
Mate, These values are defined and not calculated. The received power from a packet is what determines if the packet is received or just sensed. This is basic, you would need to a)read the manual b)read the codes in NS2 c)read the appropriate standards d) or simply spend some time on the internet to understand how the Physical and MAC layer works. There are ample of information available on this. It depends how much you are willing to work hard to acquire it. -- SK On Fri, Mar 15, 2013 at 9:53 AM, shiny shiny@gmail.com wrote: Hi frndz, Anybody know where the RXThreshold and CSThreshold values are calculated in ns2 back-end -- With Regards, John Shiny.J
Re: [ns] How to add new protocol in ns2
Dear Vaibhav, It seems that you're not updating ns-lib.tcl. Check this: http://masimum.inf.um.es/fjrm/wp-uploads/nsrt-howto/html/node20.html Regards, fran El 17/03/2013, a las 13:16, Vaibhav Ambhire escribiĆ³: i wrote a new agent and modified the relevant files (makefile,packet.h,ns-default. tcl,ns-packet.tcl) ,then i executed ./configure and make. It executed well. But when i want to run any tcl file i get this error (ns: [code ommited because of length] : invalid command name Agent/security_packet while executing Agent/security_packet set packetSize_ 200). Please any one know the solution, then help me. If anybody know the exact steps to add a new agent in ns2, then please forward the relevant material on the same email id... Yhanks, Vaibhav -- Francisco J. Ros, PhD Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/