forked from servalproject/batman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
56 lines (39 loc) · 1.73 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
###################################
B.A.T.M.A.N. Installation and Usage
###################################
Compiling from source
=====================
Pre-requirements
---------------
You need the usual compile environment and the libpthread-library
and the kernel module "tun". Both should already be installed on
your machine, if you use a PC with Linux. On embedded devices
both may not be installed in order to save space. GNU Make is needed
for compilation (currently BSD Make is not cooperating).
The *BSD and Mac OS operating systems are currently unmaintained,
make targets are still available but will most probably not work.
If you're interested in porting and maintaining B.A.T.M.A.N. for
these systems, please contact us. We would appreciate your help.
Compiling
---------
You don't necessarily need to compile. May be your distribution
or our download store offers precompiled packages. Check
http://www.open-mesh.net/wiki/Download to get an overview.
Download and compile the latest stable sources from the download
section http://www.open-mesh.net/wiki/Download by executing eg.:
$ wget http://downloads.open-mesh.net/batman/releases/batman-0.3.2/batman-0.3.2.tar.gz
$ tar xzvf batman-0.3.2.tar.gz
$ cd batmand-0.3.2
$ make
After the compilation process is finished you'll find a executable
file called 'batmand'. This executable is quite big because it is
not stripped. Don't strip it if you want to help us finding a bug
in the daemon. Strip it by executing:
$ strip batmand
Install by executing (as root):
$ make install
Or start it right from the directory where you compiled it by
issuing:
./batmand
See the README file for "getting started" instructions or consult the
manpage to get an overview about the command line options.