No pptp vpn connection with 10.10 amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-pptp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
Hello,
I did a fresh install of Ubuntu 10.10 amd64 on my laptop. I use a pptp vpn connection to the ipredator service. network-
$ ifconfig ppp0
ppp0 Link encap:Punkt-
inet Adresse:
UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1496 Metrik:1
RX packets:67 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6147 (6.1 KB) TX bytes:102 (102.0 B)
Connection is established. So I am very sure that the settings are correct.
$ route -n
Kernel-
Ziel Router Genmask Flags Metric Ref Use Iface
93.182.149.2 192.168.10.1 255.255.255.255 UGH 0 0 0 wlan0
93.182.149.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.10.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0 wlan0
The default route is still the old one over the wireless interface. It should be substituted by a new default route over ppp0.
After the deconnection by network-manager the routing table looks like this:
$ route -n
Kernel-
Ziel Router Genmask Flags Metric Ref Use Iface
93.182.149.2 192.168.10.1 255.255.255.255 UGH 0 0 0 wlan0
192.168.10.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0 wlan0
Clearly the host route to 93.182.149.2 should be deleted on cleanup, which is a bug too, imho.
This is from /var/log/syslog during the time that the connection is started and then terminated.
Nov 26 11:24:27 tuxtux NetworkManager[
Nov 26 11:24:27 tuxtux NetworkManager[
Nov 26 11:24:27 tuxtux NetworkManager[
Nov 26 11:24:27 tuxtux NetworkManager[
Nov 26 11:24:27 tuxtux pppd[2445]: Plugin /usr/lib/
Nov 26 11:24:27 tuxtux pppd[2445]: pppd 2.4.5 started by root, uid 0
Nov 26 11:24:28 tuxtux NetworkManager[
Nov 26 11:24:28 tuxtux NetworkManager[
Nov 26 11:24:28 tuxtux pppd[2445]: Using interface ppp0
Nov 26 11:24:28 tuxtux pppd[2445]: Connect: ppp0 <--> /dev/pts/0
Nov 26 11:24:28 tuxtux modem-manager: (net/ppp0): could not get port's parent device
Nov 26 11:24:28 tuxtux pptp[2450]: nm-pptp-
Nov 26 11:24:28 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:24:28 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:24:28 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:24:29 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:24:29 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:24:29 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:24:29 tuxtux pppd[2445]: CHAP authentication succeeded
Nov 26 11:24:29 tuxtux kernel: [ 1538.050917] padlock: VIA PadLock Hash Engine not detected.
Nov 26 11:24:29 tuxtux modprobe: FATAL: Error inserting padlock_sha (/lib/modules/
Nov 26 11:24:29 tuxtux kernel: [ 1538.073795] PPP MPPE Compression module registered
Nov 26 11:24:29 tuxtux pppd[2445]: MPPE 128-bit stateless compression enabled
Nov 26 11:24:30 tuxtux pppd[2445]: Cannot determine ethernet address for proxy ARP
Nov 26 11:24:30 tuxtux pppd[2445]: local IP address 93.182.149.43
Nov 26 11:24:30 tuxtux pppd[2445]: remote IP address 93.182.149.2
Nov 26 11:24:30 tuxtux pppd[2445]: primary DNS address 93.182.182.85
Nov 26 11:24:30 tuxtux pppd[2445]: secondary DNS address 93.182.182.85
Nov 26 11:25:08 tuxtux NetworkManager[
Nov 26 11:25:10 tuxtux pppd[2445]: Terminating on signal 15
Nov 26 11:25:10 tuxtux pppd[2445]: Connect time 0.7 minutes.
Nov 26 11:25:10 tuxtux pppd[2445]: Sent 0 bytes, received 12874 bytes.
Nov 26 11:25:10 tuxtux NetworkManager[
Nov 26 11:25:10 tuxtux pppd[2445]: MPPE disabled
Nov 26 11:25:10 tuxtux pppd[2445]: Child process /usr/sbin/pptp vpn.ipredator.se --nolaunchpppd --loglevel 0 --logstring nm-pptp-
Nov 26 11:25:10 tuxtux pppd[2445]: Connection terminated.
Nov 26 11:25:10 tuxtux avahi-daemon[1018]: Withdrawing workstation service for ppp0.
Nov 26 11:25:10 tuxtux NetworkManager[
Nov 26 11:25:10 tuxtux pptp[2450]: nm-pptp-
Nov 26 11:25:10 tuxtux pptp[2450]: nm-pptp-
Nov 26 11:25:10 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:25:10 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:25:10 tuxtux pptp[2458]: nm-pptp-
Nov 26 11:25:11 tuxtux pppd[2445]: Exit.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: network-
ProcVersionSign
Uname: Linux 2.6.35-23-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Nov 26 11:25:40 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.utf8
SHELL=/bin/bash
SourcePackage: network-
The pptp connection works reliably if I enter one single of the many ip addresses of the ipredator vpn gateway instead of the dns name.
vpn.ipredator.se resolves to quite a lot of ip addresses. So either network- manager- pptp has a general bug with the dns resolver, or it has problems with multi homed hosts.
$ dig @8.8.8.8 vpn.ipredator.se
; <<>> DiG 9.7.1-P2 <<>> @8.8.8.8 vpn.ipredator.se
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40086
;; flags: qr rd ra; QUERY: 1, ANSWER: 20, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;vpn.ipredator.se. IN A
;; ANSWER SECTION:
vpn.ipredator.se. 557 IN A 93.182.130.2
vpn.ipredator.se. 557 IN A 93.182.133.2
vpn.ipredator.se. 557 IN A 93.182.146.2
vpn.ipredator.se. 557 IN A 93.182.147.2
vpn.ipredator.se. 557 IN A 93.182.148.2
vpn.ipredator.se. 557 IN A 93.182.149.2
vpn.ipredator.se. 557 IN A 93.182.150.2
vpn.ipredator.se. 557 IN A 93.182.151.2
vpn.ipredator.se. 557 IN A 93.182.152.2
vpn.ipredator.se. 557 IN A 93.182.153.2
vpn.ipredator.se. 557 IN A 93.182.164.2
vpn.ipredator.se. 557 IN A 93.182.179.2
vpn.ipredator.se. 557 IN A 93.182.180.2
vpn.ipredator.se. 557 IN A 93.182.181.2
vpn.ipredator.se. 557 IN A 93.182.185.2
vpn.ipredator.se. 557 IN A 93.182.186.2
vpn.ipredator.se. 557 IN A 93.182.187.2
vpn.ipredator.se. 557 IN A 93.182.188.2
vpn.ipredator.se. 557 IN A 93.182.189.2
vpn.ipredator.se. 557 IN A 93.182.190.2
;; Query time: 33 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Dec 11 16:33:42 2010
;; MSG SIZE rcvd: 354
works => Gateway: 93.183.153.2
does not work => Gateway: vpn.ipredator.se