3
3
B.A.T.M.A.N. Installation and Usage
4
4
###################################
5
5
6
-
7
- � ( There is also a very nice HOWTO from Wesley available as a pdf at:
8
- http://open-mesh.net/batman/documentation/batmand_howto.pdf )
9
-
10
-
11
6
Compiling from source
12
7
=====================
13
8
@@ -16,22 +11,22 @@ Pre-requirements
16
11
17
12
You need the usual compile environment and the libpthread-library
18
13
and the kernel module "tun". Both should already be installed on
19
- your machine, if you use a PC using Linux. On embedded devices
14
+ your machine, if you use a PC with Linux. On embedded devices
20
15
both may not be installed in order to save space.
21
16
22
17
Compiling
23
18
---------
24
19
25
- You don't necessarily need to compile. Our download. store at
26
- downloads.open-mesh.net is likely to offer precompiled packages
20
+ You don't necessarily need to compile. Our download store at
21
+ downloads.open-mesh.net likely offers precompiled packages
27
22
for your system.
28
23
29
24
Download and compile the latest stable sources from the download
30
25
section http://open-mesh.net/batman/downloads by executing eg.:
31
26
32
- �$ wget http://downloads.open-mesh.net/batman/stable/sources/batman-0.3.tar.gz
33
- �$ tar xzvf batman-0.3.tar.gz
34
- �$ cd batmand_0.3
27
+ �$ wget http://downloads.open-mesh.net/batman/stable/sources/batman-0.3.1. tar.gz
28
+ �$ tar xzvf batman-0.3.1. tar.gz
29
+ �$ cd batmand-0.3.1
35
30
�$ make
36
31
37
32
After the compilation process is finished you'll find a executable
@@ -41,11 +36,9 @@ in the daemon. Strip it by executing:
41
36
42
37
�$ strip batmand
43
38
44
- Note there is no installation script at the moment. If you want to
45
- install it, copy the daemon (batmand) to a location somewhere in
46
- your path, for example
39
+ Install by executing (as root):
47
40
48
- �$ cp batmand /usr/sbin/
41
+ �$ make install
49
42
50
43
Or start it right from the directory where you compiled it by
51
44
issuing:
0 commit comments