]> Cypherpunks.ru repositories - govpn.git/commitdiff
[DOC] Replace uml_utilites with iproute2
authorZhuoyun Wei <wzyboy@wzyboy.org>
Tue, 2 Feb 2016 12:49:50 +0000 (20:49 +0800)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 3 Feb 2016 13:38:23 +0000 (16:38 +0300)
`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 <stargrave@stargrave.org>
doc/example.texi

index 1271a02174dada0477f55f3844a0c34dcfccc00e..619e9c620aa406e2c6c5fd71b3410b19bcf5dff3 100644 (file)
@@ -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