Skip to main content

Posts

Showing posts from November, 2011

Installing NS-2.35 in Ubuntu 11.10 and Fedora 16

NS-23.5 is released this month and here are the simple instructions to install. Ubuntu 11.10 1. Install ubuntu 2. Download the Ns-2.35 from this website http://isi.edu/nsnam/ns/ 3. Assuming that your ns-2.35 source is in the /home/loginname/ , execute the commands one by one sudo apt-get update sudo apt-get install automake autoconf libxmu-dev build-essential tar zxvf ns-allinone-2.35.tar.gz cd ns-allinone-2.35 ./install 4. Once the process is over, it will give the set of paths to be set. 5. Go to terminal and open .bashrc by giving this command gedit .bashrc and copy the following lines ( my login name for linux is pradeep, you can change yours accordingly) export PATH=$PATH:/home/ pradeep /ns-allinone-2.35/bin:/home/ pradeep /ns-allinone-2.35/tcl8.5.10/unix:/home/ pradeep /ns-allinone-2.35/tk8.5.10/unix export LD_LIBRARY_PATH=/home/ pradeep /ns-allinone-2.35/otcl-1.14:/home/ pradeep /ns-allinone-2.35/lib 6. run the command " source .bashrc " (without quotes) and then type

NS-2.35 is released

After a gap of 2 years, ns-2.35 is released this month (November 2011). Yet to install the simulator. Quite good number of updates have been in the wireless domain. You can download the software from the link http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download Shortly look back this website for installation instructions…

Installing ns2.35 in Mac OS (Snow Leopard)

Installing ns 2.35 RC8 in Mac OS X (snow leopard) is given below Step 1: Download xcode ( http://developer.apple.com/xcode/ )and install it in Mac OS(Xcode is different for Mac OS Lion and Mac OS Snow Leopard) Step 2: Download the ns-allinone-2.35-rc8.tar.gz from this location http://www.isi.edu/nsnam/dist/release/RC8/ Step 3: Go to Terminal in Mac (by using Finder) Step 4: Untar the ns2.35 package using the following commands tar zxvf ns-allinone-2.35-rc8.tar.gz cd ns-allinone-2.35-rc8 ./install Step 5: You need to verify the path for ‘xlibdirs’ and ‘xincdirs’ in various configuration files of ns2. But NS-2.35 by default has it all. you need not specify it But if you want to install ns-2.34 and earlier versions, all the configuration files in to be added as per this blog post http://blog.rollxx.com/2007/12/how-to-install-network-simulator-2-ns-2.html Step 6: Once installed successfully, the path information will be shown. Set the PATH, LD_LIBRARY_PATH information in the following fil