[pptp-server] Nearly there...

root root at diva.scl.co.uk
Fri Jun 4 06:56:42 CDT 1999


Hi

I'm having fun with pptpd and pptp-linux-1.0.2 client.  I don't know
which end is the problem but what is particularly frustrating is that
I *had* this going.  I then *must* have changed something and despite
starting over and reinstalling everything from scratch, I can't get
back to where I was!

I had it going with pptpd 0.8.4.  I then tried 0.8.7 and from that point
on I've been getting nowhere.  It didn't particularly surprise me that
0.8.7 didn't work because I had to hack autoconf to get it to build at all,
so I've reverted to 0.8.4 but get the same problem!

The client reports:

warn[open_unixsock:pptp_callmgr.c:308]: Call manager for 192.168.1.5 is already running.
fatal[callmgr_main:pptp_callmgr.c:124]: Could not open unix socket for 192.168.1.5
fatal[launch_callmgr:pptp.c:213]: Call manager exited with error 256

and in the pptpd log (this is 0.8.4) I get:

[12:43:02 04/06/99] PPTPD says 'Hello!'
[12:43:02 04/06/99] PPTPD CTRL->PPTPD Pipe file descriptor [0] = 4
[12:43:02 04/06/99] PPTPD CTRL->PPTPD Pipe file descriptor [1] = 5
[12:43:02 04/06/99] PPTPD Manager: waiting for CTRL session to get a new connection
[12:43:02 04/06/99] PPTPD About to execute the CTRL binary...
[12:43:02 04/06/99] PPTPD CTRL: debuglevel=1, loggiven=1
[12:43:02 04/06/99] PPTPD CTRL: argv[0]=4, argv[1]=5
[12:43:02 04/06/99] PPTPD CTRL: loggiven=1, logstr=/var/log/pptpd
[12:43:02 04/06/99] PPTPD CTRL: CTRL connection listening on port 1723

Here is where I try to connect with the client:

[12:44:51 04/06/99] PPTPD ***** ctrl_message BYTE DUMP: ffff
[12:44:51 04/06/99] PPTPD Waiting for IP address of the connecting client to be sent to us
[12:44:51 04/06/99] PPTPD ***** IP address of client we got from the CTRL binary BYTE DUMP: c0a80101

and thats all - pptpd does not spawn a pppd.  However, if I now try the client
for a second time, I get exactly the same response from the client, but this
time pptpd does spawn a pppd:

[12:59:04 04/06/99] PPTPD ***** CALL_ID for this session BYTE DUMP: ffff
[12:59:04 04/06/99] PPTPD ttydev = /dev/ttya0
[12:59:04 04/06/99] PPTPD Waiting for the child to terminate
[12:59:04 04/06/99] PPTPD launching PPPD...
[12:59:04 04/06/99] PPTPD Using pppd option file = /etc/ppp/pptpd-options
[12:59:04 04/06/99] PPTPD PPPD: Connection speed = 115200
[12:59:04 04/06/99] PPTPD local=192.168.1.50, remote=192.168.1.40
[12:59:04 04/06/99] PPTPD PPPD: PPP local/remote interface IP addresses = 192.168.1.50:192.168.1.40
[12:59:05 04/06/99] PPTPD Launching GRE connection server..
[12:59:05 04/06/99] PPTPD Entering GRE dispatch loop
[12:59:05 04/06/99] PPTPD Closing IP connection...
[12:59:05 04/06/99] PPTPD Closing PTY_FD...
[12:59:05 04/06/99] PPTPD GRE connection finished..
[12:59:05 04/06/99] PPTPD Manager: waiting for CTRL session to get a new connection
[12:59:05 04/06/99] PPTPD ***** ctrl_message BYTE DUMP: c0a8
[12:59:05 04/06/99] PPTPD Manager: communication failure with CTRL session
[12:59:05 04/06/99] PPTPD Manager: waiting for CTRL session to get a new connection
[12:59:05 04/06/99] PPTPD ***** ctrl_message BYTE DUMP: 0101
[12:59:05 04/06/99] PPTPD Manager: communication failure with CTRL session
[12:59:05 04/06/99] PPTPD Manager: waiting for CTRL session to get a new connect

which eventually timesout because the client has died:

Jun  4 12:59:05 masq pppd[616]: pppd 2.3.5 started by root, uid 0
Jun  4 12:59:05 masq pppd[616]: Using interface ppp0
Jun  4 12:59:05 masq pppd[616]: Connect: ppp0 <--> /dev/ttya0
Jun  4 12:59:35 masq pppd[616]: LCP: timeout sending Config-Requests
Jun  4 12:59:35 masq pppd[616]: Connection terminated.

Any ideas?

TIA
John Sutton





More information about the pptp-server mailing list