Re: Problem with nm-pptp

2009-10-28 Thread Lenezir
Protocol-Reject for unsupported protocol 0xef
Protocol-Reject for unsupported protocol 0xcf
Protocol-Reject for unsupported protocol 0xaf
Protocol-Reject for unsupported protocol 'RTP IPHC Compressed non-TCP'
(0x65)
Protocol-Reject for unsupported protocol 0xae48
Protocol-Reject for unsupported protocol 0xe0ac
Protocol-Reject for unsupported protocol 0xbd
Protocol-Reject for unsupported protocol 0xcab7
Protocol-Reject for unsupported protocol 0xf245
Protocol-Reject for unsupported protocol 0xc7
Protocol-Reject for unsupported protocol 0xf869
Protocol-Reject for unsupported protocol 0xb23c
Protocol-Reject for unsupported protocol 0x6854
Protocol-Reject for unsupported protocol 0x1e10
Protocol-Reject for unsupported protocol 0x64e7
Protocol-Reject for unsupported protocol 0x7b
Protocol-Reject for unsupported protocol 'RTP IPHC Compressed UDP 8' (0x67)
Protocol-Reject for unsupported protocol 0x4ab
Protocol-Reject for unsupported protocol 0xb01b
Protocol-Reject for unsupported protocol 0x8e6
Protocol-Reject for unsupported protocol 0x7428
Protocol-Reject for unsupported protocol 'Xerox NS IDP' (0x25)
Protocol-Reject for unsupported protocol 0x99
Protocol-Reject for unsupported protocol 0x7a16
Protocol-Reject for unsupported protocol 0xd
Protocol-Reject for unsupported protocol 0xf7
Protocol-Reject for unsupported protocol 'Stream Protocol ST-II' (0x33)
Protocol-Reject for unsupported protocol 0xace5
Protocol-Reject for unsupported protocol 0x8c4f
Protocol-Reject for unsupported protocol 0x95
Protocol-Reject for unsupported protocol 0xf63a
Protocol-Reject for unsupported protocol 0x1e3d
Protocol-Reject for unsupported protocol 0xb281
Protocol-Reject for unsupported protocol 0xb5
Protocol-Reject for unsupported protocol 0x42a9
Protocol-Reject for unsupported protocol 0xad
Protocol-Reject for unsupported protocol 0xf1
Protocol-Reject for unsupported protocol 0x1
Protocol-Reject for unsupported protocol 0xc0ff
Protocol-Reject for unsupported protocol 'Multi-Link' (0x3d)
Protocol-Reject for unsupported protocol 0x38e3
Protocol-Reject for unsupported protocol 0x6801
Protocol-Reject for unsupported protocol 0xf6c4
Protocol-Reject for unsupported protocol 0x9f
Protocol-Reject for unsupported protocol 0xed
Protocol-Reject for unsupported protocol 0xc7
Protocol-Reject for unsupported protocol 0xeb
Protocol-Reject for unsupported protocol 0xe3
Protocol-Reject for unsupported protocol 'MP+' (0x73)
Protocol-Reject for unsupported protocol 0x89
Protocol-Reject for unsupported protocol 0x83
Protocol-Reject for unsupported protocol 0x8c90
Protocol-Reject for unsupported protocol 0x7b
Protocol-Reject for unsupported protocol 'SNA' (0x4d)

Dan Williams a écrit :
 On Tue, 2009-10-27 at 19:23 +0100, Lenezir wrote:
   
 Hello everyone.
 I need your knownledge !
 With a friend we are trying to adapt the module nm-pptp of
 NetworkManager to the distribution Frugalware.
 At first glance, the VPN connection is made, but nothing can happen.
 When I go on a website, the browser tries endlessly to join it.
 Apparently, the problem comes from the DNS.
 In the settings of the wired and VPN, I put the OpenDNS IP and
 /etc/resolv.conf contains the correct IP addresses.
 

 Good catch; it looks like the pptp plugin just won't handle the VPN
 gateway being a hostname, it should try to resolve the hostname to get
 the IP address.  NM needs the IP address of your gateway to ensure that
 the routing table is set up correctly, and in this case the NM-pptp
 plugin is getting it wrong.

 What's the output of 'route -n' when this problem occurs?

 In any case, an NM-pptp fix is in order here.

 Dan


   
 Here is the log of NetworkManager when connecting to the VPN :

 NetworkManager: info  Starting VPN service
 'org.freedesktop.NetworkManager.pptp'...
 NetworkManager: info  VPN service
 'org.freedesktop.NetworkManager.pptp' started
 (org.freedesktop.NetworkManager.pptp), PID 12367
 NetworkManager: info  VPN service
 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
 NetworkManager: info  VPN plugin state changed: 1
 NetworkManager: info  VPN plugin state changed: 3
 ** Message: info  pppd started with pid 12375

 NetworkManager: info  VPN connection 'Ipredator' (Connect) reply received.
 Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
 Using interface ppp0
 Connect: ppp0 -- /dev/pts/5
 sh: /bin/ip: No such file or directory
 sh: /bin/ip: No such file or directory
 CHAP authentication succeeded
 MPPE 128-bit stateless compression enabled
 local  IP address 93.182.180.95
 remote IP address 93.182.180.2
 primary   DNS address 93.182.182.85
 secondary DNS address 93.182.182.85
 ** Message: info  PPTP service (IP Config Get) reply received.


 ** (process:12367): WARNING **: WARN  get_pptp_gw_address_as_gvalue():
 couldn't convert PPTP VPN gateway IP address 'vpn.ipredator.se' (0)

 NetworkManager: info  VPN connection 'Ipredator' (IP Config Get) reply
 received.
 NetworkManager: nm_ip4_config_add_nameserver: assertion

Problem with nm-pptp

2009-10-27 Thread Lenezir
Hello everyone.
I need your knownledge !
With a friend we are trying to adapt the module nm-pptp of
NetworkManager to the distribution Frugalware.
At first glance, the VPN connection is made, but nothing can happen.
When I go on a website, the browser tries endlessly to join it.
Apparently, the problem comes from the DNS.
In the settings of the wired and VPN, I put the OpenDNS IP and
/etc/resolv.conf contains the correct IP addresses.

Here is the log of NetworkManager when connecting to the VPN :

NetworkManager: info  Starting VPN service
'org.freedesktop.NetworkManager.pptp'...
NetworkManager: info  VPN service
'org.freedesktop.NetworkManager.pptp' started
(org.freedesktop.NetworkManager.pptp), PID 12367
NetworkManager: info  VPN service
'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
NetworkManager: info  VPN plugin state changed: 1
NetworkManager: info  VPN plugin state changed: 3
** Message: info  pppd started with pid 12375

NetworkManager: info  VPN connection 'Ipredator' (Connect) reply received.
Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Using interface ppp0
Connect: ppp0 -- /dev/pts/5
sh: /bin/ip: No such file or directory
sh: /bin/ip: No such file or directory
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local  IP address 93.182.180.95
remote IP address 93.182.180.2
primary   DNS address 93.182.182.85
secondary DNS address 93.182.182.85
** Message: info  PPTP service (IP Config Get) reply received.


** (process:12367): WARNING **: WARN  get_pptp_gw_address_as_gvalue():
couldn't convert PPTP VPN gateway IP address 'vpn.ipredator.se' (0)

NetworkManager: info  VPN connection 'Ipredator' (IP Config Get) reply
received.
NetworkManager: nm_ip4_config_add_nameserver: assertion `nameserver !=
s' failed
NetworkManager: info  VPN Gateway: 0.0.0.0
NetworkManager: info  Tunnel Device: ppp0
NetworkManager: info  Internal IP4 Address: 93.182.180.95
NetworkManager: info  Internal IP4 Prefix: 32
NetworkManager: info  Internal IP4 Point-to-Point Address: 93.182.180.2
NetworkManager: info  Maximum Segment Size (MSS): 0
NetworkManager: info  Internal IP4 DNS: 93.182.182.85
NetworkManager: info  DNS Domain: '(none)'
NetworkManager: info  Login Banner:
NetworkManager: info  -
NetworkManager: info  (null)
NetworkManager: info  -
NetworkManager: info  VPN connection 'Ipredator' (IP Config Get) complete.
NetworkManager: info  Policy set 'Ipredator' (ppp0) as default for
routing and DNS.
NetworkManager: info  VPN plugin state changed: 4
NetworkManager: info  Trying to start the supplicant...


I hope you can help me.
Thanks.

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list