[pptp-server] Can't get MPPE to work!

Eric H. Raskin eraskin at paslists.com
Mon Mar 27 09:48:41 CST 2000


Help!!

I'm doing something stupid, but I can't find it.  Setup is Linux 2.2.14 with
MPPE patches/pppd 2.3.10 with patches applied.  Win98 client with DUN40 (128
bit) installed.  I can connect fine without data encryption enabled.

I thought I followed all the setup instructions, but I can't get Data Encryption
to work.  I've been through the FAQ's, but I can't find anything to help me out.
I keep getting:

  Error 742:  The computer you're dialing in to does not support the data
encryption requirements specified.

Here's my pptpd.conf file:

speed 115200
option /etc/ppp/pptpd.options
debug
localip 192.168.10.1                (the IP Address on my LAN of my Linux
Firewall)
remoteip 192.168.1.2-254


Here's my /etc/ppp/pptpd.options file:

debug
name xxxx
idle 1800
auth
require-chap
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless
ms-wins 192.168.10.2
ms-wins 192.168.10.2
ms-dns 192.168.10.2
ms-dns 192.168.10.1
proxyarp

Here's the result of lsmod:

Module                  Size  Used by
ppp_mppe               12432   0  (unused)
ppp_deflate            40036   0  (unused)
ip_masq_raudio          2800   0  (unused)
ip_masq_ftp             2192   0  (unused)
ppp                    21548   4  (autoclean) [ppp_mppe ppp_deflate]
slip                    8116   2  (autoclean)
slhc                    4320   3  (autoclean) [ppp slip]
3c59x                  18760   1  (autoclean)

(BTW, I had to insmod ppp_deflate and ppp_mppe.  How do I get them to
auto-load?)

Here's my /var/log/messages file:

Mar 27 10:32:11 pluto pptpd[9338]: MGR: Launching /usr/local/sbin/pptpctrl to
handle client
Mar 27 10:32:11 pluto pptpd[9338]: MGR: Launching /usr/local/sbin/pptpctrl to
handle client
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: local address = 192.168.10.1
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: local address = 192.168.10.1
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: remote address = 192.168.1.3
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: remote address = 192.168.1.3
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: pppd speed = 115200
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: pppd speed = 115200
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: pppd options file =
/etc/ppp/options.pptp
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: pppd options file =
/etc/ppp/options.pptp
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Client 168.100.202.52 control
connection started
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Client 168.100.202.52 control
connection started
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Received PPTP Control Message (type: 1)
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Received PPTP Control Message (type: 1)
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Made a START CTRL CONN RPLY packet
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Made a START CTRL CONN RPLY packet
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: I wrote 156 bytes to the client.
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: I wrote 156 bytes to the client.
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Sent packet to client
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Sent packet to client
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Received PPTP Control Message (type: 7)
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Received PPTP Control Message (type: 7)
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Set parameters to 0 maxbps, 16 window
size
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Set parameters to 0 maxbps, 16 window
size
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Made a OUT CALL RPLY packet
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Made a OUT CALL RPLY packet
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Starting call (launching pppd, opening
GRE)
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Starting call (launching pppd, opening
GRE)
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: pty_fd = 5
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: pty_fd = 5
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: tty_fd = 6
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: tty_fd = 6
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): Connection speed =
/etc/ppp/options.pptp
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): Connection speed =
/etc/ppp/options.pptp
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): local address =
192.168.10.1
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): local address =
192.168.10.1
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): remote address =
192.168.1.3
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): remote address =
192.168.1.3
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[0] =
/usr/sbin/pppd
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[0] =
/usr/sbin/pppd
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[1] = local
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[1] = local
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[2] = 115200
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[2] = 115200
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[3] =
192.168.10.1:192.168.1.3
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[3] =
192.168.10.1:192.168.1.3
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[4] = file
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[4] = file
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[5] =
/etc/ppp/options.pptp
Mar 27 10:32:11 pluto pptpd[9339]: CTRL (PPPD Launcher): pppd argv[5] =
/etc/ppp/options.pptp
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: I wrote 32 bytes to the client.
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: I wrote 32 bytes to the client.
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Sent packet to client
Mar 27 10:32:11 pluto pptpd[9338]: CTRL: Sent packet to client
Mar 27 10:32:11 pluto modprobe: modprobe: Can't locate module char-major-108
Mar 27 10:32:11 pluto modprobe: modprobe: Can't locate module char-major-108
Mar 27 10:32:11 pluto pppd[9339]: pppd 2.3.10 started by root, uid 0
Mar 27 10:32:11 pluto pppd[9339]: Using interface ppp2
Mar 27 10:32:11 pluto pppd[9339]: Connect: ppp2 <--> /dev/pts/5
Mar 27 10:32:11 pluto pppd[9339]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth
chap 81> <magic 0xb4e27c0a> <pcomp>
Mar 27 10:32:11 pluto pppd[9339]: Timeout 0x805074c:0x8078560 in 3 seconds.
Mar 27 10:32:11 pluto pppd[9339]: rcvd [LCP ConfReq id=0x1 <magic 0x37739c>
<pcomp> <accomp>]
Mar 27 10:32:11 pluto pppd[9339]: lcp_reqci: returning CONFACK.
Mar 27 10:32:11 pluto pppd[9339]: sent [LCP ConfAck id=0x1 <magic 0x37739c>
<pcomp> <accomp>]
Mar 27 10:32:11 pluto pppd[9339]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth
chap 81> <magic 0xb4e27c0a> <pcomp>
Mar 27 10:32:11 pluto pppd[9339]: Untimeout 0x805074c:0x8078560.
Mar 27 10:32:11 pluto pppd[9339]: sent [LCP EchoReq id=0x0 magic=0xb4e27c0a]
Mar 27 10:32:11 pluto pppd[9339]: Timeout 0x8053154:0x8078560 in 30 seconds.
Mar 27 10:32:11 pluto pppd[9339]: sent [CHAP Challenge id=0x1
<xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, name = "gatekeepe
Mar 27 10:32:11 pluto pppd[9339]: Timeout 0x8056108:0x8078840 in 3 seconds.
Mar 27 10:32:12 pluto pppd[9339]: rcvd [LCP EchoRep id=0x0 magic=0x37739c]
Mar 27 10:32:12 pluto pppd[9339]: rcvd [CHAP Response id=0x1
<de747eff76213c15447d825eb2c1934d0000000000000000e3bba
Mar 27 10:32:12 pluto pppd[9339]: Untimeout 0x8056108:0x8078840.
Mar 27 10:32:12 pluto pppd[9339]: ChapReceiveResponse: rcvd type MS-CHAP-V2
Mar 27 10:32:12 pluto pppd[9339]: sent [CHAP Success id=0x1
"S=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"]
Mar 27 10:32:12 pluto pppd[9339]: Script /etc/ppp/auth-up started (pid 9341)
Mar 27 10:32:12 pluto pppd[9339]: sent [IPCP ConfReq id=0x1 <addr 192.168.10.1>
<compress VJ 0f 01>]
Mar 27 10:32:12 pluto pppd[9339]: Timeout 0x805074c:0x80787c0 in 3 seconds.
Mar 27 10:32:12 pluto pppd[9339]: MSCHAP-v2 peer authentication succeeded for
<username>
Mar 27 10:32:12 pluto pppd[9339]: Script /etc/ppp/auth-up finished (pid 9341),
status = 0x0
Mar 27 10:32:12 pluto pppd[9339]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01>
<addr 0.0.0.0> <ms-dns1 0.0.0.0> <m
Mar 27 10:32:12 pluto pppd[9339]: ipcp: returning Configure-NAK
Mar 27 10:32:12 pluto pppd[9339]: sent [IPCP ConfNak id=0x1 <addr 192.168.10.1>
<ms-dns1 192.168.10.2> <ms-wins 192.
Mar 27 10:32:12 pluto pppd[9339]: rcvd [CCP ConfReq id=0x1 <mppe 1 0 0 71> <lzs
0 1 4>]
Mar 27 10:32:12 pluto pppd[9339]: Unsupported protocol (0x80fd) received
Mar 27 10:32:12 pluto pppd[9339]: sent [LCP ProtRej id=0x2 80 fd 01 01 00 0f 12
06 01 00 00 71 11 05 00 01 04]
Mar 27 10:32:12 pluto pppd[9339]: rcvd [IPCP ConfAck id=0x1 <addr 192.168.10.1>
<compress VJ 0f 01>]
Mar 27 10:32:12 pluto pppd[9339]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01>
<addr 192.168.1.3> <ms-dns1 192.168
Mar 27 10:32:12 pluto pppd[9339]: ipcp: returning Configure-ACK
Mar 27 10:32:12 pluto pppd[9339]: sent [IPCP ConfAck id=0x2 <compress VJ 0f 01>
<addr 192.168.1.3> <ms-dns1 192.168
Mar 27 10:32:12 pluto pppd[9339]: Untimeout 0x805074c:0x80787c0.
Mar 27 10:32:12 pluto pppd[9339]: ipcp: up
Mar 27 10:32:12 pluto pppd[9339]: Cannot determine ethernet address for proxy
ARP
Mar 27 10:32:12 pluto pppd[9339]: local  IP address 192.168.10.1
Mar 27 10:32:12 pluto pppd[9339]: remote IP address 192.168.1.3
Mar 27 10:32:12 pluto pppd[9339]: Timeout 0x805a100:0x0 in 1800 seconds.
Mar 27 10:32:12 pluto pppd[9339]: Script /etc/ppp/ip-up started (pid 9344)
Mar 27 10:32:13 pluto pppd[9339]: rcvd [LCP TermReq id=0x2]
Mar 27 10:32:13 pluto pppd[9339]: LCP terminated by peer
Mar 27 10:32:13 pluto pppd[9339]: Untimeout 0x8053154:0x8078560.
Mar 27 10:32:13 pluto pppd[9339]: Script /etc/ppp/auth-down started (pid 9400)
Mar 27 10:32:13 pluto pppd[9339]: ipcp: down
Mar 27 10:32:13 pluto pppd[9339]: Untimeout 0x805a100:0x0.
Mar 27 10:32:13 pluto pppd[9339]: Timeout 0x805074c:0x8078560 in 3 seconds.
Mar 27 10:32:13 pluto pppd[9339]: sent [LCP TermAck id=0x2]
Mar 27 10:32:13 pluto pppd[9339]: Script /etc/ppp/auth-down finished (pid 9400),
status = 0x0
Mar 27 10:32:13 pluto pppd[9339]: Script /etc/ppp/ip-up finished (pid 9344),
status = 0x0
Mar 27 10:32:13 pluto pppd[9339]: Script /etc/ppp/ip-down started (pid 9416)
Mar 27 10:32:13 pluto pppd[9339]: Script /etc/ppp/ip-down finished (pid 9416),
status = 0x7f00
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Received PPTP Control Message (type:
12)
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Received PPTP Control Message (type:
12)
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Made a CALL DISCONNECT RPLY packet
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Made a CALL DISCONNECT RPLY packet
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Received CALL CLR request (closing
call)
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Received CALL CLR request (closing
call)
Mar 27 10:32:13 pluto pptpd[76]: MGR: Reaped child 9338
Mar 27 10:32:13 pluto pptpd[76]: MGR: Reaped child 9338
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: I wrote 148 bytes to the client.
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: I wrote 148 bytes to the client.
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Sent packet to client
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Sent packet to client
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Error with select(), quitting
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Error with select(), quitting
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Client <ISP ipaddr> control connection
finished
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Client <ISP ipaddr> control connection
finished
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Exiting now
Mar 27 10:32:13 pluto pptpd[9338]: CTRL: Exiting now
Mar 27 10:32:13 pluto pppd[9339]: Modem hangup
Mar 27 10:32:13 pluto pppd[9339]: Untimeout 0x805074c:0x8078560.
Mar 27 10:32:13 pluto pppd[9339]: Connection terminated.
Mar 27 10:32:13 pluto pppd[9339]: Connect time 0.1 minutes.
Mar 27 10:32:13 pluto pppd[9339]: Sent 410 bytes, received 432 bytes.
Mar 27 10:32:13 pluto pppd[9339]: Failed to open /dev/pts/5: No such file or
directory
Mar 27 10:32:13 pluto last message repeated 9 times
Mar 27 10:32:13 pluto pppd[9339]: Exit.

If there is any other information I can provide, please let me know.

TIA

---------------------------------------------------------------------
Eric H. Raskin                                 eraskin at paslists.com
Professional Advertising Systems Inc.          Voice: 914-741-1100
70 Memorial Plaza                              Fax:   914-741-2788
Pleasantville, NY 10570





More information about the pptp-server mailing list