Saturday, August 14, 2010

A Day with AODV

I had a need for implementating aodv in linux on laptops. For the experiment i took debian my favourite linux distribution. I had long struggles compiling the kernel from source to install aodv module in debian. But finally how cool it was to implement aodv in linux.

Download the source deb from http://debian.azertyfab.net/pool/main/a/aodv-uu/ and install it. You will be asked to install module-assistant and debhelper. Complete the steps and then install the source deb.

Now, download the svn snapshot from the url https://aodvuu.svn.sourceforge.net/svnroot/aodvuu/trunk
svn co https://aodvuu.svn.sourceforge.net/svnroot/aodvuu/trunk aodvuu
you get the svn snapshot in the aodvuu directory.
type make and then make install. You should have already install required kernel-headers in debian the package is linux-headers-$(uname -r). The kernel i used was 2.6.26.6

To enable aodv the wireless adapter should be configured in ad-hoc mode. This has been given my blog peer to peer wireless networking.

To start aodv, simply type
aodvd -i wlan0 -l
in the command prompt as root.
That's all do a ping and check

Thanks
baskar

No comments:

Post a Comment