Re: pptp




> So "require-mppc" is unknown to my version of pppd. Is this to be
> expected? what version are you using? Any chance for a quick fix for
> this? ;)
>
> Cheers,
> -Michi

MPPC requires the US-patent-breaking MPPC patch for pppd. 
I do not recommend using it - unless you have to (ie. server
won't connect with out compression - which seems rare).
I used use that patch but recent pppd/kernel releases have the necessary
MPPE abilities. 

Try just unticking MPPC compression in your config.

Unfortunately, there is no way to detect the precise patch-level
of pppd (at least not that I have found yet).  This could probably do
with some better error message - Again not sure where to
get that from either (except parsing the stderr of pppd!!)

(better cc. the NM crew for info/archiving)

tOnY

On 13/06/06, Michi <michael monreal gmail com> wrote:
Update:

turns out the problem is pppd, here's the log:

---
NetworkManager: <information>   SUP: sending command 'SCAN'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   Will activate VPN connection 'Uni
Koblenz', service 'org.freedesktop.NetworkManager.pptp', user_name
'monreal', vpn_data 'remot e / pptp.uni-koblenz.de / username /
monreal / comp-mppc / yes / encrypt-mppe / yes', route
'141.26.64.18/16'.
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 1
of 4 (Connection Prepare) scheduled...
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 1
of 4 (Connection Prepare) ran VPN service daemon
org.freedesktop.NetworkManager.pptp (PID 5582)
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 1
of 4 (Connection Prepare) complete.
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 2
of 4 (Connection Prepare Wait) scheduled...
** Message: <information>       PPTP State change: 1 -> 6

NetworkManager: <information>   VPN service
'org.freedesktop.NetworkManager.pptp' signaled state change 1 -> 6.
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 2
of 4 (Connection Prepare Wait) waiting...
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 2
of 4 (Connection Prepare Wait) complete.
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 3
of 4 (Connect) scheduled...
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 3
of 4 (Connect) sending connect request.
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 3
of 4 (Connect) request sent, waiting for reply...
** Message: <information>       PPTP State change: 6 -> 3

NetworkManager: <information>   VPN service
'org.freedesktop.NetworkManager.pptp' signaled state change 6 -> 3.
** Message: <information>       pptp started with pid 5584

NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 3
of 4 (Connect) reply received.
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 4
of 4 (IP Config Get) timeout scheduled...
NetworkManager: <information>   VPN Activation (Uni Koblenz) Stage 3
of 4 (Connect) complete, waiting for IP configuration...
/usr/sbin/pppd: unrecognized option 'require-mppc'
pppd version 2.4.4b1
Usage: /usr/sbin/pppd [ options ], where options are:
        <device>        Communicate over the named device
        <speed>         Set the baud rate to <speed>
        <loc>:<rem>     Set the local and/or remote interface IP
                        addresses.  Either one may be omitted.
        asyncmap <n>    Set the desired async map to hex <n>
        auth            Require authentication from peer
        connect <p>     Invoke shell command <p> to set up the serial line
        crtscts         Use hardware RTS/CTS flow control
        defaultroute    Add default route through interface
        file <f>        Take options from file <f>
        modem           Use modem control lines
        mru <n>         Set MRU value to <n> for negotiation
See pppd(8) for more options.

** (process:5582): WARNING **: <WARNING>         pptp_watch_cb ():
pptp exited with error code 2

NetworkManager: <WARNING>        nm_vpn_service_process_signal (): VPN
failed for service ' org.freedesktop.NetworkManager.pptp', signal
'LoginFailed', with mes sage 'VPN Connection failed'.
** Message: <information>       PPTP State change: 3 -> 6

NetworkManager: <information>   VPN service
'org.freedesktop.NetworkManager.pptp' signaled state change 3 -> 6.
NetworkManager: <WARNING>        nm_vpn_service_stop_connection ():
(VPN Service org.freedesktop.NetworkManager.pptp): could not stop
connection 'Uni Koblenz' because service was 6.
NetworkManager: <information>   SUP: sending command 'SCAN'
NetworkManager: <information>   SUP: response was 'OK'
---

So "require-mppc" is unknown to my version of pppd. Is this to be
expected? what version are you using? Any chance for a quick fix for
this? ;)

Cheers,
-Michi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]