[pptp-server] PTY, GRE prob

linux at orgx.co.nz linux at orgx.co.nz
Sat May 13 04:13:28 CDT 2000


Hi all,

well it I have solved this problem and it is real egg-on-face time!  It 
was simply the NTDOMAIN\\username thing catching me out.  I eventually 
found this when looking in a *different* syslog log.  So I just put a 
second line in /etc/ppp/chap-secrets with my NT domain prepended to the 
username and all works!  Crazy MS Windows!  The dialog box where I entered 
my username did *not* include the domain name, it must get added by 
Windows before being sent to the PPTP server.  I have another problem 
which I think is very different so I will put it in another message to 
close this thread ;-)

Cheers,

Richard Shepherd




linux at orgx.co.nz
Sent by: pptp-server-admin at lists.schulte.org
05/11/00 10:04 AM

 
        To:     pptp-server at lists.schulte.org
        cc: 
        Subject:        [pptp-server] PTY, GRE prob


Hi, 

I am fairly new to PPTP but still don't think I should have this problem. 
I have pptp 1.0, ppp-2.3.10 with the ppp-2.3.10-openssl-0.9.4-mppe.patch 
patch applied.  I run /usr/local/sbin/pptpd --debug.  The kernel is 
rebuilt and has the modules ppp, ppp-mppe, and others loaded.  Whenever I 
attempt a connection from my Win98 box I get immediately disconnected and 
in the Linux syslogs I see: 

May 10 21:46:53 bts pptpd[3552]: CTRL: Starting call (launching pppd, 
opening GRE) 
May 10 21:46:53 bts pptpd[3552]: CTRL: pty_fd = 4 
May 10 21:46:53 bts pptpd[3552]: CTRL: tty_fd = 5 
May 10 21:46:53 bts pptpd[3552]: CTRL: I wrote 32 bytes to the client. 
May 10 21:46:53 bts pptpd[3552]: CTRL: Sent packet to client 
May 10 21:46:53 bts pptpd[3553]: CTRL (PPPD Launcher): Connection speed = 
115200 
May 10 21:46:53 bts pptpd[3553]: CTRL (PPPD Launcher): local address = 
192.168.10.134 
May 10 21:46:53 bts pptpd[3553]: CTRL (PPPD Launcher): remote address = 
192.168.10.248 
May 10 21:46:53 bts pptpd[3552]: GRE: read(fd=4,buffer=804d9c0,len=8196) 
from PTY failed: status = -1 error = Input/output error 
May 10 21:46:53 bts pptpd[3552]: CTRL: PTY read or GRE write failed 
(pty,gre)=(4,5) 
May 10 21:46:53 bts pptpd[3552]: CTRL: Client 192.168.10.193 control 
connection finished 
May 10 21:46:53 bts pptpd[3552]: CTRL: Exiting now 
May 10 21:46:53 bts pptpd[3551]: MGR: Reaped child 3552

The message from the Win98 dialogue is that my password is incorrect but I 
don't believe that's the problem.  I've searched the list archives and not 
seen an answer to this which has fixed it for me!  *PLEASE* can anyone 
help me? 

My config files are: 

/etc/ppp/options: 

lock 
debug 
name bts 
auth 
##require-chap 
proxyarp 
ms-dns 192.168.99.30 
ms-wins 192.168.10.11 
+chap 
+chapms 
+chapms-v2 
mppe-40 
mppe-128 
mppe-stateless 

/etc/pptpd.conf: 

speed 115200 
localip 192.168.10.134 
remoteip 192.168.10.248-249 

/etc/ppp/chap-secrets: 

# Secrets for authentication using CHAP 
# client        server  secret                  IP addresses 
me        bts     mysecret                   * 

Cheers,

Richard Shepherd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20000513/32ec5600/attachment.html>


More information about the pptp-server mailing list