network manager openvpn dhcp error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-openvpn (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
When starting openvpn connection it connects ok, but after about 10 seconds it starts to query for ip address via dhcp and consequently loses it's ip address which it got from openvpn server.
Also it creates under the wired connection tab "Auto tap0" connection which has dhcp selected. It seems that this is the source of this problem.
It also happens when starting openvpn connection manually not from nm-applet.
As a result it is not possible to use network manager with openvpn. I'm only able to connect to openvpn by inserting eth0 and tap0 interfaces into /etc/netwok/
root@ubuntu:
Description: Ubuntu jaunty (development branch)
Release: 9.04
Package: network-manager
Priority: optional
Section: net
Installed-Size: 2044
Maintainer: Ubuntu Core Dev Team <email address hidden>
Original-
Architecture: amd64
Version: 0.7~~svn2008101
Package: network-
Priority: optional
Section: universe/net
Installed-Size: 1076
Maintainer: Ubuntu MOTU Developers <email address hidden>
Original-
Architecture: amd64
Version: 0.7~~svn2008101
installed latest network-manager from ppa and still got same issue:
openvpn connects OK but after few seconds nm creates Auto tap0 connection under wired tab and starts querying ip via dhcp which kills ip already assigned to tap0 by openvpn server.
I was able to overcome this by adding
iface tap0 inet dhcp
line to /etc/network/ interfaces file so nm does not manage tap0. (It still creates one but it does not start dhcp query on it)