Archive for February, 2009

Setting up ns2 on your linux box

Monday, February 23rd, 2009

It was just this normal day and a friend asks me to lend a hand and setup ns2 on his laptop which was running susse linux.

After some 5 attempts, i finally found some post on the web by some guy and it really helped a lot and at the end of the sixth attempt, i had already started simulating networks.

The procedure is shown below:

NS2 Installation for Starters
How to install NS 2 on Linux, The step by Step Procedure

Step 1:Get NS2 All in one package from the below link or by clicking here

Step 2:Copy the tar file in /home/

Step 3:Extract the tar file located in /home/ #tar -zxvf File name

Step 4:#cd

Step 5:#./install
/* This will run the install Script, wait for the output */

Step 6:Now it is the time for setting environment variable, Copy the message displayed after running the above commmand to a text file else copy and paste this in a new text file ===================================
PATH=$PATH:/home/ns-allinone-2.31/bin:/home/ns-allinone-2.31/tcl8.4.14/unix:/home/ns-allinone-2.31/tk8.4.14/unix
LD_LIBRARY_PATH=/home/ns-allinone-2.31/otcl-1.13:/home/ns-allinone-2.31/lib

TCL_LIBRARY=/home/ns-allinone-2.31/tcl8.4.14/library
export PATH
export LD_LIBRARY_PATH
export TCL_LIBRARY
================================
Step 7:save the file as ns2.sh

Step 8:copy the file into /etc/profile.d/

Step 9: either restart the machine or relogin

Step 10:Now run these commands
#cd ns-2.31/
#./configure
#make
#make clean
#./validate

Step 11: all done , just type ns at terminal
e.g. #ns
%

and it is ready !
Enjoy simulating networks, protocols whatever you like, All the Best !

A work Trip to Hoima

Sunday, February 1st, 2009

I had travelled to Hoima for the first time in December 2008, but due to the pressure that I was under to complete work so fast and get back to Kampala, I actually did not get down to know a lot about Hoima.

On January 24th 2009, I set out of Kampala to Hoima for yet another work trip. I had just gone to setup school software in Central Schools Limited and also train the staff members there. The week before my trip, I had been working round the clock and had managed only 20 hours of sleep in the 7 days leading to my trip - I was slowly becoming a Japanese in black skin: so I decided to set off on Saturday (work was meant to start on Monday). So in the early hours of the afternoon I had already set foot in the “oil city” of Uganda and had already started touring the place so that I would get acquainted with it.

The weather in Hoima town was really great. It is a bit hot during the day and extremely cold in the night (remember - land and sea breeze in physics classes!). I have not in the past and present been forced to put on a sweater or jacket. Much as Hoima town was proving to be cooler than Kampala, I was not about to put on a jacket let alone wear a sweater - the worse part of it is that I had not travelled with any of them.

On my walks around the town, I came across very hospitable people from the Banyoro tribe. They seem not to be bothered about what tomorrow holds for them -remember the economists talking about ‘the curse of plenty’. They are so lazy when it comes to work- this is also seen from the pace of speech in lunyoro. Ofcourse am not stereotyping here, but am simply bringing you my side of the story and my perception of the society in the oil city.

Talking is one thing that really takes up much of their time at the work place; what I did not go ahead to establish is what exactly they talk about the most, but believe me it is idle talk. However, there were a few folks that I came across in Hoima that really mean business and when it comes to work, they do not joke. One of my clients that I had gone to work for was one of a kind. He means business and never jokes around when it comes to working.
I installed the software Magezi Harvest, Magezi Finpro and Magezi Apex successfully and conducted the training for 4 days and after that I set out on my return journey to Kampala.

Ofcourse, I have to mention that Hoima is one good place to go and relax your minds after the hectic work pressures in Kampala coupled with the mess in downtown Kampala. I would definately recommend Hoima to a friend who is going on holiday.

Enjoy