updated prenentation
[anytun.git] / README
blob5dc24554a14fd12cac07e2989e42c8d8f7800fc5
1 Dependencies
2 ============
4 Linux
5 -----
7 build-essential
8 libgcrypt11-dev
9 libboost-serialization-dev
10 libboost-dev
11 asciidoc
13 OpenBSD
14 -------
16 libgcrypt
17 libgpg-error
18 boost
19 gmake
23 Installation
24 ============
26 Getting the source via subversion:
27 ----------------------------------
28 svn co http://anytun.org/svn/anytun/
30 Building from source
31 --------------------
33 # cd src
34 # ./configure
35 # make
37 Notes: 
38   - on OpenBSD you have to use gmake instead of make
39   - currently there is no syncronisation support for OpenBSD
40     you can build anytun without sync by invoking
41     
42     # make anytun-nosync 
44     instead of just 'make'
48 Errors:
49 -------
51 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
52 Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
54 Solution: Enabling tun/tap device
55 ------------------------------------
57 modprobe tun
58 cd /dev
59 ./MAKEDEV tun
61 edit /etc/modules and add the line
62 tun
63 to load the module automatically