[pptp-server] LCP: timeout sending Config-Requests

Chris Herrmann chris at faredge.com.au
Fri Oct 12 01:04:10 CDT 2001


Hi all,

I'm trying to get a win2k box to connect to a pptp server, and am having
some grief.

The linux box is an RH7.1, with a vanilla 2.4.8 kernel, poptop 1.1.2, ppp
2.4.1 with the following patches:

ppp-2.4.1-MSCHAPv2-fix.patch.gz
ppp-2.4.1-openssl-0.9.6-mppe-patch.gz
linux-2.4.4-openssl-0.9.6a-mppe.patch.gz
mppe-chapv1-fix.diff.gz
mppe_stateless.patch.gz

The linux box is connected to the internet via pppd, on a static IP. I'm
sitting across the city somewhere from it.

iptables is running on the box; rules I've added for this so far are only
rudimentary (in fact I'm expecting this to be the problem):

iptables -I INPUT -p tcp --dport 1723 -j ACCEPT
iptables -I OUTPUT -p tcp --sport 1723 -j ACCEPT
iptables -I INPUT -p 47 -j ACCEPT
iptables -I OUTPUT -p 47 -j ACCEPT

When I fire up pptpd, it starts ok... I then try and connect from my win2k
box:
tail /var/log/messages
Oct 11 15:57:54 dragon pptpd[1707]: CTRL: Client 203.94.150.200 control
connection started
Oct 11 15:57:54 dragon pptpd[1707]: CTRL: Starting call (launching pppd,
opening GRE)
Oct 11 15:57:54 dragon pppd[1708]: pppd 2.4.1 started by root, uid 0
Oct 11 15:57:54 dragon pppd[1708]: Using interface ppp1
Oct 11 15:57:54 dragon pppd[1708]: Connect: ppp1 <--> /dev/pts/3
Oct 11 15:58:24 dragon pppd[1708]: LCP: timeout sending Config-Requests
Oct 11 15:58:31 dragon pppd[1708]: Modem hangup
Oct 11 15:58:31 dragon pppd[1708]: Connection terminated.
Oct 11 15:58:31 dragon pppd[1708]: Failed to open /dev/pts/3: No such file
or directory
Oct 11 15:58:31 dragon last message repeated 8 times
Oct 11 15:58:31 dragon pppd[1708]: Exit.
Oct 11 15:58:31 dragon pptpd[1707]: GRE: read error: Bad file descriptor
Oct 11 15:58:31 dragon pptpd[1707]: CTRL: PTY read or GRE write failed
(pty,gre)=(-1,-1)
Oct 11 15:58:31 dragon pptpd[1707]: CTRL: Client 203.94.150.200 control
connection finished

various files are:
pptpd.conf is pretty close to the default, except that debug is on,
remoteip 192.168.33.20-200
localip 192.168.33.1


[root at dragon ppp]# cat chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
chris   *       topsecret       *

[root at dragon ppp]# cat options
lock
defaultroute
user bondjamesbond
kdebug 7
debug
#demand
persist
passive
noauth
#/dev/ttyS0 115200
+chap
+chapms-v2
mppe-40
mppe-128
mppe-stateless
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 3
lcp-echo-interval 5
deflate 0

Any ideas as to what this might be?

Many thanks,

Chris Herrmann
Far Edge Technology

p. 02 99553640
f. 02 99547994
m. 0403 393309
http://www.faredge.com.au




More information about the pptp-server mailing list