summaryrefslogtreecommitdiff
path: root/README
blob: 9b8c5169a4fd8c58b303f41fbc8d3eb98f782f27 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Dependencies
============

Linux
-----

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

OpenBSD
-------

libgcrypt
libgpg-error
boost
gmake



Installation
============

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

Building from source
--------------------

# cd src
# ./configure
# make

Notes: 
  - on OpenBSD you have to use gmake instead of make
  - currently there is no syncronisation support for OpenBSD
    you can build anytun without sync by invoking
    
    # make anytun-nosync 

    instead of just '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