fixed syncing, config & showtables
[anytun.git] / README
blobe0c24ad5fa6c08147b1956891ef74e4fbd56755d
1 Dependencies
2 ============
4 Linux
5 -----
7 build-essential
8 libgcrypt11-dev
9 libboost1.35-dev
10 asciidoc (only for manpage)
12 OpenBSD
13 -------
15 libgcrypt
16 libgpg-error
17 boost
18 gmake
22 Installation
23 ============
25 Getting the source via subversion:
26 ----------------------------------
27 svn co http://anytun.org/svn/anytun/
29 Building from source
30 --------------------
32 # cd src
33 # ./configure
34 # make
36 Notes: 
37   - on OpenBSD you have to use gmake instead of make
38   - currently there is no syncronisation support for OpenBSD
39     you can build anytun without sync by invoking
40     
41     # make anytun-nosync 
43     instead of just 'make'
47 Errors:
48 -------
50 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
51 Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
53 Solution: Enabling tun/tap device
54 ------------------------------------
56 modprobe tun
57 cd /dev
58 ./MAKEDEV tun
60 edit /etc/modules and add the line
61 tun
62 to load the module automatically