[pptp-server] HELP!!! Can't make it work

Vern H. Gill vgill at technologist.com
Sun Jun 18 00:06:06 CDT 2000


I need to connect from both inside and outside my LAN using both Windoze and
linux clients. The linux client, unlike the windows one, actually starts to
connect, but only for a short time, then ultimately fails. What am I doing
wrong?

Red Hat Linux release 6.1 (Cartman)
Linux linus.gillnet.org 2.2.14 #1 Fri Mar 10 23:03:23 PST 2000 i586 unknown
PoPToP v1.1.1
pptp-linux version 1.0.2
Win98 SE

/etc/pptpd.conf
speed 115200
pidfile /var/run/pptpd.pid
option /etc/ppp/options.pptpd

/etc/ppp/options.pptpd
# The following are for the PPTP Server
lock
debug
auth
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless
name linus
proxyarp
localip 192.168.5.1
remoteip 192.168.5.10-14
ms-dns 192.168.5.1
ms-dns 192.168.5.1
ms-wins 192.168.5.1
ms-wins 192.168.5.1
idle 1800

This is the logfile when trying to connect with a Win98 client.
Jun 17 21:40:56 linus pptpd[5966]: CTRL: pppd speed = 115200
Jun 17 21:40:56 linus pptpd[5966]: CTRL: pppd options file =
/etc/ppp/options.pptpd
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Client 192.168.5.52 control
connection started
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Received PPTP Control Message
(type: 1)
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Made a START CTRL CONN RPLY packet
Jun 17 21:40:56 linus pptpd[5966]: CTRL: I wrote 156 bytes to the client.
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Sent packet to client
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Received PPTP Control Message
(type: 7)
Jun 17 21:40:56 linus pptpd[5966]: CTRL: 0 min_bps, 0 max_bps, 32 window
size
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Made a OUT CALL RPLY packet
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Starting call (launching pppd,
opening GRE)
Jun 17 21:40:56 linus pptpd[5966]: CTRL: pty_fd = 6
Jun 17 21:40:56 linus pptpd[5966]: CTRL: tty_fd = 7
Jun 17 21:40:56 linus pptpd[5966]: CTRL: I wrote 32 bytes to the client.
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Sent packet to client
Jun 17 21:40:56 linus pptpd[5967]: CTRL (PPPD Launcher): Connection speed =
115200
Jun 17 21:40:56 linus pptpd[5966]: Error reading from pppd: Input/output
error
Jun 17 21:40:56 linus pptpd[5966]: CTRL: GRE read or PTY write failed
(gre,pty)=(7,6)
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Client 192.168.5.52 control
connection finished
Jun 17 21:40:56 linus pptpd[5966]: CTRL: Exiting now
Jun 17 21:40:56 linus pptpd[5968]: MGR: Launching /usr/local/sbin/pptpctrl
to handle client
Jun 17 21:40:56 linus pptpd[5968]: CTRL: pppd speed = 115200
Jun 17 21:40:56 linus pptpd[5968]: CTRL: pppd options file =
/etc/ppp/options.pptpd
Jun 17 21:40:56 linus pptpd[5968]: CTRL: Client 192.168.5.52 control
connection started
Jun 17 21:40:56 linus pptpd[5968]: CTRL: Received PPTP Control Message
(type: 1)
Jun 17 21:40:57 linus pptpd[5968]: CTRL: Made a START CTRL CONN RPLY packet
Jun 17 21:40:57 linus pptpd[5968]: CTRL: I wrote 156 bytes to the client.
Jun 17 21:40:57 linus pptpd[5968]: CTRL: Sent packet to client
Jun 17 21:40:57 linus pptpd[5968]: CTRL: EOF or bad error reading ctrl
packet length.
Jun 17 21:40:57 linus pptpd[5968]: CTRL: couldn't read packet header (exit)
Jun 17 21:40:57 linus pptpd[5968]: CTRL: CTRL read failed
Jun 17 21:40:57 linus pptpd[5885]: MGR: Reaped child 5968

This is the logfile when connecting with a linux client.
commandline used is just [/root]# pptp linus

Jun 17 21:51:26 linus pptpd[6237]: CTRL: pppd speed = 115200
Jun 17 21:51:26 linus pptpd[6237]: CTRL: pppd options file =
/etc/ppp/options.pptpd
Jun 17 21:51:26 linus pptpd[6237]: CTRL: Client 192.168.5.1 control
connection started
Jun 17 21:51:26 linus pptpd[6237]: CTRL: Received PPTP Control Message
(type: 1)
Jun 17 21:51:26 linus pptpd[6237]: CTRL: Made a START CTRL CONN RPLY packet
Jun 17 21:51:26 linus pptpd[6237]: CTRL: I wrote 156 bytes to the client.
Jun 17 21:51:26 linus pptpd[6237]: CTRL: Sent packet to client
Jun 17 21:51:27 linus pptpd[6237]: CTRL: Received PPTP Control Message
(type: 7)
Jun 17 21:51:27 linus pptpd[6237]: CTRL: 0 min_bps, 152 max_bps, 32 window
size
Jun 17 21:51:27 linus pptpd[6237]: CTRL: Made a OUT CALL RPLY packet
Jun 17 21:51:27 linus pptpd[6237]: CTRL: Starting call (launching pppd,
opening GRE)
Jun 17 21:51:27 linus pptpd[6237]: CTRL: pty_fd = 6
Jun 17 21:51:27 linus pptpd[6237]: CTRL: tty_fd = 7
Jun 17 21:51:27 linus pptpd[6237]: CTRL: I wrote 32 bytes to the client.
Jun 17 21:51:27 linus pptpd[6237]: CTRL: Sent packet to client
Jun 17 21:51:27 linus pptpd[6240]: CTRL (PPPD Launcher): Connection speed =
115200
Jun 17 21:51:27 linus pptpd[6237]: Error reading from pppd: Input/output
error
Jun 17 21:51:27 linus pptpd[6237]: CTRL: GRE read or PTY write failed
(gre,pty)=(7,6)
Jun 17 21:51:27 linus pptpd[6237]: CTRL: Client 192.168.5.1 control
connection finished
Jun 17 21:51:27 linus pptpd[6237]: CTRL: Exiting now
Jun 17 21:51:27 linus pppd[6242]: pppd 2.3.10 started by root, uid 0
Jun 17 21:51:27 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:27 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:30 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:30 linus pppd[6242]: Connection terminated.
Jun 17 21:51:31 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:31 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:31 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:31 linus pppd[6242]: Connection terminated.
Jun 17 21:51:32 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:32 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:32 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:32 linus pppd[6242]: Connection terminated.
Jun 17 21:51:33 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:33 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:33 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:33 linus pppd[6242]: Connection terminated.
Jun 17 21:51:34 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:34 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:34 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:34 linus pppd[6242]: Connection terminated.
Jun 17 21:51:35 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:35 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:35 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:35 linus pppd[6242]: Connection terminated.
Jun 17 21:51:36 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:36 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:36 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:36 linus pppd[6242]: Connection terminated.
Jun 17 21:51:37 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:37 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:37 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:37 linus pppd[6242]: Connection terminated.
Jun 17 21:51:38 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:38 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:38 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:38 linus pppd[6242]: Connection terminated.
Jun 17 21:51:39 linus pppd[6242]: Using interface ppp1
Jun 17 21:51:39 linus pppd[6242]: Connect: ppp1 <--> /dev/ttya0
Jun 17 21:51:39 linus pppd[6242]: Serial line is looped back.
Jun 17 21:51:39 linus pppd[6242]: Connection terminated.
Jun 17 21:51:40 linus pppd[6242]: Exit.




More information about the pptp-server mailing list