连接VPNNetworkmanager&Openvpn插件阿拉伯语的问题解决:无法解析主机地址

问题描述

我在连接VPN时遇到问题。当我启动树莓派设备并将VPN与nmcli连接起来时,VPN成功。但是,如果我关闭接口并尝试再次打开它,它将失败。如果重启树莓派,我可以再次连接到VPN。你下一步怎么做?你们知道发生了什么问题吗?

在journalctl日志中,如果失败,我会收到此消息:

Could not determine IPv4/IPv6 protocol
Oct 23 15:56:24 raspBerrypi nm-openvpn[2282]: SIGUSR1[soft,init_instance] received,process restarting
Oct 23 15:56:29 raspBerrypi nm-openvpn[2282]: WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Oct 23 15:56:29 raspBerrypi nm-openvpn[2282]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 23 15:56:29 raspBerrypi nm-openvpn[2282]: RESOLVE: Cannot resolve host address: vpn.******.**:1194 (Name or service not kNown)
Oct 23 15:56:29 raspBerrypi nm-openvpn[2282]: RESOLVE: Cannot resolve host address: vpn.*****.**:1194 (Name or service not kNown).

pi@raspBerrypi:~ $ openvpn --version
OpenVPN 2.4.7 arm-unkNown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
library versions: OpenSSL 1.1.1d  10 Sep 2019,LZO 2.10

uname -a
Linux raspBerrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux

NetworkManager --version
1.14.6

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)