added catch of icmp unreachable (again)
[anytun.git] / README
blobf5bc5429551d1fb87d00fabd87df1dcd7c66af02
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-headers
19 boost-libs
20 gmake
24 Installation
25 ============
27 Getting the source via subversion:
28 ----------------------------------
29 svn co http://anytun.org/svn/anytun/
31 Building from source
32 --------------------
34 # cd src
35 # ./configure
36 # make
38 Notes: 
39   - on OpenBSD you have to use gmake instead of make
40   - currently there is no syncronisation support for OpenBSD
41     you can build anytun without sync by invoking
42     
43     # make anytun-nosync 
45     instead of just 'make'
49 Errors:
50 -------
52 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
53 Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2)
55 Solution: Enabling tun/tap device
56 ------------------------------------
58 modprobe tun
59 cd /dev
60 ./MAKEDEV tun
62 edit /etc/modules and add the line
63 tun
64 to load the module automatically