[pptp-server] PoPToP works, then doesn't ?? Any ideas?

Brian Aust baust at healthdec.com
Mon Dec 11 09:21:31 CST 2000


Well...  I finally got it to work again after i uninstalled the PPP rpm and
the PPTPD rpm and then reinstalled...

However, what happens is the same as before!!  It works for a day, and then
it fails.  It was working for me last night, but now I try it this morning
and it just fails.  It really is frustrating because nothing has changed
since yesterday.

Here are the two logs:

YESTERDAY, WHEN IT WORKED:
Dec 10 17:57:57 BNYATALIE pptpd[773]: CTRL: Client 24.163.35.141 control
connection started
Dec 10 17:57:57 BNYATALIE pptpd[773]: CTRL: Starting call (launching pppd,
opening GRE)
Dec 10 17:57:57 BNYATALIE kernel: CSLIP: code copyright 1989 Regents of the
University of California
Dec 10 17:57:57 BNYATALIE kernel: PPP: version 2.3.7 (demand dialling)
Dec 10 17:57:57 BNYATALIE kernel: PPP line discipline registered.
Dec 10 17:57:57 BNYATALIE kernel: registered device ppp0
Dec 10 17:57:57 BNYATALIE pppd[774]: pppd 2.3.11 started by root, uid 0
Dec 10 17:57:57 BNYATALIE pppd[774]: Using interface ppp0
Dec 10 17:57:57 BNYATALIE pppd[774]: Connect: ppp0 <--> /dev/pts/1
Dec 10 17:57:57 BNYATALIE pppd[774]: Warning - secret file
/etc/ppp/chap-secrets has world and/or group access
Dec 10 17:57:57 BNYATALIE kernel: PPP BSD Compression module registered
Dec 10 17:57:57 BNYATALIE kernel: PPP Deflate Compression module registered
Dec 10 17:57:57 BNYATALIE pppd[774]: CHAP peer authentication succeeded for
baust
Dec 10 17:57:57 BNYATALIE pppd[774]: found interface eth0 for proxy arp
Dec 10 17:57:57 BNYATALIE pppd[774]: local  IP address 10.1.1.69
Dec 10 17:57:57 BNYATALIE pppd[774]: remote IP address 10.3.1.2
Dec 10 17:57:57 BNYATALIE pppd[774]: CCP terminated by peer
Dec 10 17:57:57 BNYATALIE pppd[774]: Compression disabled by peer. 

TODAY, WHEN IT FAILED:
Dec 11 11:07:32 BNYATALIE pptpd[1261]: CTRL: Client 24.190.239.133 control
connection started
Dec 11 11:07:32 BNYATALIE pptpd[1261]: CTRL: Starting call (launching pppd,
opening GRE)
Dec 11 11:07:32 BNYATALIE kernel: CSLIP: code copyright 1989 Regents of the
University of California
Dec 11 11:07:32 BNYATALIE kernel: PPP: version 2.3.7 (demand dialling)
Dec 11 11:07:32 BNYATALIE kernel: PPP line discipline registered.
Dec 11 11:07:32 BNYATALIE kernel: registered device ppp0
Dec 11 11:07:32 BNYATALIE pppd[1262]: pppd 2.3.11 started by root, uid 0
Dec 11 11:07:32 BNYATALIE pppd[1262]: Using interface ppp0
Dec 11 11:07:32 BNYATALIE pppd[1262]: Connect: ppp0 <--> /dev/pts/2
Dec 11 11:07:53 BNYATALIE inetd[484]: pid 1259: exit status 1
Dec 11 11:08:02 BNYATALIE pptpd[1261]: CTRL: Error with select(), quitting
Dec 11 11:08:02 BNYATALIE pptpd[1261]: CTRL: Client 24.190.239.133 control
connection finished
Dec 11 11:08:02 BNYATALIE pppd[1262]: Modem hangup
Dec 11 11:08:02 BNYATALIE pppd[1262]: Connection terminated.
Dec 11 11:08:02 BNYATALIE pppd[1262]: Exit. 

Very frustrating  :-(

Brian

-----Original Message-----
From: George Vieira [mailto:georgev at citadelcomputer.com.au]
Sent: Friday, December 08, 2000 8:22 PM
To: 'Brian Aust'
Subject: RE: [pptp-server] PoPToP works, then doesn't ?? Any ideas?


have you tried killing any traces of old connections and restart PPTPD and
the client?

kill `cat /var/run/ppp0.pid` # <- as long as this isn't your internet
connection
kill `cat /var/run/ppp1.pid`
kill `cat /var/run/ppp1.pid`

rm -f /var/run/pptp/*        # <- this on the client

-----Original Message-----
From: Brian Aust [mailto:baust at healthdec.com]
Sent: Saturday, December 09, 2000 1:13 AM
To: 'pptp-server at lists.schulte.org'
Subject: [pptp-server] PoPToP works, then doesn't ?? Any ideas?


Well I did finally get PoPToP running yesterday, or so i thought.  It worked
yesterday, but now when i try to connect today it fails!!  And absolutely
nothing has changed on the poptop server at all.  Plus, the messages log
looks different for the two connection atttempts (yesterday vs. today).

Here's the log from yesterday where it worked:
-------------------------------------------------------
Dec  7 14:01:08 BNYATALIE pptpd[3046]: CTRL: Client 24.25.7.203 control
connection started
Dec  7 14:01:08 BNYATALIE pptpd[3046]: CTRL: Starting call (launching pppd,
opening GRE)
Dec  7 14:01:08 BNYATALIE pppd[3047]: pppd 2.3.11 started by root, uid 0
Dec  7 14:01:08 BNYATALIE kernel: registered device ppp1
Dec  7 14:01:08 BNYATALIE pppd[3047]: Using interface ppp1
Dec  7 14:01:08 BNYATALIE pppd[3047]: Connect: ppp1 <--> /dev/pts/2
Dec  7 14:01:08 BNYATALIE kernel: PPP BSD Compression module registered
Dec  7 14:01:08 BNYATALIE pppd[3047]: CHAP peer authentication succeeded for
ameyers
Dec  7 14:01:09 BNYATALIE pppd[3047]: found interface eth0 for proxy arp
Dec  7 14:01:09 BNYATALIE pppd[3047]: local  IP address 10.1.1.69
Dec  7 14:01:09 BNYATALIE pppd[3047]: remote IP address 10.3.1.2
Dec  7 14:01:09 BNYATALIE pppd[3047]: CCP terminated by peer
Dec  7 14:01:09 BNYATALIE pppd[3047]: Compression disabled by peer.
Dec  7 14:03:13 BNYATALIE pppd[3047]: LCP terminated by peer
Dec  7 14:03:13 BNYATALIE pppd[3047]: Modem hangup
Dec  7 14:03:13 BNYATALIE pppd[3047]: Connection terminated.
Dec  7 14:03:13 BNYATALIE pppd[3047]: Connect time 2.1 minutes.
Dec  7 14:03:13 BNYATALIE pppd[3047]: Sent 52428 bytes, received 31847
bytes.
Dec  7 14:03:13 BNYATALIE pppd[3047]: Exit.
Dec  7 14:03:13 BNYATALIE pptpd[3046]: CTRL: Error with select(), quitting
Dec  7 14:03:13 BNYATALIE pptpd[3046]: CTRL: Client 24.25.7.203 control
connection finished
------------------------------------------------------

Now this worked fine, and 12 hours pass, and I try to connect just now.
Here's the messages file from 5 minutes ago:

--------------------------------------------------------
Dec  8 09:54:51 BNYATALIE pptpd[3632]: CTRL: Client 24.163.35.141 control
connec
tion started
Dec  8 09:54:51 BNYATALIE pptpd[3632]: CTRL: Starting call (launching pppd,
open
ing GRE)
Dec  8 09:54:51 BNYATALIE kernel: CSLIP: code copyright 1989 Regents of the
Univ
ersity of California
Dec  8 09:54:51 BNYATALIE kernel: PPP: version 2.3.7 (demand dialling)
Dec  8 09:54:51 BNYATALIE kernel: PPP line discipline registered.
Dec  8 09:54:51 BNYATALIE kernel: registered device ppp0
Dec  8 09:54:51 BNYATALIE pppd[3633]: pppd 2.3.11 started by root, uid 0
Dec  8 09:54:51 BNYATALIE pppd[3633]: Using interface ppp0
Dec  8 09:54:51 BNYATALIE pppd[3633]: Connect: ppp0 <--> /dev/pts/0
Dec  8 09:55:21 BNYATALIE pptpd[3632]: CTRL: Error with select(), quitting
Dec  8 09:55:21 BNYATALIE pptpd[3632]: CTRL: Client 24.163.35.141 control
connec
tion finished
Dec  8 09:55:21 BNYATALIE pppd[3633]: Modem hangup
Dec  8 09:55:21 BNYATALIE pppd[3633]: Connection terminated.
Dec  8 09:55:21 BNYATALIE pppd[3633]: Exit.
-----------------------------------------------------

Can anyone see what changed between yesterday and today to make this fail??
Differences I can see are that today uses "ppp0" instead of "ppp1"... and
that clearly it doesn't even get around to attempt the CHAP authentication.

Any ideas would really be welcome!

Thanks,
Brian R. Aust
_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!



More information about the pptp-server mailing list