VPN connection unstable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-pptp (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: network-
I'm using the network manager with pptp to connect to a vpn network
(and get a connection to the internet by vpn - so it's really important to me).
After upgrading to Intrepid the network manager wasn't able to
establish a vpn connection any more (keyword "vpn secret").
Checking for a vpn bug I found a solution using two updated packages:
network-
network-
After installing the vpn works but quite unstablely,
namely the connection terminates after a while.
To make things worse reconnecting wasn't always immediately possible
(sometimes I had to try several times).
So I had a closer look.
According to the "messages" in the Gnome SystemLogViewer,
the connection time was always between 48.0 and 59.0 minutes (9 successful connection so far).
Approximately two minutes before the vpn connection is lost,
the Gnome System Monitor shows a process called "pptpgw" which produces more then
50% processor load for about 2 minutes, then "pptpgw" disappears and the connection collapses
When pptpgw starts going berserk:
daemon.log:
10:05:38 dhclient: DHCPREQUEST of 10.0.234.255 on eth0 to xxx.dns-server.2 port 67
10:05:38 dhclient: DHCPACK of 10.0.234.255 from xxx.dns-server.2
10:05:38 NetworkManager: <info> DHCP: device eth0 state changed bound -> renew
10:05:38 NetworkManager: <info> address 10.0.234.255
10:05:38 NetworkManager: <info> prefix 16 (255.255.0.0)
10:05:38 NetworkManager: <info> gateway 10.0.0.2
10:05:38 NetworkManager: <info> nameserver 'xxx.dns-
10:05:38 NetworkManager: <info> domain name 'xxxdomain'
10:05:38 avahi-daemon[5126]: Withdrawing address record for 10.0.234.255 on eth0.
10:05:38 avahi-daemon[5126]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.234.255.
10:05:38 avahi-daemon[5126]: Interface eth0.IPv4 no longer relevant for mDNS.
10:05:38 avahi-daemon[5126]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.234.255.
10:05:38 avahi-daemon[5126]: New relevant interface eth0.IPv4 for mDNS.
10:05:38 avahi-daemon[5126]: Registering new address record for 10.0.234.255 on eth0.IPv4.
10:05:38 dhclient: bound to 10.0.234.255 -- renewal in 3009 seconds.
10:05:39 NetworkManager: <info> Policy set 'xxxNameOfConne
When pptpgw disappears and connection collapses:
daemon.log:
10:07:25 pptp[6115]: nm-pptp-
10:07:25 pptp[6115]: nm-pptp-
10:07:25 pptp[6115]: nm-pptp-
10:07:25 pptp[6115]: nm-pptp-
10:07:25 pptp[6115]: nm-pptp-
10:07:25 NetworkManager: <info> VPN plugin failed: 1
10:07:25 NetworkManager: <info> VPN plugin state changed: 6
10:07:25 NetworkManager: <info> VPN plugin state change reason: 0
10:07:25 NetworkManager: <WARN> connection_
10:07:25 NetworkManager: nm_system_
10:07:25 NetworkManager: nm_system_
10:07:25 avahi-daemon[5126]: Withdrawing address record for 10.0.234.255 on eth0.
10:07:25 avahi-daemon[5126]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.234.255.
10:07:25 avahi-daemon[5126]: Interface eth0.IPv4 no longer relevant for mDNS.
10:07:25 avahi-daemon[5126]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.234.255.
10:07:25 avahi-daemon[5126]: New relevant interface eth0.IPv4 for mDNS.
10:07:25 avahi-daemon[5126]: Registering new address record for 10.0.234.255 on eth0.IPv4.
10:07:26 NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
10:07:26 NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
10:07:26 nm-dispatcher.
10:07:38 NetworkManager: <debug> [1226480858.753039] ensure_killed(): waiting for vpn service pid 6091 to exit
10:07:38 NetworkManager: <debug> [1226480858.753580] ensure_killed(): vpn service pid 6091 cleaned up
10:08:03 ntpd[6059]: sendto(
debug:
10:07:38 NetworkManager: <debug> [1226480858.753039] ensure_killed(): waiting for vpn service pid 6091 to exit
10:07:38 NetworkManager: <debug> [1226480858.753580] ensure_killed(): vpn service pid 6091 cleaned up
messages:
10:07:25 pppd[6095]: Modem hangup
10:07:25 pppd[6095]: Connect time 55.0 minutes.
10:07:25 pppd[6095]: Sent 847137140 bytes, received 31024139 bytes.
10:07:25 pppd[6095]: Connection terminated.
10:07:25 pppd[6095]: Exit.
Actually, it seems that this is a bug in the pptp-package, I've observed the same behaviour as in ubuntuforums. org/showthread. php?p=6133370
http://