My Webpage Hits

I am running this website(blog) for the past 18 months (right from June 2008). This blog caters the information about the courses that I am handling (course Notes) as well as other information related to Network Simulation, Open source Technologies, embedded real time systems, Linux, etc.

I have regular visitors for my website usually my students (during initial days) , but now peoples from nearly 97 countries visited my blog and I am responding to their comments also…. thanks for all those. Keep visiting..


Here is the statistics about list of visitors and pageviews for my website (blog). Source: Google Analytics


From 2008 to 2009, My website hits improved a lot and expecting in future also.

Keep visiting my site and give your valuable suggestions!!!!


How to install Omnet++ in Ubuntu 9.04

  1. Unzip the file in to any folder possibly (/home/pradeepkumar/)
  2. Open the shell prompt and then go to the corresponding folder by issuing the command cd /home/pradeepkumar/omnetpp-4.0
  3. Run the command (./configure)
  4. If you get any errors, please download the concerned files and again go to step 3.
  5. You may get errors like this and execute the command (sudo apt-get install bison flex byacc swig build-essential tcl8.5 tk8.5 tcl8.5-dev tk8.5-dev) after installing all the packages, go to step 3
  6. If path information is being asked, then set the path in the /home/pradeepkumar/.bashrc (export PATH=$PATH:/home/pradeepkumar/omnetpp-4.0/bin)
  7. Add the following line to your .profile or .bash_profile (provided you use bash): export TCL_LIBRARY=/usr/share/tcltk/tcl8.5
  8. After that logout and login and then go to step 2 and then 3.
  9. Execute make command and thats it!!!!
  10. After installing this, for running the IDE, you need to install java run time environment.

Drupal in Yahoo Small Business Hosting – Issues

While installing Drupal under Yahoo Small Business, there are some issues

  1. “Unable to send e-mail. Please contact the site administrator if the problem persists.” This issue can be solved by changing the email id in the “site configuration” option under Drupal, Please visit the following link to solve this problem,
  2. The next issue is the .htaccess which is not allowed by the yahoo host. The Simple solution is don’t upload .htaccess to the ftp. The .htaccess is responsible for error pages, etc. yahoo provides those things internally, so use yahoo services that has been provided in the hosting.

Thirumalai Naicker Palace, Madurai

This is the view of thirumalai naicker palace at Madurai. This place is of one of the interesting things for the foreigners.
This mahal is renovated now and it is ready for the light and sound show. the cost for visiting the palace is Rs.10 which includes a visit to museum inside.

The seating in this pic is for the peoples who visits this palace for a light and sound show. The history of the pandia king is narrated here with light and sound. Both English and Tamil versions are available.

Enjoy some of the pics of the Tirumalai Naicker Palace at Madurai

Posted by Picasa

xgraph utility in Network Simulator 2

Xgraph is an X-Windows application that includes:

  • interactive plotting and graphing
  • animation and deritives
  • portability and bug fixes

So to plot the characteristics of NS2 parameters like throughput, end to end delay, packets information, etc can be plotted using xgraph
The successful installation of NS2 will install xgraph also along with it.
To run xgraph from a shell prompt: # xgraph filename.xg

inside TCL scripts, xgraph can be written like this
exec xgraph filename.xg -geometry 500×500
if there are more xgraph files then,
exec xgraph filename1.xg -geometry 500×500 &
exec xgraph filename2.xg -geometry 500×500 &
The ambersand is mandatory to popup all the graph windows, if & (ambersand) is not there, then only the last xgraph window will be popped up.

Sample xgraph file and its contents
/*** The xgraph file shows the information about the overhead with size of the network,
 Overhead is compared with four routing protocols like AODV, DSR, DSDV and NEAODV (my own algorithm)
the values are taken from various trace files.
To execute the following xgraph file, copy the following contents and save it as “example.xg” possibly (other formats also supported) and in the shell prompt # xgraph example.xg
TitleText: Overhead (Kbits/s) Vs Network Size
YUnitText: OverHead
XUnitText: Network Size (nodes)
200 100
400 350
600 800
800 1200

200 500
400 1600
600 2300
800 3700

200 100
400 320
600 400
800 600

200 500
400 3700
600 6400
800 11600
Output window will be looking like this

Installing NS2 under Ubuntu 9.10

  1. Download NS2 from the following Website, I tried version ns-allinone-2.34.tar.gz.
  2. Put the file under /home/pradeep/ (my user login is pradeep, you may try with your username)
  3. go the folder in the shell prompt by issuing the following command cd /home/pradeep/
  4. Since installation of NS2 simulator needs some autoconfigurationfiles which will need to be installed. To download those packages, justexecute the following commands $ sudo apt-get install build-essentialautoconf automake libxmu-dev
  5. it will take some time to download and install.
  6. Now execute the following steps so that NS2 will be installed $ tarzxvf ns-allinone-2.34.tar.gz $ cd ns-allinone-2.34 $ ./install
  7. You may get an error like libotcl.o error, to correct that execute, sudo apt-get install g++-4.3, once done, open the file otcl-1.13/, in line number 7 change 
  8. CC= @CC@ to CC= gcc-4.3, then again goto step 6
  9. After the above steps, NS2 will give the path information which needs to be set in the PATH variable
  10. Open the file .bashrc which is available under the folder/home/pradeep/ (if you try to install in root user /root/.bashrc). Usethe following command to open the .bashrc file $ gedit/home/pradeep/.bashrc
  11. edit the above file and set the following paths over there exportPATH=$PATH:/home/pradeep/ns-allinone-2.34/bin:/home/pradeep/ns-allinone-2.34/tcl8.4.18/unix:/home/pradeep/ns-allinone-2.34/tk8.4.18/unixexport LD_LIBRARY_PATH= /home/pradeep/ns-allinone-2.34/otcl-1.13,/home/pradeep/ns-allinone-2.34/lib
  12. Thats it!!! save the file, logout and login with the username.
  13. open the shell prompt and type $ ns (you will get a % indicatingthat the installation is working correctly) $ nam ( a window will beopened showing the network animator)