<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-940655158241541327</id><updated>2012-02-17T04:25:14.361+08:00</updated><category term='ns-2'/><category term='coverage'/><category term='installation'/><category term='java'/><category term='Patch'/><category term='cygwin'/><category term='usb'/><category term='vmware'/><category term='jTrana'/><category term='fedora'/><category term='demo'/><category term='root'/><category term='NS-2.29'/><category term='ns-miracle'/><category term='C++'/><category term='routing protocols'/><category term='NIST'/><category term='awk'/><category term='energy'/><category term='vmx'/><category term='Tracegraph'/><category term='virtual pc'/><category term='Linux'/><category term='nam'/><category term='omnet++'/><category term='INET'/><category term='nsg-2'/><category term='fedora 10'/><category term='Scheduler'/><category term='subversion'/><category term='generator'/><title type='text'>Path to Higher Learning...</title><subtitle type='html'>More and more about NS-2</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>32</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-6433237765365891435</id><published>2011-06-03T11:59:00.002+08:00</published><updated>2011-06-03T12:05:05.899+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='energy'/><title type='text'>To set different initial energy to every node</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;# set initial energy for first node&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; border-collapse: separate; "&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;$ns node-config &lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;-initialEnergy 50&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;set node_(0) [$ns node]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;# set initial energy for second node&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;$ns node-config &lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;-initialEnergy 100&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;div style="border-collapse: separate; font-family: Georgia, serif; font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;set node_(1) [$ns node]&lt;/span&gt;&lt;/div&gt;&lt;div style="border-collapse: separate; font-family: Georgia, serif; font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="border-collapse: separate; font-family: Georgia, serif; font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; border-collapse: separate; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;# set initial energy for third node&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  &gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; "&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; border-collapse: separate; "&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;$ns node-config &lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;-initialEnergy 70&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;set node_(2) [$ns node]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "&gt;and similarly for more nodes...&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-6433237765365891435?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/6433237765365891435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2011/06/to-set-different-initial-energy-to.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6433237765365891435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6433237765365891435'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2011/06/to-set-different-initial-energy-to.html' title='To set different initial energy to every node'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-7855957716811995816</id><published>2010-11-23T14:12:00.002+08:00</published><updated>2010-11-23T14:16:16.934+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Compile cc file to exe file</title><content type='html'>&lt;div&gt;in ns-allinone-2.34/ns-2.34/indep-utils/propagation/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;g++ -lm -o threshold threshold.cc&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;threshold of Cthresh and Rthresh can be calculated.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-7855957716811995816?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/7855957716811995816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/11/compile-cc-file-to-exe-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7855957716811995816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7855957716811995816'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/11/compile-cc-file-to-exe-file.html' title='Compile cc file to exe file'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-7492334201146888080</id><published>2010-11-23T12:34:00.001+08:00</published><updated>2010-11-23T12:34:24.849+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora 10'/><title type='text'>Another app is currently holding the yum lock; waiting for it to exit…</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px; "&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;Another app is currently holding the yum lock; waiting for it to exit…&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;error though I was not using yum any where else, but this crap was coming every time when I run the command, After googling a bit finally got the solution that I this error was coming coz there was something in the yum.pid.&lt;br /&gt;We can this issue by two means&lt;br /&gt;&lt;b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;First &lt;/b&gt;&lt;br /&gt;one killing the pid by doing follwing command.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;# ps aux | grep yum&lt;/code&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;this command will show all the process with process id which is running by yum. so now you can kill the process. Say process Id 31542 is using the yum so you can do&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;# kill -9 31542&lt;br /&gt;or&lt;br /&gt;# kill 31542&lt;/code&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;Second:&lt;/strong&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 0px; font: normal normal normal 12px/17px Verdana; color: rgb(102, 102, 102); "&gt;If above method doesn’t work for you. you can remove the yum process from the machine. Now the question arise where you will get the process file. yum process resides in /var/run folder so simply type the following command and hit enter.&lt;br /&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;# rm -f /var/run/yum.pid&lt;/code&gt;&lt;/p&gt;&lt;div&gt;&lt;code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-7492334201146888080?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/7492334201146888080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/11/another-app-is-currently-holding-yum.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7492334201146888080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7492334201146888080'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/11/another-app-is-currently-holding-yum.html' title='Another app is currently holding the yum lock; waiting for it to exit…'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-8545796400867817189</id><published>2010-11-22T14:53:00.004+08:00</published><updated>2010-11-22T14:59:36.431+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Some useful stuff about ns-2</title><content type='html'>&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;pre style="color: rgb(51, 51, 51); font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; "&gt;&lt;a href="http://jsun74.blogspot.com/2010/10/fwd-ns2.html"&gt;http://jsun74.blogspot.com/2010/10/fwd-ns2.html&lt;/a&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-8545796400867817189?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/8545796400867817189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/11/some-useful-stuff-about-ns-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/8545796400867817189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/8545796400867817189'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/11/some-useful-stuff-about-ns-2.html' title='Some useful stuff about ns-2'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-3981534001654906379</id><published>2010-10-12T15:42:00.002+08:00</published><updated>2010-10-12T15:43:56.002+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='awk'/><title type='text'>Command for AWK</title><content type='html'>I have been always in search for the command to run AWK script. To ease my job next time, I should have put in here too..  :)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The command is:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;awk -f awkfilename tracefilename &gt; outputfilename&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   &gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-3981534001654906379?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/3981534001654906379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/10/command-for-awk.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3981534001654906379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3981534001654906379'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/10/command-for-awk.html' title='Command for AWK'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-7474216342960267625</id><published>2010-10-07T17:41:00.000+08:00</published><updated>2010-10-07T17:42:15.372+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='routing protocols'/><title type='text'>Adding new routing protocol in ns-2</title><content type='html'>&lt;div&gt;Thanks to Elmurod A. Talipov&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Writing routing protocol is fairly easy in NS2, but for beginners it seems very difficult.  Therefore, if you are new to NS2 and want to write your own routing protocol, I would strongly recommend to revise AODV source code. Because, I believe AODV source code is straightforward and fairly easy to understand due to the simplicity of the AODV protocol.&lt;br /&gt;&lt;br /&gt;Before you begin reading this post, I assume that you have already installed NS2 on Linux.  I have used version 2.34, which is current release.  If you have not installed yet, DOWNLOAD HERE and INSTALL. Okey, simple requirements to write your own routing protocol&lt;br /&gt;&lt;br /&gt;NS2 installed&lt;br /&gt;You should know how to program in C/C++.&lt;br /&gt;Optionally, shell scripting and perl.&lt;br /&gt;Let's start with creating directory of routing protocol. Goto the "$NS_ROOT/ ns-2.34/". Create directory named as wfrp, we call it WSN Flooding-based Routing Protocol in which sink nodes periodically send a beacon message and other nodes construct route towards the sink nodes. Then nodes report to sink node every certain period using UDP protocol. Direct Diffusion may be an example of such protocol, but what we are writing is simpler and has more functionalities.&lt;br /&gt;&lt;br /&gt;mkdir wfrp&lt;br /&gt;In the directory we create three files : wrfp.cc, wrfp.h, wrfp_packet.h. Download and put these files in wfrp directory. I will not explain the code here, and if you don't understand just leave comment I will try to answer.&lt;br /&gt;&lt;br /&gt;Now, we are going to modify following files. Therefore it is better you backup these files before you start adding new protocol, so that you can easily go back.&lt;br /&gt;&lt;br /&gt;$NS_ROOT/Makefile&lt;br /&gt;$NS_ROOT/queue/priqueue.cc&lt;br /&gt;$NS_ROOT/common/packet.h&lt;br /&gt;$NS_ROOT/trace/cmu-trace.h&lt;br /&gt;$NS_ROOT/trace/cmu-trace.cc&lt;br /&gt;$NS_ROOT/tcl/lib/ns-packet.tcl&lt;br /&gt;$NS_ROOT/tcl/lib/ns-lib.tcl&lt;br /&gt;$NS_ROOT/tcl/lib/ns-agent.tcl&lt;br /&gt;$NS_ROOT/tcl/lib/ns-mobilenode.tcl&lt;br /&gt;Let's start with ~/ns-allinone-2.34/ns-2.34/Makefile just add following lien at 269&lt;br /&gt;&lt;br /&gt;wfrp/wfrp.o \ &lt;br /&gt;Add following lines to ~/ns-allinone-2.34/ns-2.34/queue/priqueue.cc from line 93.&lt;br /&gt;&lt;br /&gt;// WFRP patch&lt;br /&gt;case PT_WFRP:&lt;br /&gt;To define new routing protocol packet type we have to modify  ~/ns-allinone-2.34/ns-2.34/common/packet.h file. We change PT_NTYPE to 63, and for our protocol PT_WFRP = 62. If you have already installed another routing protocol. Just make sure PT_NTYPE is last, and protocol number is ordered sequentially. From line 85 changes would  be :&lt;br /&gt;&lt;br /&gt;// WFRP packet&lt;br /&gt;static const packet_t PT_WFRP = 62;&lt;br /&gt;&lt;br /&gt;// insert new packet types here&lt;br /&gt;static packet_t       PT_NTYPE = 63; // This MUST be the LAST one&lt;br /&gt;We make following code change at line 254 of ~/ns-allinone-2.34/ns-2.34/common/packet.h. The code is used that the packet is routing protocol packet and has high priority.&lt;br /&gt;&lt;br /&gt;type == PT_AODV ||&lt;br /&gt;type == PT_WFRP)&lt;br /&gt;And at line 390 of the same file&lt;br /&gt;&lt;br /&gt;// WFRP patch&lt;br /&gt;name_[PT_WFRP] = "WFRP";&lt;br /&gt;Now we will make NS2 trace our simulation and write it to *something*.tr, in order to do that we have to modify cmu-trace.h and cmu-trace.cc.&lt;br /&gt;&lt;br /&gt;To add trace function we add following line to ~/ns-allinone-2.34/ns-2.34/trace/cmu-trace.h at line 163:&lt;br /&gt;&lt;br /&gt;void    format_wfrp(Packet *p, int offset);&lt;br /&gt;~/ns-allinone-2.34/ns-2.34/trace/cmu-trace.cc must be added following code at line 1071&lt;br /&gt;&lt;br /&gt;// WFRP patch&lt;br /&gt;void&lt;br /&gt;CMUTrace::format_wfrp(Packet *p, int offset)&lt;br /&gt;{&lt;br /&gt;   struct hdr_wfrp *wh = HDR_WFRP(p);&lt;br /&gt;   struct hdr_wfrp_beacon *wb = HDR_WFRP_BEACON(p);&lt;br /&gt;   struct hdr_wfrp_error  *we = HDR_WFRP_ERROR(p);&lt;br /&gt;&lt;br /&gt;   switch(wh-&gt;pkt_type) {&lt;br /&gt;       case WFRP_BEACON:&lt;br /&gt;&lt;br /&gt;           if (pt_-&gt;tagged()) {&lt;br /&gt;               sprintf(pt_-&gt;buffer() + offset,&lt;br /&gt;                         "-wfrp:t %x -wfrp:h %d -wfrp:b %d -wfrp:s %d "&lt;br /&gt;                         "-wfrp:px %d -wfrp:py %d -wfrp:ts %f "&lt;br /&gt;                         "-wfrp:c BEACON ",&lt;br /&gt;                         wb-&gt;pkt_type,&lt;br /&gt;                         wb-&gt;beacon_hops,&lt;br /&gt;                         wb-&gt;beacon_id,&lt;br /&gt;                         wb-&gt;beacon_src,&lt;br /&gt;                         wb-&gt;beacon_posx,&lt;br /&gt;                         wb-&gt;beacon_posy,&lt;br /&gt;                         wb-&gt;timestamp);&lt;br /&gt;           } else if (newtrace_) {&lt;br /&gt;&lt;br /&gt;               sprintf(pt_-&gt;buffer() + offset,&lt;br /&gt;                         "-P wfrp -Pt 0x%x -Ph %d -Pb %d -Ps %d -Ppx %d -Ppy %d -Pts %f -Pc BEACON ",&lt;br /&gt;                         wb-&gt;pkt_type,&lt;br /&gt;                         wb-&gt;beacon_hops,&lt;br /&gt;                         wb-&gt;beacon_id,&lt;br /&gt;                         wb-&gt;beacon_src,&lt;br /&gt;                         wb-&gt;beacon_posx,&lt;br /&gt;                         wb-&gt;beacon_posy,&lt;br /&gt;                         wb-&gt;timestamp);&lt;br /&gt;&lt;br /&gt;           } else {&lt;br /&gt;&lt;br /&gt;               sprintf(pt_-&gt;buffer() + offset,&lt;br /&gt;                         "[0x%x %d %d [%d %d] [%d %f]] (BEACON)",&lt;br /&gt;                         wb-&gt;pkt_type,&lt;br /&gt;                         wb-&gt;beacon_hops,&lt;br /&gt;                         wb-&gt;beacon_id,&lt;br /&gt;                         wb-&gt;beacon_src,&lt;br /&gt;                         wb-&gt;beacon_posx,&lt;br /&gt;                         wb-&gt;beacon_posy,&lt;br /&gt;                         wb-&gt;timestamp);&lt;br /&gt;           }&lt;br /&gt;           break;&lt;br /&gt;&lt;br /&gt;       case WFRP_ERROR:&lt;br /&gt;           // TODO: need to add code&lt;br /&gt;           break;&lt;br /&gt;&lt;br /&gt;       default:&lt;br /&gt;#ifdef WIN32&lt;br /&gt;           fprintf(stderr,&lt;br /&gt;                     "CMUTrace::format_wfrp: invalid WFRP packet type\n");&lt;br /&gt;#else&lt;br /&gt;           fprintf(stderr,&lt;br /&gt;                     "%s: invalid WFRP packet type\n", __FUNCTION__);&lt;br /&gt;#endif&lt;br /&gt;           abort();&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;Now we will modify tcl files to create routing agent. First we define protocol name to use in tcl file. It would done by modifying ~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-packet.tcl @ line 172&lt;br /&gt;&lt;br /&gt;# WFRP patch&lt;br /&gt;WFRP&lt;br /&gt;Now we set routing agent by modifying ~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-lib.tcl @ line 633&lt;br /&gt;&lt;br /&gt;WFRP {&lt;br /&gt; set ragent [$self create-wfrp-agent $node]&lt;br /&gt;}&lt;br /&gt;From line 860 of the same file following code should be added.&lt;br /&gt;&lt;br /&gt;Simulator instproc create-wfrp-agent { node } {&lt;br /&gt;  #  Create WFRP routing agent&lt;br /&gt;  set ragent [new Agent/WFRP [$node node-addr]]&lt;br /&gt;  $self at 0.0 "$ragent start"&lt;br /&gt;  $node set ragent_ $ragent&lt;br /&gt;  return $ragent&lt;br /&gt;}&lt;br /&gt;Now we will set port numbers of routing agent. sport is source port, dport is destination port. Modify ~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-agent.tcl line 202&lt;br /&gt;&lt;br /&gt;Agent/WFRP instproc init args {&lt;br /&gt; $self next $args&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Agent/WFRP set sport_   0&lt;br /&gt;Agent/WFRP set dport_   0&lt;br /&gt;Frankly speaking I have no idea why I have to add following things. But I believe it should be done according to some tutorial : ~/ns-allinone-2.34/ns-2.34/tcl/lib/ns-mobilenode.tcl line 201&lt;br /&gt;&lt;br /&gt;# Special processing for WFRP&lt;br /&gt;set wfrponly [string first "WFRP" [$agent info class]]&lt;br /&gt;if {$wfrponly != -1 } {&lt;br /&gt; $agent if-queue [$self set ifq_(0)]   ;# ifq between LL and MAC&lt;br /&gt;}&lt;br /&gt;We are done. got to ~/ns-allinone-2.34/ns-2.34/ directory and do&lt;br /&gt;&lt;br /&gt;make clean&lt;br /&gt;make&lt;br /&gt;When the compile is finished, you can test using wfrp_802_15_4.tcl file as :&lt;br /&gt;&lt;br /&gt;ns wfrp_802_15_4.tcl&lt;br /&gt;In this test the NODE 0 is sink node, starts sending beacon 1 second after simulation i started, and NODE 10 is reporting node. It starts sending report over CBR/UDP at 5.0 seconds (after simulation is started). Report interval is 2 seconds.&lt;br /&gt;&lt;br /&gt;To remove debugging WFRP, uncomment #define DEBUG (line 36 of wfrp.cc &amp;amp; re-make it).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-7474216342960267625?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/7474216342960267625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/10/adding-new-routing-protocol-in-ns-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7474216342960267625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7474216342960267625'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/10/adding-new-routing-protocol-in-ns-2.html' title='Adding new routing protocol in ns-2'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-740250622820654666</id><published>2010-10-04T13:22:00.000+08:00</published><updated>2010-10-04T13:24:19.409+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora 10'/><category scheme='http://www.blogger.com/atom/ns#' term='root'/><title type='text'>Fedora 10 Enable GUI Root Login</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 10px; color: rgb(17, 17, 17); "&gt;&lt;div class="headline_area" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 2.2em; margin-left: 0px; "&gt;&lt;h1 class="entry-title" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: normal; color: rgb(17, 17, 17); font-size: 2.6em; line-height: 1.308em; "&gt;&lt;span class="Apple-style-span" style="line-height: 22px; font-size: 14px; "&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(255, 0, 0); "&gt;Q.&lt;/span&gt; How do I enable root login under Fedora 10 Gnome GUI login screen / manager?&lt;/span&gt;&lt;/h1&gt;&lt;/div&gt;&lt;div class="format_text entry-content" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 1.4em; line-height: 1.571em; "&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 0px; "&gt;&lt;span id="more-2696" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;&lt;/span&gt;&lt;span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(0, 153, 0); "&gt;A.&lt;/span&gt; Fedora 10 uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characteristics of the account belonging to the user being authenticated. One use is to select whether to load other modules based on this test. This module blocks root login using GUI.&lt;/p&gt;&lt;h2 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1.833em; margin-right: 0px; margin-bottom: 0.611em; margin-left: 0px; font-weight: bold; color: rgb(17, 17, 17); font-size: 1.286em; line-height: 1.222em; "&gt;Login as root&lt;/h2&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 0px; "&gt;Log in as normal user&lt;/p&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 0px; "&gt;Then open GUI terminal (bash prompt) and type the following command to become root user:&lt;br /&gt;&lt;code style="padding-top: 0.667em; padding-right: 0.917em; padding-bottom: 0.667em; padding-left: 0.917em; margin-top: 0px; margin-right: 0px; margin-bottom: 1.833em; margin-left: 0px; line-height: 1.5em; background-image: none; background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 0.857em; overflow-x: auto; overflow-y: auto; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); display: block; background-position: 0px 0px; background-repeat: repeat repeat; "&gt;$ su -&lt;/code&gt;&lt;/p&gt;&lt;div style="padding-top: 2px; padding-right: 0px; padding-bottom: 2px; padding-left: 0.5em; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(251, 251, 251); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-width: 10px; border-left-style: solid; border-left-color: rgb(178, 34, 34); background-position: initial initial; background-repeat: initial initial; "&gt;&lt;img src="http://figs.cyberciti.biz/warning-40px.png" title="Warning examples may crash your computer" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; vertical-align: middle; " /&gt;&lt;strong style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;WARNING!&lt;/strong&gt; These examples may crash your computer if not executed properly. It is recommended that you always login as normal user to avoid any damage to your system and then use su - to get root level access as required.&lt;/div&gt;&lt;h3 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 1.833em; margin-right: 0px; margin-bottom: 0.611em; margin-left: 0px; font-weight: normal; font-size: 1.286em; line-height: 1.222em; "&gt;Fedora 10 update GDM config to allow root login&lt;/h3&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 0px; "&gt;Type your root password. Next, make a backup of /etc/pam.d/gdm, enter:&lt;br /&gt;cp /etc/pam.d/gdm /root&lt;br /&gt;Now open /etc/pam.d/gdm using gedit or vi text editor, enter:&lt;br /&gt;&lt;code style="padding-top: 0.667em; padding-right: 0.917em; padding-bottom: 0.667em; padding-left: 0.917em; margin-top: 0px; margin-right: 0px; margin-bottom: 1.833em; margin-left: 0px; line-height: 1.5em; background-image: none; background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 0.857em; overflow-x: auto; overflow-y: auto; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); display: block; background-position: 0px 0px; background-repeat: repeat repeat; "&gt;gedit /etc/pam.d/gdm&lt;/code&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;code style="padding-top: 0.667em; padding-right: 0.917em; padding-bottom: 0.667em; padding-left: 0.917em; margin-top: 0px; margin-right: 0px; margin-bottom: 1.833em; margin-left: 0px; line-height: 1.5em; background-image: none; background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 0.857em; overflow-x: auto; overflow-y: auto; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); display: block; background-position: 0px 0px; background-repeat: repeat repeat; "&gt;vi /etc/pam.d/gdm&lt;/code&gt;&lt;br /&gt;Alternatively, you can do everything in a one command:&lt;br /&gt;&lt;code style="padding-top: 0.667em; padding-right: 0.917em; padding-bottom: 0.667em; padding-left: 0.917em; margin-top: 0px; margin-right: 0px; margin-bottom: 1.833em; margin-left: 0px; line-height: 1.5em; background-image: none; background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 0.857em; overflow-x: auto; overflow-y: auto; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); display: block; background-position: 0px 0px; background-repeat: repeat repeat; "&gt;su -c 'gedit /etc/pam.d/gdm'&lt;/code&gt;&lt;br /&gt;Find line that read as follows:&lt;/p&gt;&lt;pre style="padding-top: 0.667em; padding-right: 0.917em; padding-bottom: 0.667em; padding-left: 0.917em; margin-top: 0px; margin-right: 0px; margin-bottom: 1.833em; margin-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); overflow-x: auto; overflow-y: auto; clear: both; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; background-position: initial initial; background-repeat: initial initial; "&gt;auth required pam_succeed_if.so user != root quiet&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 0px; "&gt;Remove or comment out line by prefixing #.&lt;/p&gt;&lt;pre style="padding-top: 0.667em; padding-right: 0.917em; padding-bottom: 0.667em; padding-left: 0.917em; margin-top: 0px; margin-right: 0px; margin-bottom: 1.833em; margin-left: 0px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); overflow-x: auto; overflow-y: auto; clear: both; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; background-position: initial initial; background-repeat: initial initial; "&gt;# auth required pam_succeed_if.so user != root quiet&lt;/pre&gt;&lt;p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 1.571em; margin-left: 0px; "&gt;Save and close the file. Logout from terminal and from GUI itself. Now you should be able login as root user using GDM GUI login manager.&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-740250622820654666?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/740250622820654666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/10/fedora-10-enable-gui-root-login.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/740250622820654666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/740250622820654666'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2010/10/fedora-10-enable-gui-root-login.html' title='Fedora 10 Enable GUI Root Login'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-602300285671842826</id><published>2009-10-12T14:08:00.003+08:00</published><updated>2010-09-24T14:24:51.171+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NIST'/><title type='text'>NIST Wimax patch for NS-2.31</title><content type='html'>&lt;span style="font-size:100%;"&gt;Download: &lt;a href="http://www.ziddu.com/download/6879890/ns2.31-nist-wimax.zip.html"&gt;NS-2.31 + NIST Wimax patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Article obtained from:  http://bestkid.pixnet.net/blog/post/15075795&lt;br /&gt;&lt;br /&gt;Install ns-allinone-2.31&lt;br /&gt;&lt;br /&gt;1. download ns-allinone-2.31 http://sourceforge.net/project/showfiles.php?group_id=149743&amp;amp;package_id=169689&lt;br /&gt;&lt;br /&gt;2. Move ns-allinone-2.31.tar.gz to C:\cygwin\home\user&lt;br /&gt;&lt;br /&gt;3. Start cygwin ， tar zxvf ns-allinone-2.31.tar.gz&lt;br /&gt;&lt;br /&gt;4. cd ns-allinone-2.31&lt;br /&gt;&lt;br /&gt;5. ./install&lt;br /&gt;&lt;br /&gt;6. Modify  .bashrc file of C:\cygwin\home\user by inserting the following at the end of the file:&lt;br /&gt;&lt;br /&gt;export NS_HOME=`pwd`/ns-allinone-2.31&lt;br /&gt;&lt;br /&gt;export PATH=$NS_HOME/tcl8.4.14/unix:$NS_HOME/tk8.4.14/unix:$NS_HOME/bin:$NS_HOME/ns-2.31:$PATH&lt;br /&gt;&lt;br /&gt;export LD_LIBRARY_PATH=$NS_HOME/tcl8.4.14/unix:$NS_HOME/tk8.4.14/unix:$NS_HOME/otcl-1.13:$NS_HOME/lib:$LD_LIBRARY_PATH&lt;br /&gt;&lt;br /&gt;export TCL_LIBRARY=$NS_HOME/tcl8.4.14/library&lt;/span&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;7. after exit cygwin ， restart cygwin ，with the command: ns , to test if ns install successfully.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;b&gt;Install wimax module and ns-2.31 patch&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. Can be downloaded from the blog or obtained from http://w3.antd.nist.gov/seamlessandsecure.shtml | Software Tools &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;Note: contains patch for ns-2.31. See documentation for the list of modifications. Use the request form to download the file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;The downloaded file is  ns-nist-wimax.tgz  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt;Copy the file to C:\cygwin\home\user&lt;br /&gt;&lt;br /&gt;2. Start cygwin then unpacked the tarball with command:  tar zxvf ns-nist-wimax.tgz&lt;br /&gt;&lt;br /&gt;3. Then, with command: tar zxvf prerelease041707.tgz &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:100%;"&gt; After decompress completed, you will find patch-ns-2.31-041707 patch file.&lt;br /&gt;&lt;br /&gt;4. Copy patch-ns-2.31-041707 to C:\cygwin\home\user\ns-allinone-2.31 folder&lt;br /&gt;&lt;br /&gt;5. cd ns-allinone-2.31&lt;br /&gt;&lt;br /&gt;6. patch -p0 &lt;/span&gt;patch-ns-2.31-041707.patch&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-602300285671842826?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/602300285671842826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/10/nist-wimax-patch-for-ns-231.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/602300285671842826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/602300285671842826'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/10/nist-wimax-patch-for-ns-231.html' title='NIST Wimax patch for NS-2.31'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-5911438163415314628</id><published>2009-10-01T00:07:00.002+08:00</published><updated>2009-10-01T00:13:12.258+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NS-2.29'/><category scheme='http://www.blogger.com/atom/ns#' term='Scheduler'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Accelerate NS-2 scheduler</title><content type='html'>&lt;span style="font-family:times new roman;"&gt;Download: &lt;a href="http://www.ziddu.com/download/6712090/Patch.zip.html"&gt;Scheduler-patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a patch that can speed up the NS-2 scheduler by improving the Calendar Queue data structure in the scheduler. Especially, it can help to speed up many simulations with high speed long distance network. Some simulations that need one day with the original NS2 scheduler can now be finished in an hour.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Copy the patch to &lt;b&gt;ns-allinone-2.28/ns-2.28&lt;/b&gt; (or &lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;ns-2.29&lt;/b&gt;)&lt;/li&gt;&lt;li&gt; In the directory of &lt;b&gt;ns-allinone-2.28/ns-2.28&lt;/b&gt; (or &lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;ns-2.29&lt;/b&gt;) , run: &lt;b&gt; make clean &lt;/b&gt;&lt;/li&gt;&lt;li&gt;In the directory of &lt;b&gt;ns-allinone-2.28/ns-2.28&lt;/b&gt; (or &lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;ns-2.29&lt;/b&gt;), run: &lt;b&gt;patch -p1 &lt;&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;(Optional) delete the patch file by &lt;b&gt;rm ns-scheduler.patch &lt;/b&gt; &lt;/li&gt;&lt;li&gt;recompile the ns2 by &lt;b&gt;make &lt;/b&gt;and &lt;b&gt;make install&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;i&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;Many thanks to the author: David X. Wei&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-5911438163415314628?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/5911438163415314628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/10/accelerate-ns-2-scheduler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/5911438163415314628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/5911438163415314628'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/10/accelerate-ns-2-scheduler.html' title='Accelerate NS-2 scheduler'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-2489481807637883949</id><published>2009-09-30T21:42:00.005+08:00</published><updated>2009-09-30T21:53:57.587+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nam'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Error: nam: command not found</title><content type='html'>&lt;pre&gt;&lt;span style="font-family:times new roman;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;In nam directory (inside the ns-allinone)use the following command:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;./configure and make&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;When compiling, you would encounter a series of errors. Erase for example, "abc::" from file and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;in the line with error could solve the problem.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;By solving all the errors, you could execute nam with the command:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;nam&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-2489481807637883949?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/2489481807637883949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/09/error-nam-command-not-found.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/2489481807637883949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/2489481807637883949'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/09/error-nam-command-not-found.html' title='Error: nam: command not found'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-6522822307962915986</id><published>2009-09-30T14:57:00.003+08:00</published><updated>2010-09-24T14:17:19.743+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NS-2.29'/><category scheme='http://www.blogger.com/atom/ns#' term='NIST'/><category scheme='http://www.blogger.com/atom/ns#' term='Patch'/><title type='text'>Error free NIST mobility NS2.29 installation</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/6706064/ns2_NIST_mobility.patch.zip.html"&gt;patch_nist_mobility&lt;/a&gt;&lt;div&gt;&lt;a href="http://www.ziddu.com/download/6706064/ns2_NIST_mobility.patch.zip.html"&gt;&lt;/a&gt;Download:  &lt;span class="Apple-style-span" style="font-family: monospace; font-size: 13px; white-space: pre; "&gt;&lt;a href="//www.ziddu.com/download/11803466/ns-nist-mob.tgz.html"&gt;ns-&lt;/a&gt;&lt;b&gt;&lt;a href="//www.ziddu.com/download/11803466/ns-nist-mob.tgz.html"&gt;nist-mob.tgz&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;mousewheel&gt;&lt;mousewheel&gt;&lt;br /&gt;1. Extract the patch and insert the patch file in ns-2.29 folder.&lt;br /&gt;2. Patch the folder with the command:&lt;br /&gt;&lt;/mousewheel&gt;&lt;/mousewheel&gt;patch -p1 -i ns2_NIST_mobility.patch&lt;br /&gt;3. Compile the whole ns-2.29 with the command:&lt;br /&gt;./install&lt;br /&gt;&lt;br /&gt;Special thanks to Mr &lt;span&gt;&lt;span&gt;Johann&lt;/span&gt; M. Márquez Barja for providing the patch.&lt;br /&gt;***************************************************************&lt;br /&gt;To install NIST mobility....&lt;br /&gt;&lt;/span&gt;&lt;pre&gt;II- Version&lt;br /&gt;This source files provided is for ns-2.29.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;III- Installation&lt;br /&gt;The mobility package is a complete ns-2.29 directory, not a patch.&lt;br /&gt;Unzip and untar the source file:&lt;br /&gt;tar -zxf ns-&lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;nist&lt;/b&gt;-&lt;b style="color: black; background-color: rgb(160, 255, 255);"&gt;mob&lt;/b&gt;.&lt;b style="color: black; background-color: rgb(153, 255, 153);"&gt;tgz&lt;/b&gt;&lt;br /&gt;this will extract another compressedf file to unzip and untar:&lt;br /&gt;tar -zxf ns-2.29-&lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;nist&lt;/b&gt;-&lt;b style="color: black; background-color: rgb(160, 255, 255);"&gt;mob&lt;/b&gt;-022707.&lt;b style="color: black; background-color: rgb(153, 255, 153);"&gt;tgz&lt;/b&gt; (this will uncompress a complete ns-2.29 directory)&lt;br /&gt;&lt;br /&gt;Note: we have a generic name (ns-&lt;b style="color: black; background-color: rgb(255, 255, 102);"&gt;nist&lt;/b&gt;-&lt;b style="color: black; background-color: rgb(160, 255, 255);"&gt;mob&lt;/b&gt;.&lt;b style="color: black; background-color: rgb(153, 255, 153);"&gt;tgz&lt;/b&gt;) for download purposes. This file contains a compressed file with the release date to better keep track of the different versions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IV- Compilation options&lt;br /&gt;After extracting the ns-2.29 directory, you need to recompile the code. To do so, execute "make clean; ./configure ; make" in the ns-2.29 directory.&lt;br /&gt;To debug the wimax code, edit the Makefile and add the -DDEBUG_WIMAX switch in the DEFINE entry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;V- Running examples&lt;br /&gt;Examples of scenarios using homogeneous and heterogeneous handovers are located in the tcl/hsntg directory.&lt;br /&gt;The scripts have been updated to run properly.&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-6522822307962915986?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/6522822307962915986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/09/error-while-executing-nam-in-ns-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6522822307962915986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6522822307962915986'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/09/error-while-executing-nam-in-ns-2.html' title='Error free NIST mobility NS2.29 installation'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-4065625385637282022</id><published>2009-09-02T14:00:00.003+08:00</published><updated>2009-09-02T14:01:08.277+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>To Save and Exit in "vi" Command - Linux</title><content type='html'>Esc, then shift+ctrl+":" and then "wq", enter.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-4065625385637282022?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/4065625385637282022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/09/to-save-and-exit-in-vi-command-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4065625385637282022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4065625385637282022'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/09/to-save-and-exit-in-vi-command-linux.html' title='To Save and Exit in &quot;vi&quot; Command - Linux'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-3242704559268580671</id><published>2009-06-30T13:02:00.003+08:00</published><updated>2009-06-30T13:05:05.969+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><title type='text'>Learning C++</title><content type='html'>Due to NS-2 is heavily coded in C++, I am currently studying hard about it. My knowledge in C++ is really limited. Arghh...  Feel like I have been wasting a lot of time of doing "don't know what"... I want to GRADUATE!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-3242704559268580671?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/3242704559268580671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/06/learning-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3242704559268580671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3242704559268580671'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/06/learning-c.html' title='Learning C++'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-6384705162931258227</id><published>2009-03-31T19:31:00.004+08:00</published><updated>2009-03-31T19:36:25.083+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='coverage'/><title type='text'>Actual Coverage Range in NS-2</title><content type='html'>Actual Coverage Range = square of 2*distInterference_centred in the reception node&lt;br /&gt;&lt;br /&gt;PS: Information extracted from mailing list. Hopefully will be useful in later work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-6384705162931258227?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/6384705162931258227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/actual-coverage-range-in-ns-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6384705162931258227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6384705162931258227'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/actual-coverage-range-in-ns-2.html' title='Actual Coverage Range in NS-2'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-2230874129778426323</id><published>2009-03-19T14:30:00.011+08:00</published><updated>2009-06-28T16:06:00.903+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='omnet++'/><category scheme='http://www.blogger.com/atom/ns#' term='INET'/><title type='text'>Installing INET Framework into OMNET++</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/4033227/inet.tar.gz.html"&gt;Inet Framework&lt;/a&gt;&lt;br /&gt;Download: &lt;a href="http://www.ziddu.com/download/3920073/inetmanet.tar.gz.html"&gt;Inetmanet Framework&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To install:&lt;br /&gt;You should have a working OMNeT++ installation, version 4.0 or later.&lt;br /&gt;It must be compiled with dynamic NED loading enabled (WITH_NETBUILDER=yes setting).&lt;br /&gt;&lt;br /&gt;1. Make sure your OMNeT++ installation works OK (e.g. try running the samples)&lt;br /&gt;and it is in the path (to test, try the command "which nedtool").&lt;br /&gt;&lt;br /&gt;2. Change to the INET directory.&lt;br /&gt;&lt;br /&gt;3. Type "make" to build the inet executable (debug version). Use "make MODE=release" to build release version.&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;-lpcap is not found&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;yum install libpcap-devel&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;make: warning:  Clock skew detected.  Your build may be incomplete.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;pre&gt;   cd directory&lt;br /&gt;# Remove output files&lt;br /&gt;make clean&lt;br /&gt;# Put timestamps on all files equal to current time&lt;br /&gt;find . -exec touch {} \;&lt;br /&gt;# Rebuild all output files&lt;br /&gt;make&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Finally, try running the demo simulations. Change into examples/ and type&lt;br /&gt;"./rundemo".&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;&lt;!----&gt; Error during startup: Cannot load library '../../../src//libinet.so': ../../../src//libinet.so: cannot open shared object file: No such file or directory.&lt;br /&gt;&lt;br /&gt;For INET:&lt;br /&gt;Solution:&lt;br /&gt;SELinux blocks the library from running. Free the library with the command:&lt;br /&gt;chcon -t textrel_shlib_t '/home/user/inet/out/gcc-debug/src/libinet.so'&lt;br /&gt;&lt;br /&gt;For INETMANET:&lt;br /&gt;The problem occurs due to "makefile"&lt;br /&gt;&lt;br /&gt;1. Copy everything from "Makefile_dll" and replace all of "Makefile"&lt;br /&gt;&lt;br /&gt;2. Execute "buildMakefiles" shell file with the command: sh buildMakefiles&lt;br /&gt;&lt;br /&gt;3. Finally, compile with the command: make&lt;br /&gt;&lt;br /&gt;4. You probably need this as last step:&lt;br /&gt;chcon -t textrel_shlib_t '/home/user/inetmanet/out/gcc-debug/src/libinet.so'&lt;br /&gt;&lt;br /&gt;Then you should be able to run the demo in the examples;&lt;br /&gt;./rundemo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-2230874129778426323?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/2230874129778426323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/installing-inet-framework-into-omnet.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/2230874129778426323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/2230874129778426323'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/installing-inet-framework-into-omnet.html' title='Installing INET Framework into OMNET++'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-6663943722553596176</id><published>2009-03-12T12:04:00.013+08:00</published><updated>2009-09-02T13:56:56.820+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-miracle'/><category scheme='http://www.blogger.com/atom/ns#' term='subversion'/><title type='text'>Subversion of  NS-MIRACLE+NS-MIRACLE 2.0 Beta</title><content type='html'>Download the latest NSMIRACLE: &lt;a href="http://www.ziddu.com/download/3920281/main.zip.html"&gt;Subversion NS-MIRACLE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download Beta version: &lt;a href="http://www.ziddu.com/download/3920194/nsmiracle-2.0-beta.tar.gz.html"&gt;NS-MIRACLE 2.0 Beta&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The &lt;span class="caps"&gt;NS-MIRACLE&lt;/span&gt; codebase is kept on a subversion repository. In particular, the development version of nsmiracle is available at this URL:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;a href="https://telecom.dei.unipd.it/tlcrepos/nsmiracle-dev/trunk"&gt;https://telecom.dei.unipd.it:/tlcrepos/nsmiracle-dev/trunk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt;The above mentioned subversion repository provides read-only access for guest users using the following account:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;  &lt;pre&gt;username: nsmiracle-dev-guest&lt;br /&gt;password: nsmiracleguest&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt;As an example, using the &lt;tt&gt;svn&lt;/tt&gt; command line client you can check out the latest development version using the guest account by typing the following command and add in the path to be copied to at the trail of the command:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;svn co --username nsmiracle-dev-guest --password nsmiracleguest https://telecom.dei.unipd.it:/tlcrepos/nsmiracle-dev/trunk /home/username/nsmiraclerep&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ym400TPXQc4/Sbiq0wQWI6I/AAAAAAAADfo/vsVkomQX6Z0/s1600-h/svn1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 222px;" src="http://4.bp.blogspot.com/_ym400TPXQc4/Sbiq0wQWI6I/AAAAAAAADfo/vsVkomQX6Z0/s320/svn1.jpg" alt="" id="BLOGGER_PHOTO_ID_5312183583766881186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;NSMIRACLE SVN repository Installation procedures:&lt;br /&gt;&lt;br /&gt;1. Go to the "main" directory&lt;br /&gt;&lt;span style="font-style: italic;"&gt;command: &lt;/span&gt;&lt;br /&gt;cd main&lt;br /&gt;2. Execute the autogen.sh&lt;br /&gt;&lt;span style="font-style: italic;"&gt;command: &lt;/span&gt;&lt;br /&gt;sh autogen.sh&lt;br /&gt;3. Configure script will be generated and do the following:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;command:&lt;/span&gt;&lt;br /&gt;./configure --with-ns-allinone=/home/username/ns-allinone-2.33 --prefix=/home/username --disable-static --with-dei80211mr=/home/username/ns-allinone-2.33/dei80211mr-1.1.4&lt;br /&gt;4. &lt;span style="font-style: italic;"&gt;command:&lt;/span&gt;&lt;br /&gt;make&lt;br /&gt;5. &lt;span style="font-style: italic;"&gt;command:&lt;/span&gt;&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;NSMIRACLE ADDONS installation procedure:&lt;br /&gt;1. Go to the "addons" directory and access to the addon need to be install&lt;br /&gt;&lt;span style="font-style: italic;"&gt;command: &lt;/span&gt;&lt;br /&gt;cd addons&lt;br /&gt;cd &lt;span style="font-style: italic;"&gt;addontobeinstall&lt;/span&gt;&lt;br /&gt;2. Execute the autogen.sh&lt;br /&gt;&lt;span style="font-style: italic;"&gt;command: &lt;/span&gt;&lt;br /&gt;sh autogen.sh&lt;br /&gt;3. Configure script will be generated and do the following:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;command:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;./configure --with-ns-allinone=/home/&lt;wbr&gt;username/ns-allinone-2.33 --prefix=/home/username --disable-static --with-nsmiracle=/home/&lt;wbr&gt;username/nsmiracledir/&lt;wbr&gt;main&lt;/span&gt;&lt;br /&gt;4. &lt;span style="font-style: italic;"&gt;command:&lt;/span&gt;&lt;br /&gt;make&lt;br /&gt;5. &lt;span style="font-style: italic;"&gt;command:&lt;/span&gt;&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;PS:&lt;br /&gt;Error occured during "./configure" of addons:&lt;br /&gt;1. configure: error: Could not find boost graph header files, please install the boost graph library.&lt;br /&gt;Solution:&lt;br /&gt;yum install -y boost-devel&lt;br /&gt;yum install boost&lt;br /&gt;&lt;br /&gt;Error occured during "make" of addons:&lt;br /&gt;1. error:&lt;br /&gt;&lt;pre class="message"&gt;/usr/include/boost/pending/relaxed_heap.hpp:102: error: 'CHAR_BIT' was not declared in this scope&lt;br /&gt;&lt;/pre&gt;Solution:&lt;br /&gt;This is a bug in the standard header&lt;bitset&gt;&lt;bitset&gt;. Apparently, an include of &lt;/bitset&gt;&lt;limits.h&gt;&lt;bitset&gt;&lt;limits.h&gt; is missing in that header. Adding the following header to the problematic code fix the problem.&lt;br /&gt;&lt;br /&gt;#include &lt;climits&gt; // for CHAR_BIT&lt;limits.h&gt;&lt;br /&gt;&lt;/limits.h&gt;&lt;/limits.h&gt;&lt;/bitset&gt;&lt;/limits.h&gt;&lt;/bitset&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-6663943722553596176?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/6663943722553596176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/subversion-of-ns-miracle.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6663943722553596176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6663943722553596176'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/subversion-of-ns-miracle.html' title='Subversion of  NS-MIRACLE+NS-MIRACLE 2.0 Beta'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_ym400TPXQc4/Sbiq0wQWI6I/AAAAAAAADfo/vsVkomQX6Z0/s72-c/svn1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-5805161510209428358</id><published>2009-03-11T10:54:00.007+08:00</published><updated>2009-03-11T14:38:40.780+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-miracle'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Installing NS-MIRACLE to NS-2.33</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/3818784/nsmiracle-1.2.2.tar.gz.html"&gt;NS-MIRACLE-1.2.2&lt;/a&gt;&lt;br /&gt;Download: &lt;a href="http://www.ziddu.com/download/3818783/a16-baldo.pdf.html"&gt;Paper on NS-MIRACLE-1.2.2&lt;/a&gt;&lt;br /&gt;&lt;h3&gt;NS-MIRACLE: Multi-InteRfAce Cross-Layer Extension library for the Network Simulator&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_ym400TPXQc4/Sbcqur2h0dI/AAAAAAAADfY/E_cmDNaqk0M/s1600-h/nsmiraclepic.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 166px;" src="http://1.bp.blogspot.com/_ym400TPXQc4/Sbcqur2h0dI/AAAAAAAADfY/E_cmDNaqk0M/s320/nsmiraclepic.jpg" alt="" id="BLOGGER_PHOTO_ID_5311761267040571858" border="0" /&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="caps"  style="font-size:100%;"&gt;NS-MIRACLE&lt;/span&gt;&lt;span style="font-size:100%;"&gt; is a set of libraries designed to enhance the functionalities provided by the Network Simulator ns2. It provides an efficient and embedded engine for handling cross-layer messages and, at the same time, enables the coexistance of multiple modules within each layer of the protocol stack. For instance, multiple IP, link layers, MACs or physical layers can be specified and used within the same node. The &lt;/span&gt;&lt;span class="caps"  style="font-size:100%;"&gt;NS-MIRACLE&lt;/span&gt;&lt;span style="font-size:100%;"&gt; framework facilitates the implementation and the simulation of modern communication systems in ns2; moreover, due to its modularity, the code will be portable, re-usable and extensible.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installation of NS-MIRACLE:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Unpack the &lt;span class="code"&gt;nsmiracle&lt;/span&gt; package at /home/username and cd into the newly created directory:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Command:&lt;/span&gt;&lt;br /&gt;tar xzf nsmiracle-1.2.2.tar.gz&lt;br /&gt;cd nsmiracle-1.2.2&lt;br /&gt;&lt;br /&gt;2. In the /nsmiracle-1.2.2, do the following:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Command:&lt;/span&gt;&lt;br /&gt;./configure --with-ns-allinone=/home/username/ns-allinone-2.33 --prefix=/home/username --disable-static --with-dei80211mr=/home/username/ns-allinone-2.33/dei80211mr-1.1.4&lt;br /&gt;&lt;br /&gt;3. After that, execute as following:&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Command:&lt;/span&gt;&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;4. Lastly, check that your installed NS-MIRACLE is working by running the example found in /home/username/nsmiracle-1.2.2/samples&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Command:&lt;/span&gt;&lt;br /&gt;cd samples&lt;br /&gt;ns link_with_errors_cbr.tcl&lt;br /&gt;&lt;br /&gt;You should get the result as shown if NS-MIRACLE is installed successfully:&lt;br /&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;Simulating........................................done!&lt;br /&gt;Packet Error Ratio  :   0.050000&lt;br /&gt;Throughput          :   68360.897567&lt;br /&gt;Tracefile     : /tmp/link_with_errors_cbr.tcl.tr&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;NOTE:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;remember to adapt all paths to your needs, unless you're using &lt;span class="code"&gt;/home/username&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;make sure that the tests run by &lt;span class="code"&gt;./configure&lt;/span&gt; have been successful, in particular the tests for &lt;span class="code"&gt;ns-allinone&lt;/span&gt; &lt;/li&gt;&lt;li&gt;after running &lt;span class="code"&gt;make install&lt;/span&gt;, make sure that the path in which library have been installed is in your &lt;span class="code"&gt;LD_LIBRARY_PATH&lt;/span&gt; environment variable.&lt;/li&gt;&lt;/ul&gt;Ref. page: &lt;a href="http://telecom.dei.unipd.it/pages/read/58/"&gt;http://telecom.dei.unipd.it/pages/read/58/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-5805161510209428358?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/5805161510209428358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/installing-ns-miracle-to-ns-233.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/5805161510209428358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/5805161510209428358'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/installing-ns-miracle-to-ns-233.html' title='Installing NS-MIRACLE to NS-2.33'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_ym400TPXQc4/Sbcqur2h0dI/AAAAAAAADfY/E_cmDNaqk0M/s72-c/nsmiraclepic.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-7773130623973666770</id><published>2009-03-05T15:57:00.004+08:00</published><updated>2009-03-05T16:54:34.986+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='omnet++'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 10'/><title type='text'>Install OMNET++ 4.0 at FEDORA 10</title><content type='html'>Download:&lt;br /&gt;&lt;br /&gt;Pre-installation:&lt;br /&gt;Install the items in the following list in FEDORA 10. You must be 'root' to execute the following command:&lt;br /&gt;&lt;br /&gt;yum install tcl&lt;br /&gt;yum install tcl-devel&lt;br /&gt;yum install tk&lt;br /&gt;yum install tk-devel&lt;br /&gt;yum install blt&lt;br /&gt;yum install gcc&lt;br /&gt;yum install gcc-c++&lt;br /&gt;yum install byacc&lt;br /&gt;yum install bison&lt;br /&gt;yum install flex&lt;br /&gt;yum install make&lt;br /&gt;yum install swig&lt;br /&gt;yum install zlib-devel&lt;br /&gt;yum install java-1.6.0-openjdk-plugin&lt;br /&gt;yum install automake&lt;br /&gt;yum install autoconf&lt;br /&gt;&lt;br /&gt;Installation of OMNET++ 4.0:&lt;br /&gt;&lt;br /&gt;Download the source package and copy the omnetpp file to where you want to install it.&lt;br /&gt;Extract the package by the command:&lt;br /&gt;tar zxvf omnetpp-4.0rc2-src.tgz&lt;br /&gt;&lt;br /&gt;Add the following line to your startup file (.bashrc or .bash_profile):&lt;br /&gt;export PATH=$PATH:~/omnetpp-4.0/bin                                                                                 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/omnetpp-4.0/lib&lt;br /&gt;&lt;br /&gt;Access into the newly created directory:&lt;br /&gt;cd omnetpp-4.0&lt;br /&gt;&lt;br /&gt;Install with command:&lt;br /&gt;./configure&lt;br /&gt;&lt;br /&gt;Locate .bash_profile (eg. /home/user/.bash_profile) and include the following line into it:&lt;br /&gt;export TCL_LIBRARY=/usr/share/tcl8.5&lt;br /&gt;&lt;br /&gt;After that, at the omnetpp-4.0 directory too, type this command:&lt;br /&gt;make&lt;br /&gt;&lt;br /&gt;After compilation completed, you can try the samples, for eg:&lt;br /&gt;       cd ~/omnetpp-4.0/samples/dyna&lt;br /&gt;       ./dyna&lt;br /&gt;&lt;br /&gt;To start omnet++ IDE, use the command:&lt;br /&gt;omnetpp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-7773130623973666770?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/7773130623973666770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/install-omnet-40-at-fedora-10.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7773130623973666770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/7773130623973666770'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/install-omnet-40-at-fedora-10.html' title='Install OMNET++ 4.0 at FEDORA 10'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-8301608856881454754</id><published>2009-03-05T13:56:00.004+08:00</published><updated>2009-03-05T15:29:34.708+08:00</updated><title type='text'>My current dilemma....</title><content type='html'>I am using NS-MIRACLE, the extension of NS-2 in order to create multi technology nodes. My intention is to create nodes with two interfaces, which are UMTS interface and WLAN interface respectively.&lt;br /&gt;&lt;br /&gt;For long I have been analyzing the sample codes in NS-MIRACLE, but still I am unable to create my dual interface nodes yet. HELP!~~ @ @&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-8301608856881454754?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/8301608856881454754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/my-current-dilemma.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/8301608856881454754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/8301608856881454754'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/my-current-dilemma.html' title='My current dilemma....'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-6826116565110884553</id><published>2009-03-02T14:30:00.002+08:00</published><updated>2009-03-02T14:33:32.971+08:00</updated><title type='text'>Prevent FEDORA 10 from always log out</title><content type='html'>Check your screensaver setting:&lt;br /&gt;system|preferences|look and feel|screensaver|untick all&lt;br /&gt;&lt;br /&gt;Check your power management setting:&lt;br /&gt;system|preferences|system|power management|On AC power, set to never for all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-6826116565110884553?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/6826116565110884553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/prevent-fedora-10-from-always-log-out.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6826116565110884553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/6826116565110884553'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/prevent-fedora-10-from-always-log-out.html' title='Prevent FEDORA 10 from always log out'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-4765066932166427948</id><published>2009-03-02T12:22:00.002+08:00</published><updated>2009-03-02T14:22:24.537+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 10'/><title type='text'>Set the screen resolution of FEDORA 10 in VMWARE</title><content type='html'>Change by doing the following at FEDORA 10&lt;br /&gt;system| preferences| hardware| screen resolution&lt;br /&gt;&lt;br /&gt;and choose your desire resolution, then click "apply" and "ok".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-4765066932166427948?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/4765066932166427948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/set-screen-resolution-of-fedora-10-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4765066932166427948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4765066932166427948'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/set-screen-resolution-of-fedora-10-in.html' title='Set the screen resolution of FEDORA 10 in VMWARE'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-4323266682993214193</id><published>2009-03-02T11:43:00.007+08:00</published><updated>2009-03-10T12:44:14.495+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 10'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Installing NS-2 in Fedora 10</title><content type='html'>Download:&lt;a href="http://www.ziddu.com/downloadlink/3648328/ns-allinone-2.33.tar.gz"&gt; ns-allinone-2.33&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have used VMWARE with Fedora 10 to install NS-2 for my convenience. The steps are as below:&lt;br /&gt;&lt;br /&gt;Pre-installation NS-2:&lt;br /&gt;1. Make sure FEDORA 10 is updated completely at the autoupdate.&lt;br /&gt;2. Have the following install at TERMINAL. You must be the "root" to do this:&lt;br /&gt;yum install autoconf&lt;br /&gt;yum install automake&lt;br /&gt;yum install gcc-c++&lt;br /&gt;yum install libX11-devel&lt;br /&gt;yum install xorg-x11-proto-devel&lt;br /&gt;yum install libXt-devel&lt;br /&gt;yum install libXmu-devel&lt;br /&gt;yum install tk&lt;br /&gt;yum install tcl&lt;br /&gt;yum install make&lt;br /&gt;yum install perl&lt;br /&gt;yum install gnuplot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Installation for NS-2 in FEDORA 10:&lt;br /&gt;1. Unzipped NS-2.33 file:&lt;br /&gt;tar -xvzf ns-allinone-2.33.tar.gz&lt;br /&gt;2. Go into ns-2.33 directory:&lt;br /&gt;cd ns-allinone-2.33&lt;br /&gt;3. Install ns-2.33&lt;br /&gt;./install&lt;br /&gt;4. Set environment:&lt;br /&gt;gedit ~/.bashrc&lt;br /&gt;&lt;br /&gt;Replace the following to your .bashrc file, double check your own installation path and version. Set the environment at "cd /home/username" as a user and not the "root":&lt;br /&gt;&lt;blockquote&gt;# .bashrc&lt;br /&gt;&lt;br /&gt;# Source global definitions&lt;br /&gt;if [ -f /etc/bashrc ]; then&lt;br /&gt;. /etc/bashrc&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;# User specific aliases and functions&lt;br /&gt;&lt;br /&gt;# LD_LIBRARY_PATH&lt;br /&gt;OTCL_LIB=/home/ellysoo/ns-allinone-2.33/otcl-1.13&lt;br /&gt;NS2_LIB=/home/ellysoo/ns-allinone-2.33/lib&lt;br /&gt;X11_LIB=/ellysoo/X11R6/lib&lt;br /&gt;USR_LOCAL_LIB=/home/ellysoo/lib&lt;br /&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# TCL_LIBRARY&lt;br /&gt;TCL_LIB=/home/ellysoo/ns-allinone-2.33/tcl8.4.18/library&lt;br /&gt;USR_LIB=/ellysoo/lib&lt;br /&gt;export TCL_LIBRARY=$TCL_LIB:$USR_LIB&lt;br /&gt;&lt;br /&gt;# PATH&lt;br /&gt;XGRAPH=/home/ellysoo/ns-allinone-2.33/bin:/home/ellysoo/ns-allinone-2.33/tcl8.4.18/unix:/home/ellysoo/ns-allinone-2.33/tk8.4.18/unix&lt;br /&gt;NS=/home/ellysoo/ns-allinone-2.33/ns-2.33/&lt;br /&gt;NAM=/home/ellysoo/ns-allinone-2.33/nam-1.13/&lt;br /&gt;PATH=$PATH:$XGRAPH:$NS:$NAM&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt; 5. If your environment is set properly, you should be able to run the command "ns" and get the result "%".&lt;br /&gt;&lt;br /&gt;6.  Validate your ns as followed:&lt;br /&gt;./validate&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-4323266682993214193?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/4323266682993214193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/installing-ns-2-in-fedora-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4323266682993214193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4323266682993214193'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/03/installing-ns-2-in-fedora-10.html' title='Installing NS-2 in Fedora 10'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-3200864062313380935</id><published>2009-02-24T18:00:00.003+08:00</published><updated>2009-02-25T11:51:21.689+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='nsg-2'/><title type='text'>Run NSG2 in FEDORA 10</title><content type='html'>1. Yum install java-1.6.0-openjdk-plugin&lt;br /&gt;2. At the directory of NSG2, type the command: java -jar NSG2.1.jar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-3200864062313380935?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/3200864062313380935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/run-nsg2-in-fedora-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3200864062313380935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3200864062313380935'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/run-nsg2-in-fedora-10.html' title='Run NSG2 in FEDORA 10'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-4634205006343285796</id><published>2009-02-24T17:17:00.006+08:00</published><updated>2009-02-26T15:41:21.852+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmx'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>VMX file to allow VMWARE to detect USB driver</title><content type='html'>      &lt;!-- ======================================================= --&gt;   &lt;!-- Created by AbiWord, a free, Open Source wordprocessor.  --&gt;   &lt;!-- For more information visit http://www.abisource.com.    --&gt;   &lt;!-- ======================================================= --&gt;   &lt;meta equiv="content-type" content="text/html;charset=UTF-8"&gt;   &lt;title&gt;&lt;/title&gt;   &lt;style type="text/css"&gt;    &lt;!-- #toc, .toc, .mw-warning { 	border: 1px solid #aaa; 	background-color: #f9f9f9; 	padding: 5px; 	font-size: 95%; } #toc h2, .toc h2 { 	display: inline; 	border: none; 	padding: 0; 	font-size: 100%; 	font-weight: bold; } #toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle { 	text-align: center; } #toc ul, .toc ul { 	list-style-type: none; 	list-style-image: none; 	margin-left: 0; 	padding-left: 0; 	text-align: left; } #toc ul ul, .toc ul ul { 	margin: 0 0 0 2em; } #toc .toctoggle, .toc .toctoggle { 	font-size: 94%; }@media print, projection, embossed { 	body { 		padding-top:1in; 		padding-bottom:1in; 		padding-left:1in; 		padding-right:1in; 	} } body { 	font-family:'Liberation Serif'; 	font-variant:normal; 	text-indent:0in; 	widows:2; 	font-style:normal; 	font-weight:normal; 	text-decoration:none; 	color:#000000; 	text-align:left; 	font-size:12pt; } table { } td { 	border-collapse:collapse; 	text-align:left; 	vertical-align:top; } p, h1, h2, h3, li { 	color:#000000; 	font-family:'Liberation Serif'; 	font-size:12pt; 	text-align:left; 	vertical-align:normal; }      --&gt;   &lt;/style&gt;     &lt;div&gt;    &lt;p&gt;Open your vmware vmx file with notepad and replace all as below and make sure the filename is same as your filename inside the same folder:&lt;/p&gt;&lt;p&gt;Download: &lt;a href="http://www.ziddu.com/download/3642968/fedora-10-i386.zip.html"&gt;VMX File&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;#!/usr/bin/vmware&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;.encoding = "UTF-8"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;config.version = "8"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;virtualHW.version = "4"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;scsi0.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;scsi0.virtualDev = "lsilogic"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;memsize = "256"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;scsi0:0.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;scsi0:0.fileName = "fedora-10-i386.vmdk"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ide1:0.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ide1:0.fileName = "auto detect"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ide1:0.deviceType = "cdrom-raw"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;floppy0.startConnected = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;floppy0.fileName = "/dev/fd0"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ethernet0.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ethernet0.connectionType = "nat"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ethernet0.wakeOnPcktRcv = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;roamingVM.exitBehavior = "go"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;displayName = "Fedora10"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;guestOS = "other26xlinux"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;nvram = "fedora-10-i386.nvram"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;virtualHW.productCompatibility = "esx"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ft.secondary0.enabled = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;tools.upgrade.policy = "useGlobal"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# PowerOn/Off options&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;gui.powerOnAtStartup = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;gui.fullScreenAtPowerOn = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;gui.exitAtPowerOff = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# USB settings&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# This config activates USB&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;usb.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;usb.generic.autoconnect = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# Optional second serial port, physical COM2 is not available&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;serial1.present = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# First parallell port, physical LPT1 is available&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;parallel0.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;parallel0.fileName = "Auto Detect"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;parallel0.autodetect = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;parallel0.bidirectional = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# Sound settings&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;sound.present = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;sound.fileName = "-1"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;sound.autodetect = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;# Other default settings&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;#svga.autodetect = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;svga.maxWidth=1280&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;svga.maxHeight=1024 &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;mks.keyboardFilter = "allow"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;snapshot.action = "autoCommit"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;extendedConfigFile = "fedora-10-i386.vmxf"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ethernet0.addressType = "generated"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;uuid.location = "56 4d b4 d1 71 51 96 7f-92 5a e6 00 a7 63 44 b1"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;uuid.bios = "56 4d b4 d1 71 51 96 7f-92 5a e6 00 a7 63 44 b1"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;scsi0:0.redo = ""&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;vmotion.checkpointFBSize = "16777216"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ethernet0.generatedAddress = "00:0c:29:63:44:b1"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ethernet0.generatedAddressOffset = "0"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;tools.remindInstall = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;ide1:0.autodetect = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;floppy0.autodetect = "TRUE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;checkpoint.vmState = "fedora-10-i386.vmss"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;tools.syncTime = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;isolation.tools.hgfs.disable = "FALSE"&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;usb.autoConnect.device0 = ""&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;    &lt;/div&gt;&lt;p style="text-align: left;" dir="ltr"&gt;&lt;span style="font-size:78%;"&gt;parallel0.startConnected = "FALSE"&lt;/span&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;   &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-4634205006343285796?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/4634205006343285796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/vmx-file-to-allow-vmware-to-detect-usb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4634205006343285796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4634205006343285796'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/vmx-file-to-allow-vmware-to-detect-usb.html' title='VMX file to allow VMWARE to detect USB driver'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-1229753487682866685</id><published>2009-02-24T16:48:00.010+08:00</published><updated>2009-03-05T13:42:02.307+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tracegraph'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Installing Tracegraph in Fedora 10 with NS-2</title><content type='html'>As referred to: http://ns-2.blogspot.com&lt;br /&gt;&lt;br /&gt;I have followed the steps below for Tracegraph installation:&lt;br /&gt;Download Tracegraph for linux: &lt;a href="http://www.blogger.com/%20%20%20http://www.ziddu.com/download/3645270/tracegraph202linux.tar.gz.html"&gt;Tracegraph202&lt;/a&gt;&lt;br /&gt;Download Matlab for tracegraph: &lt;a href="http://www.ziddu.com/downloadlink/3647874/mglinstaller.gz"&gt;Matlab&lt;/a&gt;&lt;br /&gt;Download my .bashrc file: &lt;a href="http://www.ziddu.com/download/3737443/bashrc.txt.html"&gt;.bashrc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Installation instructions on &lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Linux&lt;/span&gt;&lt;span style="font-style: italic;"&gt;:&lt;/span&gt;&lt;br /&gt;1)Download tracegraph and mglinstaller from the webpage&lt;br /&gt;Check Trace graph download page: &lt;a href="http://www.tracegraph.com/download.html"&gt;http://www.tracegraph.com/download.html&lt;/a&gt;&lt;br /&gt;Choose Linux version and download mglinstaller.&lt;br /&gt;2) At the directory where you save the tracegraph and mglinstaller.&lt;br /&gt;Command: tar -xvzf tracegraph202.linux.tar.gz&lt;br /&gt;3) Command: gunzip mglinstaller.gz&lt;br /&gt;4) Command: sh mglinstaller&lt;br /&gt;5) When asking for location folder, set /home/user1/mgl as the location&lt;br /&gt;6) set the environment path variable by&lt;br /&gt;Command: gedit ~/.bashrc&lt;br /&gt;In .bashrc file, add in the following:&lt;br /&gt;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user1/mgl/bin/glnx86&lt;br /&gt;7) Check the environment,&lt;br /&gt;Command: printenv LD_LIBRARY_PATH&lt;br /&gt;8) Go to directory /home/user1/Tracegraph202 and run trgraph.&lt;br /&gt;Command: ./trgraph&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Errors encounter when installing:&lt;br /&gt;1) ./trgraph: error while loading shared libraries: libmwcl.so: cannot open shared object file: No such file or directory&lt;br /&gt;&lt;br /&gt;Solution: LD_LIBRARY_PATH is not defined properly. Check with printenv and set the environment again.&lt;br /&gt;&lt;br /&gt;2) ./trgraph: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory&lt;br /&gt;&lt;br /&gt;solution: yum install libXp.so.6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Installation instructions on &lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Windows&lt;/span&gt;&lt;span style="font-style: italic;"&gt;:&lt;/span&gt;&lt;br /&gt;1)Download tracegraph and mglinstaller from the page make sure it is windows version &lt;a href="http://www.tracegraph.com/download.html"&gt;http://www.tracegraph.com/download.html&lt;/a&gt;&lt;br /&gt;2)unzip tracegraph202.zip to say, D:\&lt;br /&gt;3)execute mglinstaller.exe, when it asks for directory name, enter D:\tracegraph202&lt;br /&gt;4) add D:\tracegraph202\bin\win32 to your environment PATH&lt;br /&gt;5)how to add to environment PATH??&lt;br /&gt;right click on Mycomputer and select properties&lt;br /&gt;From properties select Advanced tab&lt;br /&gt;Select environment path variables&lt;br /&gt;Select PATH and add your path to it&lt;br /&gt;Thats it tracegraph is now ready!!&lt;br /&gt;This is the procedure i followed while installing tracegraph on both windows and linux (if you dont have matlab installed on your machine.)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.tracegraph.com/t7.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 243px; height: 182px;" src="http://www.tracegraph.com/t7.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-1229753487682866685?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/1229753487682866685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/installing-tracegraph-in-fedora-10-with.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/1229753487682866685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/1229753487682866685'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/installing-tracegraph-in-fedora-10-with.html' title='Installing Tracegraph in Fedora 10 with NS-2'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-82402999352636166</id><published>2009-02-24T11:43:00.010+08:00</published><updated>2009-09-30T15:08:41.228+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nam'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>Refresh my mind on NAM error in FEDORA 10</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/3648005/Patch.zip.html"&gt;Patch&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Error when executing nam in Fedora 10 terminal:&lt;br /&gt;nam:&lt;br /&gt;[code omitted because of length]&lt;br /&gt;: no event type or button # or keysym&lt;br /&gt;    while executing&lt;br /&gt;"bind Listbox &lt;mousewheel&gt; {&lt;br /&gt;%W yview scroll [expr {- (%D / 120) * 4}] units&lt;br /&gt;}"&lt;br /&gt;    invoked from within&lt;br /&gt;"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {&lt;br /&gt;bind Listbox &lt;mousewheel&gt; {&lt;br /&gt;%W yview scroll [expr {- (%D)}] units&lt;br /&gt;}&lt;br /&gt;bind Li..."&lt;br /&gt;&lt;mousewheel&gt;&lt;br /&gt;&lt;br /&gt;After installing Fedora 10 with NS-2 two months back, the solution seems to have been faded from my mind. Totally cannot recall. Now my friend is having this error, yet I have forgotten how to solve it. Should have record all the solution here for reference last time but I have started this blog kinda late. Hope will soon find the solution and definitely will update in here this time!&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Extract &lt;span style="font-weight: bold;"&gt;tk-8.4.18-tkBind.patch &lt;/span&gt;&lt;span&gt;from the downloaded patch.zip.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Put the file in ns-allinone-2.33 folder and in the same directory patch with the command:  patch -p0 &lt;&gt;&lt;/li&gt;&lt;li&gt;Finally, compile the ns-2 again with the command: ./install&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;PS: For my case, I have to be the "&lt;span style="font-weight: bold;"&gt;root&lt;/span&gt;" so that ./install will compile my ns-2 completely.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Extract &lt;span style="font-weight: bold;"&gt;tk-8.4-lastevent.patch &lt;/span&gt;&lt;span&gt;from downloaded patch.zip.&lt;/span&gt; &lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;a href="http://bugs.gentoo.org/show_bug.cgi?id=225999"&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Put the file in &lt;span style="font-weight: bold;"&gt;tk8.4.18&lt;/span&gt; folder and in the same directory as the patch  and type with the command:  patch -p1 &lt; ./tk-8.4-lastevent.patch&lt;/li&gt;&lt;li&gt;File to patch: generic/tk.h&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Finally, compile the ns-2 again at ns-allinone-2.33 directory with the command : ./install&lt;/li&gt;&lt;/ol&gt;&lt;/mousewheel&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-82402999352636166?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/82402999352636166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/refresh-my-mind-on-nam-error-in-fedora.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/82402999352636166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/82402999352636166'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/refresh-my-mind-on-nam-error-in-fedora.html' title='Refresh my mind on NAM error in FEDORA 10'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-2892295696408074815</id><published>2009-02-02T15:18:00.006+08:00</published><updated>2009-02-26T22:51:03.620+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nsg-2'/><category scheme='http://www.blogger.com/atom/ns#' term='generator'/><title type='text'>NSG-2 : Java based NS-2 scenarios generator</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/3647956/NSG2.1.zip.html"&gt;NSG2.1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;a name="TOC-What-is-NSG2-:"&gt;&lt;/a&gt;What is NSG2?&lt;br /&gt;&lt;/h3&gt;NS2 Scenarios Generator 2(NSG2) is a JAVA based ns2 scenarios generator.  Since NSG2 is written by JAVA language, you can run NSG on any platform. NSG2 is  capable of generating both wired and wireless TCL scripts for ns2. Some major  functions of NSG2 are listed below: &lt;p&gt;1. Creating wired and wireless nodes&lt;/p&gt; &lt;p&gt;2. Creating connection between nodes&lt;/p&gt; &lt;p&gt;3. Creating links (Duplex-Link and Simplex-Link) &lt;/p&gt; &lt;p&gt;4. Creating agents (TCP and UDP)&lt;br /&gt;&lt;/p&gt; &lt;p&gt;5. Creating applications (CBR and FTP) &lt;/p&gt; &lt;p&gt;6. Node movement &lt;/p&gt;The link of the site is: &lt;a href="http://sites.google.com/site/pengjungwu/nsg"&gt;http://sites.google.com/site/pengjungwu/nsg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_ym400TPXQc4/SYagS2Bir9I/AAAAAAAADfE/AJLymVRJYIY/s1600-h/NSG2-1-full.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_ym400TPXQc4/SYagS2Bir9I/AAAAAAAADfE/AJLymVRJYIY/s320/NSG2-1-full.jpg" alt="" id="BLOGGER_PHOTO_ID_5298098257248038866" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-2892295696408074815?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/2892295696408074815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/nsg-2-java-based-ns-2-scenarios.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/2892295696408074815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/2892295696408074815'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/02/nsg-2-java-based-ns-2-scenarios.html' title='NSG-2 : Java based NS-2 scenarios generator'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_ym400TPXQc4/SYagS2Bir9I/AAAAAAAADfE/AJLymVRJYIY/s72-c/NSG2-1-full.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-3361004929286812859</id><published>2009-01-19T12:00:00.003+08:00</published><updated>2009-02-26T15:33:02.692+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jTrana'/><category scheme='http://www.blogger.com/atom/ns#' term='demo'/><title type='text'>A simple demo with jTrana</title><content type='html'>&lt;div&gt;Thanks to Weiwei Fang, the developer of jTrana, for providing us this demo:&lt;br /&gt;&lt;br /&gt;Download the demo here (in MS-Word):&lt;br /&gt;&lt;a href="http://www.ziddu.com/download/3642848/A_simple_demo.doc.html"&gt;A Simple Demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download the slides here (PowerPoint):&lt;br /&gt;&lt;a href="http://www.ziddu.com/download/3642849/Intro_Slides_Jtrana.pdf.html" class="normal12blue"&gt;Jtrana Slides&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5292881489660071858" style="margin: 0px auto 10px; display: block; width: 320px; height: 179px; text-align: center;" alt="" src="http://4.bp.blogspot.com/_ym400TPXQc4/SXQXrAVtz7I/AAAAAAAADd8/4caRDPleUOo/s320/jTranademo.jpg" border="0" /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-3361004929286812859?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/3361004929286812859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/simple-demo-with-jtrana.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3361004929286812859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/3361004929286812859'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/simple-demo-with-jtrana.html' title='A simple demo with jTrana'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_ym400TPXQc4/SXQXrAVtz7I/AAAAAAAADd8/4caRDPleUOo/s72-c/jTranademo.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-8699779949761665281</id><published>2009-01-19T10:29:00.005+08:00</published><updated>2009-03-02T11:38:29.955+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jTrana'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><title type='text'>Steps to install jTrana</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/3647247/j2re-1_4_0-win.zip.html"&gt;Java&lt;/a&gt;&lt;br /&gt;Download: &lt;a href="http://www.ziddu.com/download/3647118/jTrana.zip.html"&gt;jTrana&lt;/a&gt;&lt;br /&gt;Download: &lt;a href="http://www.ziddu.com/downloadlink/3680986/mysql-5.1.30-win32.zip"&gt;Mysql5.1.30-32bits&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;JTrana is a java-based NS2 Wireless Trace Analyzer. You can use it to analyse the NS2 wireless simulation traces.&lt;br /&gt;&lt;br /&gt;What can jTrana do?&lt;br /&gt;Network related: Overall information, Energy remained for the whole network, Packet statistics.&lt;br /&gt;Nodes Related: Current selected node info, packets id, throughput, energy, sequence number, delay, RTT, Movement&lt;br /&gt;Custom function: Get the data from the MySQL database using SQL-like script and get the results.&lt;br /&gt;&lt;br /&gt;Special thanks to Nancy for supplying me the installers which have saved my time a lot from downloading with the campus snail speed internet access.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Software needed:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;1. Java Environment (JDK 1.4 or above).&lt;/li&gt;&lt;li&gt;2. Mysql (mysql-5.1.30-win32.zip) 103 Mb : &lt;a href="http://mirror.cogentco.com/pub/mysql/MySQL-5.1/mysql-5.1.30-win32.zip"&gt;http://mirror.cogentco.com/pub/mysql/MySQL-5.1/mysql-5.1.30-win32.zip&lt;/a&gt;&lt;a href="http://72.14.235.132/search?q=cache:Izm7qvyNbIoJ:mirror.cogentco.com/pub/mysql/MySQL-5.1/+mysql-5.1.30-win32.zip+download+103M&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;cd=6"&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;3. jTrana : &lt;a href="http://sourceforge.net/project/downloading.php?group_id=197781&amp;amp;use_mirror=waix&amp;amp;filename=jTrana.zip&amp;amp;58891613"&gt;http://sourceforge.net/project/downloading.php?group_id=197781&amp;amp;use_mirror=waix&amp;amp;filename=jTrana.zip&amp;amp;58891613&lt;/a&gt;&lt;a href="http://72.14.235.132/search?q=cache:Izm7qvyNbIoJ:mirror.cogentco.com/pub/mysql/MySQL-5.1/+mysql-5.1.30-win32.zip+download+103M&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;cd=6"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are the steps recorded down when I am installing jTrana:&lt;br /&gt;&lt;br /&gt;1. Make sure your Windows (Windows XP Pro, in my case) has Java supported, if not, install Java first.&lt;br /&gt;&lt;br /&gt;2. Then, install mysql ( my filename is: mysql-5.1.30-win32.zip). Follow the guidelines from Larry Kahm: &lt;a href="http://www.heliotropicsystems.com/pubs/TSa092005.pdf"&gt;www.heliotropicsystems.com/pubs/TSa092005.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Next click on jTRANA file, namely run.bat. Login as root with the password set during mysql installation. Below is the login page of jTrana upon successful installation:&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5292843260367297170" style="margin: 0px auto 10px; display: block; width: 320px; height: 190px; text-align: center;" alt="" src="http://4.bp.blogspot.com/_ym400TPXQc4/SXP05xIDWpI/AAAAAAAADdk/mngMnq8sGqE/s320/jTrana.jpg" border="0" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-8699779949761665281?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/8699779949761665281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/steps-to-install-jtrana.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/8699779949761665281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/8699779949761665281'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/steps-to-install-jtrana.html' title='Steps to install jTrana'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_ym400TPXQc4/SXP05xIDWpI/AAAAAAAADdk/mngMnq8sGqE/s72-c/jTrana.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-9203128518608022285</id><published>2009-01-16T11:00:00.002+08:00</published><updated>2009-02-26T23:00:53.292+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='routing protocols'/><title type='text'>Creating your own routing protocols in NS-2</title><content type='html'>Download Protoname source code: &lt;a href="http://www.ziddu.com/download/3647036/protoname.zip.html"&gt;PROTONAME&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just went through ip-tech.blogspot and happened to read on his post about creating own protocols. This information is really helpful to me, hopefully by reading the guideline in "Implementing a New Unicast routing Protocol in NS2", I would able to write my own routing protocols soon.&lt;br /&gt;&lt;br /&gt;Download "Implementing a New Unicast routing Protocol in NS2" here:&lt;br /&gt;&lt;a href="http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf"&gt;http://masimum.dif.um.es/nsrt-howto/pdf/nsrt-howto.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-9203128518608022285?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/9203128518608022285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/creating-your-own-routing-protocols-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/9203128518608022285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/9203128518608022285'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/creating-your-own-routing-protocols-in.html' title='Creating your own routing protocols in NS-2'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-332558970536589998</id><published>2009-01-16T09:57:00.001+08:00</published><updated>2009-02-26T23:53:35.220+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual pc'/><category scheme='http://www.blogger.com/atom/ns#' term='cygwin'/><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>First touch on NS-2</title><content type='html'>Download: &lt;a href="http://www.ziddu.com/download/3648328/ns-allinone-2.33.tar.gz.html"&gt;NS-2.33&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After done some literature review, since like NS-2 would be the best network simulation tool in my research. As most people have used it all this time. Therefore, I have tried to install the latest NS-2.33 in cygwin because my operating system is in Windows XP (in Virtual PC).&lt;br /&gt;&lt;br /&gt;Here are the steps to install NS-2 in virtual pc with cygwin:&lt;br /&gt;&lt;br /&gt;Download virtual PC here:&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download Window XP OS for virtual PC here:&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&amp;amp;DisplayLang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download Cygwin here:&lt;br /&gt;&lt;a href="http://www.cygwin.com/"&gt;http://www.cygwin.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download latest NS-2 here:&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/nsnam/"&gt;http://sourceforge.net/projects/nsnam/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;With all these downloaded, you are all set to go to install NS-2 in your virtual pc.&lt;br /&gt;If the link is broken, you may just search for the file with google search.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-332558970536589998?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/332558970536589998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/first-touch-on-ns-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/332558970536589998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/332558970536589998'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/first-touch-on-ns-2.html' title='First touch on NS-2'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-940655158241541327.post-4191257712608085079</id><published>2009-01-16T09:38:00.000+08:00</published><updated>2009-01-19T12:36:46.959+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ns-2'/><title type='text'>I should have blog this earlier...</title><content type='html'>I should have blog this earlier about every obstacles and steps that have been taken upon my NS-2 experience. I hope now is still not too late yet. I hope to give this blog updated with every problems that I have faced when installing NS-2, running NS-2 and progressing with my research throughout my postgraduate studies.&lt;br /&gt;&lt;br /&gt;Besides having this blog as a note to myself, hopefully the contents of the blog can serve as an aid to others who faced the similar problem as me. I have found blog is the most informative way for me to learn the way to start NS-2 and has helped me to solve some of my problem. Therefore, I have decided to write in my blog too to share with people and gained valuable advice from my reader.&lt;br /&gt;&lt;br /&gt;Happy reading! That all for a short opening post. ^ ^&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/940655158241541327-4191257712608085079?l=all-time-ns-2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://all-time-ns-2.blogspot.com/feeds/4191257712608085079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/i-should-have-blog-this-earlier.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4191257712608085079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/940655158241541327/posts/default/4191257712608085079'/><link rel='alternate' type='text/html' href='http://all-time-ns-2.blogspot.com/2009/01/i-should-have-blog-this-earlier.html' title='I should have blog this earlier...'/><author><name>elly</name><uri>http://www.blogger.com/profile/09810073553767738743</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://2.bp.blogspot.com/_ym400TPXQc4/SXQZtirZuRI/AAAAAAAADeg/mIsbgFo-Axk/S220/me1.jpg'/></author><thr:total>4</thr:total></entry></feed>
