[pptp-server] Please help..

Beacham Tim P Tim.Beacham at LifePointHospitals.com
Mon Aug 2 16:42:02 CDT 1999


Hello all..    I am new to pptp so I am probably doing something wrong
here...   I have a couple of issues with getting connected.     I am able to
connect if I am using Windows 95 using the updated DUN version 1.3.   When I
am connected, I can not ping anything on the subnet.  I am sure I need to do
something else.     I thought it had something to do with the subnet I was
assigned when connected.   I reconfigured the Linux box to 192.168.0.7 -
255.255.255.0 so it would be on the same subnet as the server that I need to
be able to access: 192.168.0.2 (NT Box..)..  

Also, I am unable to connect with my Win98 box that is masqueraded behind a
Linux router, is this an issue?    I had someone on dial-up test with Win98
and he could connect (after uninstalling DUN and reinstalling like someone
suggested).

Here are files and logs..   Sorry to dump them but I thought they may shed
some light on what I am doing wrong.

/etc/pptpd.conf:
speed 115200
localip 192.168.0.100
remoteip 192.168.0.101-254
netmask 255.255.0.0    <-- Still sets netmask as 255.255.255.0 though!

/etc/ppp/options:
debug
require-chap
name ticlnx2
auth
proxyarp

/etc/ppp/chap-secrets:
billy	ticlnx2	pass	*
\\my_domain\billy     ticlnx2	pass	*

/var/log/pptpd.log:
Aug  3 02:27:11 ticlnx2 pptpd[3538]: CTRL: Client 209.86.155.89 control
connection started
Aug  3 02:27:14 ticlnx2 pptpd[3538]: CTRL: Starting call (launching pppd,
opening GRE)
Aug  3 02:27:14 ticlnx2 pppd[3539]: pppd 2.3.8 started by root, uid 0
Aug  3 02:27:14 ticlnx2 pppd[3539]: Using interface ppp0
Aug  3 02:27:14 ticlnx2 pppd[3539]: Connect: ppp0 <--> /dev/pts/0
Aug  3 02:27:14 ticlnx2 pppd[3539]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth chap MD5> <magic 0x106927c7> <pcomp> <accomp>]
Aug  3 02:27:14 ticlnx2 pppd[3539]: rcvd [LCP ConfReq id=0x1 <magic
0x11d1e9> <pcomp> <accomp>]
Aug  3 02:27:14 ticlnx2 pppd[3539]: sent [LCP ConfAck id=0x1 <magic
0x11d1e9> <pcomp> <accomp>]
Aug  3 02:27:15 ticlnx2 pppd[3539]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<auth chap MD5> <magic 0x106927c7> <pcomp> <accomp>]
Aug  3 02:27:15 ticlnx2 pppd[3539]: sent [CHAP Challenge id=0x1
<c1c754761d14b1e403442cb214e59d4cc7f77e1af6301344b65046b5330254fa97f3e6fa84c
611c7d3246c226d342afeef>, name = "ticlnx2"]
Aug  3 02:27:15 ticlnx2 pppd[3539]: rcvd [CHAP Response id=0x1
<8bb93c009c0efdf94fb39541aac7ca9e>, name = "billy"]
Aug  3 02:27:15 ticlnx2 pppd[3539]: sent [CHAP Success id=0x1 "Welcome to
ticlnx2."]
Aug  3 02:27:15 ticlnx2 pppd[3539]: sent [IPCP ConfReq id=0x1 <addr
192.168.0.100> <compress VJ 0f 01>]
Aug  3 02:27:15 ticlnx2 pppd[3539]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Aug  3 02:27:15 ticlnx2 pppd[3539]: CHAP peer authentication succeeded for
billy
Aug  3 02:27:15 ticlnx2 pppd[3539]: rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Aug  3 02:27:15 ticlnx2 pppd[3539]: sent [IPCP ConfRej id=0x1 <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Aug  3 02:27:18 ticlnx2 pppd[3539]: sent [IPCP ConfReq id=0x1 <addr
192.168.0.100> <compress VJ 0f 01>]
Aug  3 02:27:18 ticlnx2 pppd[3539]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: rcvd [IPCP ConfReq id=0x2 <addr
0.0.0.0>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: sent [IPCP ConfNak id=0x2 <addr
192.168.0.101>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: rcvd [IPCP ConfReq id=0x3 <addr
192.168.0.101>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: sent [IPCP ConfAck id=0x3 <addr
192.168.0.101>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: sent [IPCP ConfReq id=0x1 <addr
192.168.0.100> <compress VJ 0f 01>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: rcvd [IPCP ConfRej id=0x1 <compress VJ
0f 01>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: sent [IPCP ConfReq id=0x2 <addr
192.168.0.100>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: rcvd [IPCP ConfAck id=0x2 <addr
192.168.0.100>]
Aug  3 02:27:21 ticlnx2 pppd[3539]: found interface eth1 for proxy arp
Aug  3 02:27:21 ticlnx2 pppd[3539]: local  IP address 192.168.0.100
Aug  3 02:27:21 ticlnx2 pppd[3539]: remote IP address 192.168.0.101
Aug  3 02:27:21 ticlnx2 pppd[3539]: Script /etc/ppp/ip-up started (pid 3540)
Aug  3 02:27:21 ticlnx2 pppd[3539]: Script /etc/ppp/ip-up finished (pid
3540), status = 0x0
Aug  3 02:27:24 ticlnx2 pppd[3539]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Aug  3 02:27:24 ticlnx2 pppd[3539]: rcvd [LCP ProtRej id=0x2 80 fd 01 01 00
0f 1a 04 78 00 18 04 78 00 15 03 2f]
Aug  3 02:29:37 ticlnx2 sshd[417]: log: Generating new 768 bit RSA key.
Aug  3 02:29:37 ticlnx2 sshd[417]: log: RSA key generation complete.
********************

Output after trying to connect with masqueraded Win98 PC (address changed to
protect the innocent!):

Aug  2 12:30:45 ticlnx2 pptpd[2342]: CTRL: Client 24.24.24.24 control
connection started
Aug  2 12:30:45 ticlnx2 pptpd[2342]: CTRL: Starting call (launching pppd,
opening GRE)
Aug  2 12:30:45 ticlnx2 pppd[2343]: pppd 2.3.8 started by root, uid 0
Aug  2 12:30:45 ticlnx2 pppd[2343]: Using interface ppp1
Aug  2 12:30:45 ticlnx2 pppd[2343]: Connect: ppp1 <--> /dev/pts/4
Aug  2 12:30:45 ticlnx2 pppd[2343]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth chap MD5> <magic 0x598b99e9> <pcomp> <accomp>]
Aug  2 12:31:12 ticlnx2 last message repeated 9 times
Aug  2 12:31:15 ticlnx2 pppd[2343]: LCP: timeout sending Config-Requests 
Aug  2 12:31:15 ticlnx2 pptpd[2342]: GRE: read(fd=4,buffer=804d440,len=8196)
from PTY failed: status = -1 error = Input/output error
Aug  2 12:31:15 ticlnx2 pptpd[2342]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Aug  2 12:31:15 ticlnx2 pptpd[2342]: CTRL: Client 24.24.24.24 control
connection finished
Aug  2 12:31:15 ticlnx2 pppd[2343]: Connection terminated.

---
Beach




More information about the pptp-server mailing list