pptp on debian linux with w2k client

From: wachtda (junkmail_at_bluemail.ch)
Date: 03/05/04

  • Next message: calvin: "About tun has packets in queue"
    Date: 5 Mar 2004 02:33:38 -0800
    
    

    i just try to make a pptp-vpn (with encryption) on a debian linux
    machine,
    with a w2k client!

    if i try to connect to my pptp (poptop) server i receive a message,
    with the error 734: ppp-connection-control-protocol closed...
    whats wrong with my preferences???

    can anybody help me..?

    thanx
    wachtda

    information about my system:
    +debian woody with kernel 2.4.19, mppe patched

    +lsmod gives follow results:
     Module Size Used by Tainted: P
     ppp_async 7168 0
     ppp_mppe 19840 0 (unused)
     ppp_generic 22956 0 [ppp_async ppp_mppe]
     slhc 4544 0 [ppp_generic]
     keybdev 1664 0 (unused)
     usbkbd 2848 0 (unused)
     input 3488 0 [keybdev usbkbd]
     usb-uhci 21668 0 (unused)
     usbcore 57760 1 [usbkbd usb-uhci]

    +pppd version 2.4.2

    +poptop version 1.1.4-b3

    file:/var/log/syslog
    ********************************************************************************
    Mar 5 03:26:31 debianvm01 pptpd[247]: MGR: Launching
    /usr/sbin/pptpctrl to handle client
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: local address =
    193.247.237.99
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: remote address =
    193.247.237.90
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: pppd speed = 115200
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: pppd options file =
    /etc/ppp/options.pptpd
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Client 193.247.237.178
    control connection started
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
    Message (type: 1)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Made a START CTRL CONN
    RPLY packet
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: I wrote 156 bytes to the
    client.
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Sent packet to client
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
    Message (type: 7)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: 0 min_bps, 1525 max_bps,
    32 window size
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Made a OUT CALL RPLY
    packet
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Starting call (launching
    pppd, opening GRE)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: pty_fd = 5
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: tty_fd = 6
    Mar 5 03:26:31 debianvm01 pptpd[248]: CTRL (PPPD Launcher):
    Connection speed = 115200
    Mar 5 03:26:31 debianvm01 pptpd[248]: CTRL (PPPD Launcher): local
    address = 193.247.237.99
    Mar 5 03:26:31 debianvm01 pptpd[248]: CTRL (PPPD Launcher): remote
    address = 193.247.237.90
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: I wrote 32 bytes to the
    client.
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Sent packet to client
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
    Message (type: 15)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Got a SET LINK INFO
    packet with standard ACCMs
    Mar 5 03:26:31 debianvm01 pppd[248]: pppd 2.4.2 started by root, uid
    0
    Mar 5 03:26:31 debianvm01 pppd[248]: using channel 1
    Mar 5 03:26:31 debianvm01 pppd[248]: Starting negotiation on
    /dev/pts/0
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfReq id=0x1 <mru
    1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0xf61f34e6> <pcomp>
    <accomp> <mrru 1450> <endpoint [MAC:00:0c:29:78:90:07]>]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfReq id=0x0 <mru
    1400> <magic 0x777852eb> <pcomp> <accomp> <callback CBCP>]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfRej id=0x0
    <callback CBCP>]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfRej id=0x1 <mrru
    1450> <endpoint [MAC:00:0c:29:78:90:07]>]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfReq id=0x2 <mru
    1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0xf61f34e6> <pcomp>
    <accomp>]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfReq id=0x1 <mru
    1400> <magic 0x777852eb> <pcomp> <accomp>]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP ConfAck id=0x1 <mru
    1400> <magic 0x777852eb> <pcomp> <accomp>]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP ConfAck id=0x2 <mru
    1450> <asyncmap 0x0> <auth chap MS-v2> <magic 0xf61f34e6> <pcomp>
    <accomp>]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP EchoReq id=0x0
    magic=0xf61f34e6]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [CHAP Challenge id=0x55
    <168a08384eb5274716f499efe96f9f19>, name = "debianvm01"]
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
    Message (type: 15)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Ignored a SET LINK INFO
    packet with real ACCMs!
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP code=0xc id=0x2 77 78
    52 eb 4d 53 52 41 53 56 35 2e 31 30]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP CodeRej id=0x3 0c 02
    00 12 77 78 52 eb 4d 53 52 41 53 56 35 2e 31 30]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP code=0xc id=0x3 77 78
    52 eb 4d 53 52 41 53 2d 31 2d 49 4d 53 50 43 30 31 44 57 41]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP CodeRej id=0x4 0c 03
    00 1a 77 78 52 eb 4d 53 52 41 53 2d 31 2d 49 4d 53 50 43 30 31 44 57
    41]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP EchoRep id=0x0
    magic=0x777852eb]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [CHAP Response id=0x55
    <a6a49e62d42f1980dfefc6eb8d58f82200000000000000004a7cd9fbc4bfca44ca0b0fde3966ad8de4f3bb673880b11300>,
    name = "myuser"]
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [CHAP Success id=0x55
    "S=EFB0775543AF32D61C84A132BAF0503F1DF122AB M=Access granted"]
    Mar 5 03:26:31 debianvm01 pppd[248]: Using interface ppp0
    Mar 5 03:26:31 debianvm01 kernel: compress rejected:
    opt_len=22,o[0]=12,o[1]=6
    Mar 5 03:26:31 debianvm01 pppd[248]: MPPE required, but kernel has no
    support.
    Mar 5 03:26:31 debianvm01 pppd[248]: sent [LCP TermReq id=0x5 "MPPE
    required but not available"]
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [CCP ConfReq id=0x4 <mppe
    +H +M +S +L -D -C>]
    Mar 5 03:26:31 debianvm01 pppd[248]: Discarded non-LCP packet when
    LCP not open
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [IPCP ConfReq id=0x5 <addr
    0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0>
    <ms-wins 0.0.0.0>]
    Mar 5 03:26:31 debianvm01 pppd[248]: Discarded non-LCP packet when
    LCP not open
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Received PPTP Control
    Message (type: 15)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Got a SET LINK INFO
    packet with standard ACCMs
    Mar 5 03:26:31 debianvm01 pppd[248]: rcvd [LCP TermAck id=0x5 "MPPE
    required but not available"]
    Mar 5 03:26:31 debianvm01 pppd[248]: Connection terminated.
    Mar 5 03:26:31 debianvm01 pppd[248]: Connect time 0.0 minutes.
    Mar 5 03:26:31 debianvm01 pppd[248]: Sent 0 bytes, received 0 bytes.
    Mar 5 03:26:31 debianvm01 pppd[248]: Exit.
    Mar 5 03:26:31 debianvm01 pptpd[247]: Error reading from pppd:
    Input/output error
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: GRE read or PTY write
    failed (gre,pty)=(6,5)
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Client 193.247.237.178
    control connection finished
    Mar 5 03:26:31 debianvm01 pptpd[247]: CTRL: Exiting now
    Mar 5 03:26:31 debianvm01 pptpd[220]: MGR: Reaped child 247
    ********************************************************************************

    file: /etc/pptpd.conf
    ********************************************************************************
    ################################################################################
    #
    # Sample PoPToP configuration file
    #
    # for PoPToP version 0.9.12
    #
    ################################################################################

    # TAG: speed
    #
    # Specifies the speed for the PPP daemon to talk at.
    #
    speed 115200

    # TAG: option
    #
    # Specifies the location of the PPP options file.
    # By default PPP looks in '/etc/ppp/options'
    #
    option /etc/ppp/options.pptpd

    # TAG: debug
    #
    # Turns on (more) debugging to syslog
    #
    debug

    # TAG: localip
    # TAG: remoteip
    #
    # Specifies the local and remote IP address ranges.
    #
    # You can specify single IP addresses seperated by commas or you
    can
    # specify ranges, or both. For example:
    #
    # 192.168.0.234,192.168.0.245-249,192.168.0.254
    #
    # IMPORTANT RESTRICTIONS:
    #
    # 1. No spaces are permitted between commas or within addresses.
    #
    # 2. If you give more IP addresses than MAX_CONNECTIONS, it will
    # start at the beginning of the list and go until it gets
    # MAX_CONNECTIONS IPs. Others will be ignored.
    #
    # 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
    # you must type 234-238 if you mean this.
    #
    # 4. If you give a single localIP, that's ok - all local IPs
    will
    # be set to the given one. You MUST still give at least one
    remote
    # IP for each simultaneous client.
    #
    #localip 192.168.0.234-238,192.168.0.245
    #remoteip 192.168.1.234-238,192.168.1.245
    localip 193.247.237.99
    remoteip 193.247.237.90-97
    ********************************************************************************

    file: /etc/ppp/options.pptpd
    ********************************************************************************
    name debianvm01
    lock
    proxyarp
    noauth
    debug
    multilink
    refuse-pap
    refuse-chap
    require-mppe
    nomppe-40
    require-mppe-128
    refuse-mschap
    require-mschap-v2
    mtu 1450
    mru 1450
    ipcp-accept-local
    ipcp-accept-remote
    lcp-echo-failure 30
    lcp-echo-interval 5
    deflate 0
    ********************************************************************************

    file: /etc/ppp/chap-secrets
    ********************************************************************************
    # Secrets for authentication using CHAP
    # client server secret IP addresses
      myuser debianvm01 mypasswd *
    ********************************************************************************

    of course my /etc/ppp/options is blank!


  • Next message: calvin: "About tun has packets in queue"

    Relevant Pages

    • Re: Debain on the rise ! - However ....
      ... Most threads get response. ... client shouldn't bitch that they get burned by volume. ... It worked again for me in 1997 when I switched to Debian. ... As bad as HTML email is, arguably, warlording is worse. ...
      (Debian-User)
    • Re: Debain on the rise ! - However ....
      ... >> Maybe I'll be able to give Debian a try at some point in the future, ... Most threads get response. ... > client shouldn't bitch that they get burned by volume. ... > chance HTML email has content, ...
      (Debian-User)
    • Re: Debain on the rise ! - However ....
      ... > Debian installation). ... I'm probably going to be using Gentoo ... > client just shouldn't bother with this list. ...
      (Debian-User)
    • Re: Very slow mount over NFS?
      ... "portmap" seems to be running on both machines. ... The client is Debian ...
      (Debian-User)
    • Re: Establishing a site-to-site ipsec connection
      ... I also should mention that we use windows clients for POPTOP - I can see ... > We use poptop at some sites and find that when we use or passwords file ... Client PCs - who would want to keep anything important ... >> occasional VPN access by enabling the VPN software on request. ...
      (comp.os.linux.security)