[pptp-server] pptp doesn't select tunnel IP addresses

Dan Lange langed0115 at hotmail.com
Fri Oct 18 22:39:25 CDT 2002


Hi,
   I compiled a linux 2.4.18 kernel with the
linux-2.4.16-openssl-0.9.6b-mppe.patch.gz patch, and pppd 2.4.1 with the 
ppp-2.4.1-openssl-0.9.6-mppe-patch.gz patch. I downloaded, compiled, and 
installed poptop 1.1.2, and my config files are listed at the end of this 
message. Immediately following my comments are the results of a "tail -f 
/var/log/messages /var/log/syslog" for your easy perusal.

   My problem is that I can't connect to it with my win98se machine, which 
connected to a previous poptop installation just fine.
   As you examine these logs, you'll note the lack of
"Local IP: 192.168.2.1" and "Remote IP: 192.168.2.128" lines; this is my 
best guess as to the problem. No connection works, and as far as I can see, 
a set of IPs are not selected for the tunnel.

   One possible issue that comes into play--the machine running the poptop 
installation previously had an internal NIC on the 192.168.2.x network. This 
is the same machine--but it's no longer performing firewall duties, and as 
such lost the /dev/eth1 ethernet card.
   So between a new kernel, a new pppd, a new pptp, new config files, and a 
loss of a card on 192.168.2.x (and thus the loss of a route there), 
something appears to have messed things up. Any recommendations of what is 
wrong here?

  I have also attempted to bypass pptpd by starting the pptpctrl(8) command 
directly, using the following entry in /etc/inetd.conf:

pptpctrl stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/pptpctrl 1 1 
/etc/ppp/options.poptop 0 0 0 0 --buffer--



Thanks in advance for any help.

DanL


==> /var/log/messages <==
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Client xx.xx.xx.xx control 
connection started
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Starting call (launching pppd, 
opening GRE)

==> /var/log/syslog <==
Oct 17 19:32:33 debian pptpd[27173]: MGR: launching /usr/local/sbin/pptpctrl 
to handle client
Oct 17 19:32:33 debian pptpd[27173]: CTRL: pppd options file =
/etc/ppp/options.poptop
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Client xx.xx.xx.xx control
connection started
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Received PPTP Control Message 
(type: 1)
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Made a START CTRL CONN RPLY
packet
Oct 17 19:32:33 debian pptpd[27173]: CTRL: I wrote 156 bytes to the client.
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Sent packet to client
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Received PPTP Control Message 
(type: 7)
Oct 17 19:32:33 debian pptpd[27173]: CTRL: 0 min_bps, 0 max_bps, 32 window 
size
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Made a OUT CALL RPLY packet
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Starting call (launching pppd, 
opening GRE)
Oct 17 19:32:33 debian pptpd[27173]: CTRL: pty_fd = 5
Oct 17 19:32:33 debian pptpd[27173]: CTRL: tty_fd = 6
Oct 17 19:32:33 debian pptpd[27173]: CTRL: I wrote 32 bytes to the client.
Oct 17 19:32:33 debian pptpd[27174]: CTRL (PPPD Launcher): Connection speed  
= 115200
Oct 17 19:32:33 debian pptpd[27173]: CTRL: Sent packet to client
Oct 17 19:32:33 debian pppd[27174]: pppd 2.4.1 started by root, uid 0
Oct 17 19:32:33 debian pppd[27174]: using channel 41
Oct 17 19:32:33 debian pppd[27174]: Using interface ppp0
Oct 17 19:32:33 debian pppd[27174]: Connect: ppp0 <--> /dev/pts/1
Oct 17 19:32:33 debian pppd[27174]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> 
<auth chap MD5> <magic 0xb1076be1> <pcomp> <accomp>]
Oct 17 19:33:01 debian last message repeated 9 times

==> /var/log/messages <==
Oct 17 19:33:04 debian pptpd[27173]: CTRL: Client xx.xx.xx.xx control 
connection finished

==> /var/log/syslog <==
Oct 17 19:33:04 debian pppd[27174]: LCP: timeout sending Config-Requests
Oct 17 19:33:04 debian pppd[27174]: Connection terminated.
Oct 17 19:33:04 debian pppd[27174]: Exit.
Oct 17 19:33:04 debian pptpd[27173]: Error reading from pppd: Input/output 
error
Oct 17 19:33:04 debian pptpd[27173]: CTRL: GRE read or PTY write failed
(gre,pty)=(6,5)
Oct 17 19:33:04 debian pptpd[27173]: CTRL: Client xx.xx.xx.xx control
connection finished
Oct 17 19:33:04 debian pptpd[27173]: CTRL: Exiting now
Oct 17 19:33:04 debian pptpd[27167]: MGR: Reaped child 27173

==> /etc/pptpd.conf <==
option /etc/ppp/options.poptop
debug
localip 192.168.2.1
remoteip 192.168.2.128-238

==> /etc/ppp/options.poptop <==
debug
noauth
show-password
+chap
proxyarp




_________________________________________________________________
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp




More information about the pptp-server mailing list