Install AODV-UU & DSR-UU
Monday, 10. October 2005, 18:18:02
2. Download DSR-UU from this page
3. Remember to do:
apt-get install kernel-source-2.6.8 kernel-headers-2.6-386
3. Compile AODV-UU
make make install
4. Compile DSR-UU
make make install
5. Run AODV-UU
aodvd -l -r 3
For command line options, run:
aodvd --help
The following module must be loaded when running (or compiled into the kernel):* kaodv.{o,ko}.Module loading should happen automatically if AODV is installed and the module loading system (modprobe) is properly configured.
6. Running DSR-UU in Linux:
Insert the kernel modules "dsr.{o,ko}" and "linkcache.{o,ko}" by doing:
insmod linkcache.{o,ko} && insmod dsr.{o,ko}\
ifname=<interface to attach to>
Bring the "dsr0" interface up:
ifconfig dsr0 192.168.2.2 up
DSR is now running.Alternatilvely, use the dsr-uu.sh start script.
Start:
dsr-uu.sh start ethX
Stop:
dsr-uu.sh stop


Anonymous # 10. August 2007, 01:46
Hello, in an ad-hoc network security class that I am taking we are attempting to get AODV-UU running. We have successfully gotten AODV-UU compiled, running, and communicating with it's one-hop neighbor. With two nodes we are able to ping each other without issues. Unfortunately we are as-of-yet unable to get the one-hop neighbor to be able to update the source node's (A) routing table. Our network looks like this:
A B C
A has an entry for B in it's routing table. C has an entry for B in it's routing table. B has an entry for A and C in it's routing table. When we try to ping C from A we do not get a Route Reply from B showing that A's next hop should be B. Have you experienced this before? Do you have any suggestions for us to try to get this resolved?
We are running AODV-UU 0.9.5 on Fedora Core 6, Fedora Core 7, and a Debian machine all with 2.6.20 kernels. We are using Proxim silver and gold cards with MadWifi drivers but they appear to be running properly since they are communicating perfectly between two nodes. We initially thought it was a forwarding issue with the RREQ packets but since B has the destination in it's routing table it should be able to reply to A, correct?
Thank you for any suggestions or help you may be able to provide.
Ben
Anonymous # 14. August 2007, 18:53
I just wanted to quickly update my comment. We were not able to ping end nodes if there was a node in between until we ran AODV-UU with a -o switch. The command "aodvd -l -r 3 -o" run on all three systems allowed us to truly get routing to work.
Ben
subjam # 14. August 2007, 21:34
Thank you for the update.
Anonymous # 4. March 2008, 00:36
hi Ben,
I tried installing aodv -uu in fc 7, kernel version 2.6.23.1-10.fc7
As per the instructions in the readme file, I did
make
make install
But, when I try to run the command
aodvd -l -r 3
I get errors, which points out that aodvd is not in the kernel
aodvd was not in the list displayed by lsmod
Could you tell ne how to resolve this?
Anonymous # 15. March 2008, 21:14
have you inserted the AODV module into the kernel?
try
$ sudo insmod linkcache.{o,ko}
Anonymous # 8. January 2009, 17:39
coding of aodv to remove byzentine attack
Anonymous # 15. February 2009, 11:30
Hi Ben,
I'm a newbie of aodv user. I am trying to install aodv-0.9.5 in Ubuntu 8.04 Hardy (kernel 2.6.24-17-generic) with debian package which I downloaded from http://debian.azertyfab.net/pool/main/a/aodv-uu/?C=D;O=D
I use "dpkg -i" command and it was fine. But the aodvd.rtlog file says:
- A kernel module could not be loaded, check your installation... 0
- ERROR: Module kaodv does not exist in /proc/modules
- FATAL: Module kaodv not found
And the aodvd.log file says:
- 04:00:27.488 host_init: Attaching to ath0, override with -i .
- 04:00:27.632 cleanup: CLEANING UP!
Then when I use "modprobe kaodv" command, it says:
- FATAL: Module kaodv not found.
So, where can I find the module kaodv? Or do I need something else to do the installation right?
Anonymous # 27. March 2009, 02:22
well ,i think what you download from that web is just a dameo.you should install aodv-uu-0.9.5 before.
Anonymous # 25. May 2009, 15:16
Hello,
i'm installing aodv in ubuntu hardy and it doesn't work!
I put make and the result obtained is:
make
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o main.o main.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o list.o list.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o debug.o debug.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o timer_queue.o timer_queue.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_socket.o aodv_socket.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_hello.o aodv_hello.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_neighbor.o aodv_neighbor.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_timeout.o aodv_timeout.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o routing_table.o routing_table.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o seek_list.o seek_list.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_rreq.o aodv_rreq.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_rrep.o aodv_rrep.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o aodv_rerr.o aodv_rerr.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o nl.o nl.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -c -o locality.o locality.c
gcc -Wall -O3 -g -DDEBUG -DCONFIG_GATEWAY -DDEBUG -o aodvd main.o list.o debug.o timer_queue.o aodv_socket.o aodv_hello.o aodv_neighbor.o aodv_timeout.o routing_table.o seek_list.o aodv_rreq.o aodv_rrep.o aodv_rerr.o nl.o locality.o
make -C /home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx KERNEL_DIR=/lib/modules/`uname -r`/build KCC=gcc XDEFS=-DDEBUG
make[1]: se ingresa al directorio `/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx'
make -C /lib/modules/2.6.24-23-generic/build SUBDIRS=/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx modules
make[2]: se ingresa al directorio `/usr/src/linux-headers-2.6.24-23-generic'
CC [M] /home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.o
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c: En la función ‘kaodv_hook’:
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:273: aviso: se pasa el argumento 1 de ‘ip_route_me_harder’ desde un tipo de puntero incompatible
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c: En el nivel principal:
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:321: aviso: inicialización desde un tipo de puntero incompatible
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:330: aviso: inicialización desde un tipo de puntero incompatible
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:339: aviso: inicialización desde un tipo de puntero incompatible
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c: En la función ‘kaodv_init’:
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:391: aviso: se pasa el argumento 1 de ‘dev_get_by_name’ desde un tipo de puntero incompatible
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:391: error: faltan argumentos para la función ‘dev_get_by_name’
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:402: error: declaración implícita de la función ‘proc_net_create’
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c: En la función ‘kaodv_exit’:
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:432: aviso: se pasa el argumento 1 de ‘proc_net_remove’ desde un tipo de puntero incompatible
/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.c:432: error: faltan argumentos para la función ‘proc_net_remove’
make[3]: *** [/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx/kaodv-mod.o] Error 1
make[2]: *** [_module_/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx] Error 2
make[2]: se sale del directorio `/usr/src/linux-headers-2.6.24-23-generic'
make[1]: *** [kaodv.ko] Error 2
make[1]: se sale del directorio `/home/tania/Documentos/UNIVERSITY/PF/protocolos/aodv-uu-0.9.5/lnx'
make: *** [kaodv] Error 2
please, help!!
thanks!
Anonymous # 16. September 2009, 23:50
I have the same problem as above, please help.