I wanted to have an AODV network to test with 5 laptops, so i just read a lot of documentations over the internet..
Then decided to step in on the driver’s seat…
I had to downoad the aodv files..
Downloaded the aodv files into a separate directory from the following svn snapshot,
This can be done by the following command:
svn co https://aodvuu.svn.sourceforge.net/svnroot/aodvuu/trunk aodvuu
It was much easier for me as i had subversion already installed 🙂
Anyway i’ll tel how to install the subversion..
apt-get install subversion
which may in turn ask for the linux headers..
Install the linux-headers.
apt-get install linux-headers-$(uname -r)
Now cd to the directory where the downloaded files are kept.
Now type, make
then, make install
The kernel module kaodv can be installed now by typing,
Now I installed the AODV daemon…
First I downloaded the aodv .deb package from the following url:
select the aodv-uu-source_0.9.5-1_all.deb file, to download it.
Install the downloaded deb package by,
dpkg -i aodv-uu-source_0.9.5-1_all.deb
This may , in turn need the module-assistant to be installed.. You can install it by,
apt-get install module-assistant
Since this is all going to be wireless and out of any network, i just made sure to disable the network manager…
Configure wire-less adapters in ad-hoc mode :
Ensure that network manager has been stopped and then bring the interface down.
ifconfig wlan0 down
1.Switch the card into ad hoc mode
iwconfig wlan0 mode ad-hoc
2.Set the channel/frequency that you want to use.
iwconfig wlan0 channel 11
Bring the interface back up
ifconfig wlan0 up
3.Add the name (ssid) for the network you want to create/join. Use single quotes if there is a space in the name.
iwconfig wlan0 essid ‘name’
4.Add a WEP encryption key
iwconfig wlan0 key 1234567890
3.If you want to do it manually, you will have to make up an IP address.
ifconfig wlan0 10.0.0.1 netmask 255.255.255.0
echo 1 > /proc/sys/net/ipv4/ip_forward