NetworkManager PPTP plugin connections only works for some apps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-pptp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
The connection that the n-m pptp plugin is creating doesn't work for all apps.
In my case, my ISP requires using a pptp connection to get an external IP address. The instructions it gives to connect are for Windows and they don't show any additional configurations beside the default ones.
I have tried with the default options which nm-pptp dialog sets, and I have tried toggling many options in the n-m config dialogs, but it still gave me the same responses. The options I ended up with are in the attached file.
The problem is that for some programs, the vpn connection works, i.e. firefox, pidgin, amule, evolution, but for some it doesn't, i.e. amsn, empathy. The messengers used were MSN, so Empathy with msn and amsn doesn't work, but pidgin with msn does.
The connections seems to work just fine as far as the nm-applet is concerned, and syslog shows me the following:
-------
Jun 26 19:35:55 razor NetworkManager: <info> Will activate VPN connection 'PredialNet', service 'org.freedeskto
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 2 of 4 (Connection Prepare Wait) scheduled...
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 2 of 4 (Connection Prepare Wait) waiting...
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 2 of 4 (Connection Prepare Wait) complete.
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 3 of 4 (Connect) scheduled...
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 3 of 4 (Connect) sending connect request.
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 3 of 4 (Connect) request sent, waiting for reply...
Jun 26 19:35:55 razor NetworkManager: <info> VPN service 'org.freedeskto
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 3 of 4 (Connect) reply received.
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 4 of 4 (IP Config Get) timeout scheduled...
Jun 26 19:35:55 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 3 of 4 (Connect) complete, waiting for IP configuration...
Jun 26 19:35:55 razor pppd[14793]: Plugin nm-pppd-plugin.so loaded.
Jun 26 19:35:55 razor pppd[14793]: nm-pppd-plugin: plugin initialized.
Jun 26 19:35:55 razor pppd[14794]: pppd 2.4.4 started by root, uid 0
Jun 26 19:35:55 razor pptp[14796]: anon log[main:
Jun 26 19:35:55 razor pppd[14794]: Using interface ppp0
Jun 26 19:35:55 razor pppd[14794]: Connect: ppp0 <--> /dev/pts/1
Jun 26 19:35:55 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:55 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:55 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:56 razor pppd[14794]: nm-pppd-plugin: CHAP check hook.
Jun 26 19:35:56 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:56 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:56 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:56 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:56 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:35:56 razor pptp[14799]: anon warn[ctrlp_
Jun 26 19:35:56 razor pppd[14794]: nm-pppd-plugin: CHAP credentials requested.
Jun 26 19:35:56 razor pppd[14794]: CHAP authentication succeeded
Jun 26 19:35:56 razor pppd[14794]: MPPE 128-bit stateless compression enabled
Jun 26 19:35:58 razor pppd[14794]: Cannot determine ethernet address for proxy ARP
Jun 26 19:35:58 razor pppd[14794]: local IP address 189.1.138.13
Jun 26 19:35:58 razor pppd[14794]: remote IP address 189.1.129.4
Jun 26 19:35:58 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 4 of 4 (IP Config Get) reply received.
Jun 26 19:35:58 razor NetworkManager: <WARN> nm_system_
Jun 26 19:35:59 razor NetworkManager: <info> Clearing nscd hosts cache.
Jun 26 19:35:59 razor NetworkManager: <WARN> nm_spawn_process(): nm_spawn_
Jun 26 19:35:59 razor NetworkManager: <info> VPN Activation (PredialNet) Stage 4 of 4 (IP Config Get) complete.
Jun 26 19:35:59 razor NetworkManager: <info> VPN Activation (PredialNet) successful.
Jun 26 19:35:59 razor NetworkManager: <info> VPN service 'org.freedeskto
Jun 26 19:36:55 razor pptp[14799]: anon log[logecho:
Jun 26 19:36:55 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:37:55 razor pptp[14799]: anon log[logecho:
Jun 26 19:37:55 razor pptp[14799]: anon log[ctrlp_
Jun 26 19:37:55 razor pptp[14799]: anon log[logecho:
Jun 26 19:38:55 razor pptp[14799]: anon log[logecho:
Jun 26 19:39:36 razor pptp[14796]: anon log[decaps_
-------
And many other messages like the last ones.
The strange thing is that if I set ppp up manually the vpn works fine for everything. The config file I used was:
-------
remotename predial
linkname predial
ipparam predial
pty "pptp 172.16.10.35 --nolaunchpppd "
name conectar
usepeerdns
require-mppe
refuse-eap
noauth
# adopt defaults from the pptp-linux package
file /etc/ppp/
-------
and manually routing with:
sudo route add -host 172.16.10.35 gw router wlan0
sudo route add default ppp0
which I also put on /etc/ppp/
To open the connection, I use:
sudo pon predial nodetach
which gives me the following output:
-------
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
Cannot determine ethernet address for proxy ARP
local IP address 189.1.129.204
remote IP address 189.1.129.4
-------
which is very similar to some lines in the nm output.
Note that I have also tried to manually set the route after the connection with nm, so that it would look exactly like the routes I get using pptp manually, but that also didn't help. Also, the last options I tried in the config dialog are the closest I could get to the options set up in /etc/ppp/
I'm using Ubuntu Hardy Heron 8.04.