Wednesday, December 29, 2010

Run NS2 Example in Ubuntu 10.10 easier

One of the problem in installing NS-2 in ubuntu is that it will be installed in other folder automatically.

Problem

There are two problem occured with this kind of installation.

  1. The path are too long. In my case the path for the ns2 examples are located at : usr/share/doc/ns2/examples/. It means that we need to do more clicking to reach that folder. Or if we are going to run through console, we need to cd to longer sentence.
  2. The simulation script cannot be executed due to read/write and access properties of the installed folder. You need to logged in in administrator mode to access the file. 
Solution

Luckily the solution is quite simple. Killing two birds with one stone. What I did is really simple, I copied the examples folder and paste it at the Desktop. It solved both problem! :)

Tuesday, December 28, 2010

Easy NS2 Installation in Ubuntu

NS2 installation is quite a troublesome process before. There are a lot of step to be done, and a few errors encountered during installation process were quite frustrating. After installation you need to edit bash profile.

Say goodbye to this hassle process. Thanks to ubuntu! :) 

In the last blog post, I show how easy to install NAM in ubuntu. Eventually you can do the same to install NS2. No more needless hassle :)

You can search NS2 from ubuntu software centre. and click install!



do not forget to install the documentation and examples too.

After that please test whether the ns interpreter is working or not by running ns interpreter in the terminal.

Monday, December 27, 2010

NS2 Installing Network Animator From Ubuntu





Now it is really easy to install NAM - network animator in Ubuntu.

I accidentally found the nam while installing Tcl distribution.

If you want to install nam in ubuntu.

1. Open the ubuntu software centre and search for nam.

2. Just click the install button.

3. Test whether the installation is successful or not by typing nam at the linux terminal.



Easy.Good Luck!

Tuesday, November 23, 2010

Installing NS2 in Ubuntu?

I want to install NS2 in Ubuntu. Just Installed ubuntu in my new lappy. I use ubuntu 10.10. Telling the truth I hate installing NS2. But let see. Will be sharing any info on installing NS2 in Ubuntu.

Thursday, September 16, 2010

TraceGraph Download Link - Tracegraph.com no more ?

Some people emailing me about the download page of the famous TraceGraph. Telling the truth I am also dont know what is the download link for trace graph. 

It used to be in tracegraph.com , however it look like the domain name tracegraph.com is not renewed. However there are one page of the similar content available but unfortunately the download link in the page is pointed to tracegraph.com. By the way this is the link: 


If you are looking for tracegraph download, I believe the best way is to contact the person who create the software. But I am not sure whether the information is up to date or not since it is stored in ..../archive/  

Thursday, September 9, 2010

Go to Mailing List if you have question..

Sorry this is straight forward! 

I sometimes eceived a lot of email asking how to use NS2, I believe other bloggers who have topic on ns2 in their blog experience the same. 

When you have some problem with the code or anything regarding your simulation please go to respective mailing list, and read the tutorials, thats how you work with open source especially ns2. 

Coming to other peoples blog, never give input or exchange information in provided comment section, but merely ask to debug your code or to solve your problem, is just rude! Plain RUDE.  Some of the problem are already asked in respective mailing list.

It will be worst if the questions are regarding your assignment that your lecturer gave you! 

Tuesday, September 7, 2010

Network SImulator with large user base

For me to choose a network simulator, one of the factor is to use a network simulator that used by a lot of user. Here why :

1. More popular the network simulators. Me myself would prefer a network simulator with a lot of user using it compared to simulator with only one user using it.

2. Build confidence in the result . The more user using it, the more validation work can be done. Validation work build confidence in network simulators.

3. Easy support. By joining their mailing list we can easily get support from the user. There are a lot of people discussing about the network simulators.