summaryrefslogtreecommitdiff
path: root/README
blob: ce87528ff28886560fc7d35ce7df35de34b8236c (plain) (blame)
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
Dependencies
============

build-essential
libgcrypt11-dev
libboost-serialization-dev
libboost-dev
asciidoc

Installation
========

Getting the source via subversion:
----------------------------------
svn co http://anytun.org/svn/anytun/

Building from source
--------------------
cd src
./configure
make


Errors:
-------

Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)

Solution: Enabling tun/tap device
------------------------------------

modprobe tun
cd /dev
./MAKEDEV tun

edit /etc/modules and add the line
tun
to load the module automatically