奇怪,nm没法创建VPN连接
- Lavande
- 论坛版主
- 帖子: 5353
- 注册时间: 2008-12-21 15:27
- 来自: TARDIS
奇怪,nm没法创建VPN连接
network-manager-pptp-gnome - network management framework (PPTP plugin GNOME GUI)
pptp-linux - Point-to-Point Tunneling Protocol (PPTP) Client
这三个包我都有了,好奇怪……
还缺什么?
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: 奇怪,nm没法创建VPN连接
ubuntu 14.04, 把我的和vpn直接相关的包都列出来,除l2tp的两个和openswan你的pptp用不到,其他的都要装吧,自己对照看缺什么:
三年后终于回到16.04--稳定了!
- Lavande
- 论坛版主
- 帖子: 5353
- 注册时间: 2008-12-21 15:27
- 来自: TARDIS
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: 奇怪,nm没法创建VPN连接
ok,现在我想问一下你有动过缺省的源么?是否自己添加过什么ppa安装过软件?把你的桌面环境、ubuntu和内核、软件包network-manager的版本提供一下。
另外注意ubuntu help中的提示:¨NetworkManager only allows VPN connections if it is currently managing a connection. If your network interface is manually configured (in the Network Administration Tool under System/Administration) or in /etc/network/interfaces), it is not managed by NetworkManager. If the option for VPN connections is greyed out, NetworkManager is not managing a connection. Remove the connections from the Network Administration Tool, or manually edit /etc/network/interfaces. For a general case, it is safe to backup the interfaces file, and reduce its to only contain ¨
另外注意ubuntu help中的提示:¨NetworkManager only allows VPN connections if it is currently managing a connection. If your network interface is manually configured (in the Network Administration Tool under System/Administration) or in /etc/network/interfaces), it is not managed by NetworkManager. If the option for VPN connections is greyed out, NetworkManager is not managing a connection. Remove the connections from the Network Administration Tool, or manually edit /etc/network/interfaces. For a general case, it is safe to backup the interfaces file, and reduce its to only contain ¨
三年后终于回到16.04--稳定了!
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
- Lavande
- 论坛版主
- 帖子: 5353
- 注册时间: 2008-12-21 15:27
- 来自: TARDIS
Re: 奇怪,nm没法创建VPN连接
poloshiao, 我把这几个包都装了一下
结果是出现了几个cisco的选项,但是木有pptp
taohunter,
ubuntu studio 14.04
xcfe
3.13.0-30-lowlatency
network manager 0.9.8.8
用的是学校里的源,ppa的话,貌似装过个ubuntu tweak
代码: 全选
network-manager-openvpn
network-manager-vpnc
network-manager-openconnect
network-manager-openvpn-gnome
network-manager-vpnc-gnome
network-manager-openconnect-gnome
taohunter,
ubuntu studio 14.04
xcfe
3.13.0-30-lowlatency
network manager 0.9.8.8
用的是学校里的源,ppa的话,貌似装过个ubuntu tweak
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 奇怪,nm没法创建VPN连接
https://help.ubuntu.com/community/Netwo ... PN_supportnetwork-manager-openvpn
network-manager-vpnc
network-manager-openconnect
you have to install one of the following packages
這三個套件 三選一 其它兩個移除
選哪一個
看你的 vpn 類別
參閱
https://wiki.ubuntu.com/VPN
一樣 只留一個network-manager-openvpn-gnome
network-manager-vpnc-gnome
network-manager-openconnect-gnome
-
- 帖子: 1555
- 注册时间: 2012-03-31 3:29
Re: 奇怪,nm没法创建VPN连接
特意在虚拟机中安装了ubuntustudio-14.04-dvd-amd64.iso,iso装完其他什么包都没装vpn pptp直接就可以设置啊。更新到3.13.0-30-lowlatency还是可以设置,装完ubuntu-tweak-tool还是可以设置。楼主检查一下自己的安装用的iso吧,不知道你说的学校里的源指的是什么,我从头到尾一切都是缺省的,用的是这里的iso: http://cdimage.ubuntu.com/ubuntustudio/ ... y/release/;另外再想想你动过什么系统缺省的设置吧--比如是否自己开启了root帐户,tweak了什么东西之类的。
看图为证:
1. 装ubuntu-tweak-tool前: 2.安装完ubuntu-tweak-tool: 仔细对比了一下楼主的choose a connection type的那张图和我这里的那张,注意到该窗口右上角了么?你的右上角是个向上的箭头,我的是个关闭窗口的x,很象是你tweak以后的问题啊。。。
看图为证:
1. 装ubuntu-tweak-tool前: 2.安装完ubuntu-tweak-tool: 仔细对比了一下楼主的choose a connection type的那张图和我这里的那张,注意到该窗口右上角了么?你的右上角是个向上的箭头,我的是个关闭窗口的x,很象是你tweak以后的问题啊。。。
三年后终于回到16.04--稳定了!
- Lavande
- 论坛版主
- 帖子: 5353
- 注册时间: 2008-12-21 15:27
- 来自: TARDIS
Re: 奇怪,nm没法创建VPN连接
谢谢楼上两位!
我先purge了 network-manager-pptp network-manager-pptp-gnome
然后重新安装了一遍,问题解决了
我先purge了 network-manager-pptp network-manager-pptp-gnome
然后重新安装了一遍,问题解决了

- zcl0621
- 帖子: 62
- 注册时间: 2009-04-24 22:09
Re: 奇怪,nm没法创建VPN连接
按照楼上的方法 在网络连接中虽然有VPN了 但是只有从文件导入 没有原来自己可以设置的项 那个从文件导入 应该是openvpn的 我用的vpn是pptp的 这几个包重新安装过了 也Purge了 但是网络中还是没有自己可以设置的VPN
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33