无法添加pptp
不能添加的原因可能是(pptp)
1, 未安装 network-manager-pptp, network-manager-pptp-gnome,解决办法:
代码:
sudo apt-get install network-manager-pptp{,-gnome}
2, /etc/NetworkManager/VPN下无nm-pptp-service.name文件,解决办法:
新建此文件,文件内容为:
引用:
[VPN Connection]
name=pptp
service=org.freedesktop.NetworkManager.pptp
program=/usr/lib/network-manager-pptp/nm-pptp-service
[GNOME]
auth-dialog=/usr/lib/network-manager-pptp/nm-pptp-auth-dialog
properties=libnm-pptp-properties
name=pptp
service=org.freedesktop.NetworkManager.pptp
program=/usr/lib/network-manager-pptp/nm-pptp-service
[GNOME]
auth-dialog=/usr/lib/network-manager-pptp/nm-pptp-auth-dialog
properties=libnm-pptp-properties
3, 当前用户对/etc/NetworkManager/VPN/nm-pptp-service.name文件无访问权限,解决方法:
代码:
sudo chmod go+r /etc/NetworkManager/VPN/nm-pptp-service.name