From 328e78e9a0d9b5fba83ec844fb25d39fc959372a Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 18 Sep 2021 00:20:57 -0500 Subject: [PATCH] Update docs --- docs/clients-zh.md | 10 ++++------ docs/clients.md | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/clients-zh.md b/docs/clients-zh.md index f17efbf..11991e3 100644 --- a/docs/clients-zh.md +++ b/docs/clients-zh.md @@ -231,7 +231,7 @@ Fedora 28(和更新版本)和 CentOS 8/7 用户可以使用 [IPsec/XAuth](cl * [macOS 通过 VPN 发送通信](#macos-通过-vpn-发送通信) * [iOS 13 和 macOS 10.15/11](#ios-13-和-macos-101511) * [iOS/Android 睡眠模式](#iosandroid-睡眠模式) -* [Debian 10/11 内核](#debian-1011-内核) +* [Debian 11/10 内核](#debian-1110-内核) * [其它错误](#其它错误) * [检查日志及 VPN 状态](#检查日志及-vpn-状态) @@ -363,13 +363,11 @@ OS X (macOS) 用户: 如果可以成功地使用 IPsec/L2TP 模式连接,但 Android 设备在进入睡眠模式不久后也会断开 Wi-Fi 连接,如果你没有启用选项 "睡眠期间保持 WLAN 开启" 的话。该选项在 Android 8 (Oreo) 和更新版本中不再可用。另外,你也可以尝试打开 "始终开启 VPN" 选项以保持连接。详情请看 [这里](https://support.google.com/android/answer/9089766?hl=zh-Hans)。 -### Debian 10/11 内核 +### Debian 11/10 内核 -Debian 11 或者 10 用户:运行 `uname -r` 以检查你的服务器的 Linux 内核版本。如果它包含 `cloud` 字样,并且 `/dev/ppp` 不存在,则该内核缺少 `ppp` 支持从而不能使用 IPsec/L2TP 模式。VPN 安装脚本会尝试检测此情形,并显示错误。 +Debian 11 或者 10 用户:运行 `uname -r` 检查你的服务器的 Linux 内核版本。如果它包含 `cloud` 字样,并且 `/dev/ppp` 不存在,则该内核缺少 `ppp` 支持从而不能使用 IPsec/L2TP 模式。VPN 安装脚本会尝试检测此情形并显示警告。在这种情况下,你可以另外使用 [IKEv2](ikev2-howto-zh.md) 或者 [IPsec/XAuth](clients-xauth-zh.md) 模式连接到 VPN。 -要解决此问题,你可以换用标准的 Linux 内核,通过安装比如 `linux-image-amd64` 软件包来实现。然后更新 GRUB 的内核默认值并重启服务器。最后重新运行 VPN 安装脚本。 - -如果在 [Amazon EC2](https://aws.amazon.com/ec2/) 上使用 Debian 11 或者 10,你必须首先换用标准的 Linux 内核,然后运行 VPN 安装脚本。 +要解决 IPsec/L2TP 模式的问题,你可以换用标准的 Linux 内核,通过安装比如 `linux-image-amd64` 软件包来实现。然后更新 GRUB 的内核默认值并重启服务器。 ### 其它错误 diff --git a/docs/clients.md b/docs/clients.md index ac3e2a6..099dd94 100644 --- a/docs/clients.md +++ b/docs/clients.md @@ -230,7 +230,7 @@ First check [here](https://github.com/nm-l2tp/NetworkManager-l2tp/wiki/Prebuilt- * [macOS send traffic over VPN](#macos-send-traffic-over-vpn) * [iOS 13 and macOS 10.15/11](#ios-13-and-macos-101511) * [iOS/Android sleep mode](#iosandroid-sleep-mode) -* [Debian 10/11 kernel](#debian-1011-kernel) +* [Debian 11/10 kernel](#debian-1110-kernel) * [Other errors](#other-errors) * [Check logs and VPN status](#check-logs-and-vpn-status) @@ -362,13 +362,11 @@ If you need the VPN to auto-reconnect when the device wakes up, you may connect Android devices will also disconnect Wi-Fi shortly after entering sleep mode, unless the option "Keep Wi-Fi on during sleep" is enabled. This option is no longer available in Android 8 (Oreo) and newer. Alternatively, you may try enabling the "Always-on VPN" option to stay connected. Learn more [here](https://support.google.com/android/answer/9089766?hl=en). -### Debian 10/11 kernel +### Debian 11/10 kernel -Debian 11 or 10 users: Run `uname -r` to check your server's Linux kernel version. If it contains the word "cloud", and `/dev/ppp` is missing, then the kernel lacks `ppp` support and cannot use IPsec/L2TP mode. The VPN setup scripts try to detect this and show an error. +Debian 11 or 10 users: Run `uname -r` to check your server's Linux kernel version. If it contains the word "cloud", and `/dev/ppp` is missing, then the kernel lacks `ppp` support and cannot use IPsec/L2TP mode. The VPN setup scripts try to detect this and show a warning. In this case, you may instead use [IKEv2](ikev2-howto.md) or [IPsec/XAuth](clients-xauth.md) mode to connect to the VPN. -To fix this issue, you may switch to the standard Linux kernel by installing e.g. the `linux-image-amd64` package. Then update the default kernel in GRUB and reboot your server. Finally, re-run the VPN setup script. - -If using Debian 11 or 10 on [Amazon EC2](https://aws.amazon.com/ec2/), you must first switch to the standard Linux kernel before running the VPN setup script. +To fix the issue with IPsec/L2TP mode, you may switch to the standard Linux kernel by installing e.g. the `linux-image-amd64` package. Then update the default kernel in GRUB and reboot your server. ### Other errors