From: Zhuoyun Wei Date: Tue, 2 Feb 2016 12:49:50 +0000 (+0800) Subject: [DOC] Replace uml_utilites with iproute2 X-Git-Tag: 5.5^2~6 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=e999eccbae02d8674573fd93d5b5a52e6c8bafd2 [DOC] Replace uml_utilites with iproute2 `tunctl` is provided by `uml_utilities` package for "User Mode Linux", which is a long-dead-since-year-2007 project. Some distros (e.g. Arch Linux) have dropped support for `uml_utilities` years ago (Arch Linux dropped it in May 2013: https://lists.archlinux.org/pipermail/aur-general/2013-May/023611.html). One should now use `ip tuntap` provided by `iproute2` package on modern distros. Signed-off-by: Sergey Matveev --- diff --git a/doc/example.texi b/doc/example.texi index 1271a02..619e9c6 100644 --- a/doc/example.texi +++ b/doc/example.texi @@ -46,7 +46,7 @@ Alice: @verbatim server% ip addr add 192.168.0.1/24 dev wlan0 -server% tunctl -t tap10 +server% ip tuntap add dev tap10 mode tap server% ip addr add 172.16.0.1/24 dev tap10 server% ip link set up dev tap10 @end verbatim @@ -61,7 +61,7 @@ server% govpn-server -bind 192.168.0.1:1194 @verbatim client% ip addr add 192.168.0.2/24 dev wlan0 -client% tunctl -t tap10 +client% ip tuntap add dev tap10 mode tap client% ip addr add 172.16.0.2/24 dev tap10 client% ip link set up dev tap10 client% ip route add default via 172.16.0.1