My current
operating system is Ubuntu 12.10
And you need
a Wi-Fi feature in your lap or pc in order to do this.
And internet
connection.
First you
started with this command.
apt-get update
Because you
needed latest repositories for implement B.A.T.M.A.N. in Ubuntu environment.
apt-get install linux-headers-'*'
And you need to
install linux headers ,gcc ,g++.
apt-get install g++ gcc
Now download
the B.A.T.M.A.N. source files from these links. There are two files you needed
to be downloaded,
1. batman-adv ==> folder
that contain B.A.T.M.A.N. protocol files.
2. batctl ==>a tool to control B.A.T.M.A.N.
After download,
extract them in whatever the place you want. (But remember the place).
tar xzvf filename.tar.gz
Now go to
batman-adv directory and type “make”. This will generate some files according to
your running kernel. And check batman-adv.ko file is generated by that command.
Because that’s the file we need.
After that
go to batctl directory and type “make”. Now some files must create without any
errors if you done everything correctly. And make sure batctl file is generated
during the process.
Now you need
to find out what kernel module is loded currently.So for that you need to type
the following command.
uname –r
Now change
you folder path to the current loaded kernel module folder. Which in my case is
this.
cd /usr/src/linux-headers-3.5.0-17-generic
Type “make
xconfig”
And “make
menuconfig”
And also “make
oldconfig”
For those
leave default values.
Now move
into batman-adv folder and type this,
modprobe batman-adv
You can use “insmod
batman-adv.ko” instead this command. But this command is much more advance than
insmod command. So my recommend is to use modprobe command.
If this
command compiled without any single errors you are doing good. But if you uncounted
any errors. Please inform me.And I’ll help you.
You can
check whether batman loaded or not using this command
dmesg
It reads a
log and show them.if you can see “batman_adv:B.A.T.M.A.N. advanced 2013.1.0
(compatibility version 14) loaded. “Then you are ready to do next step.
Now B.A.T.M.A.N.
is loaded .But it needed an interface to send/receive packets. So in my next
post I’ll show how that’s going to do.so stay tuned.\m/
B.A.T.M.A.N. Protocol For Ubuntu(Linux) Part-1 - Rocknirmana >>>>> Download Now
ReplyDelete>>>>> Download Full
B.A.T.M.A.N. Protocol For Ubuntu(Linux) Part-1 - Rocknirmana >>>>> Download LINK
>>>>> Download Now
B.A.T.M.A.N. Protocol For Ubuntu(Linux) Part-1 - Rocknirmana >>>>> Download Full
>>>>> Download LINK