2
尝试在启动时连接到VPN时出错
该问题已更新。请参阅这篇文章的尾端。 我试图将Mythbuntu计算机设置为在启动时连接到VPN服务。我希望Mythbuntu计算机将始终将VPN用于其所有Internet连接。 我找到了一个脚本,据说该脚本可以做到这一点,它看起来像这样: #!/bin/bash while [ "true" ] do VPNCON=$(nmcli con status) if [[ $VPNCON != "*MyVPNConnectionName*" ]]; then echo "Disconnected, trying to reconnect..." (sleep 1s && nmcli con up uuid df648abc-d8f7-4ce4-bdd6-3e12cdf0f494) else echo "Already connected !" fi sleep 30 done 在计算机上运行此脚本时,出现以下错误: $ /home/mythbuntu/VPN_start.sh Disconnected, trying to reconnect... Error: Connection …
13
vpn