[pptp-server] Help!

David Barclay david.b at staff.logicworld.com.au
Wed May 3 19:53:58 CDT 2000


Hi,

I am having some problems setting up PoPToP and was hoping someone could
point out my error.

The PPTP server is a dialup box, ie ppp0

System - RedHat 6.1
Kernel - 2.2.12
Conf files - 

/etc/pptp.conf
-----------------------------------
option /etc/ppp/options.pptp
debug
localip 10.0.1.1
remoteip 10.0.2.1-100
listen 203.34.157.115 
-----------------------------------


/etc/ppp/options.pptp
-----------------------------------
debug
name pptp 
auth
require-chap
proxyarp
-----------------------------------


/etc/ppp/chap-secrets
-----------------------------------
# client        server  secret                  IP addresses
davidb          pptp    password              *
-----------------------------------

Server Log output
-----------------------------------
May  4 10:50:52 server pptpd[876]: MGR: Manager process started
May  4 10:50:59 server pptpd[878]: MGR: Launching /usr/local/sbin/pptpctrl
to handle client
May  4 10:50:59 server pptpd[878]: CTRL: local address = 10.0.1.1
May  4 10:50:59 server pptpd[878]: CTRL: remote address = 10.0.2.1
May  4 10:50:59 server pptpd[878]: CTRL: pppd options file =
/etc/ppp/options.pptp
May  4 10:50:59 server pptpd[878]: CTRL: Client 203.34.156.206 control
connection started
May  4 10:50:59 server pptpd[878]: CTRL: Received PPTP Control Message
(type: 1)
May  4 10:50:59 server pptpd[878]: CTRL: Made a START CTRL CONN RPLY packet
May  4 10:50:59 server pptpd[878]: CTRL: I wrote 156 bytes to the client.
May  4 10:50:59 server pptpd[878]: CTRL: Sent packet to client
May  4 10:50:59 server pptpd[878]: CTRL: Received PPTP Control Message
(type: 7)
May  4 10:50:59 server pptpd[878]: CTRL: Set parameters to 0 maxbps, 16
window size
May  4 10:50:59 server pptpd[878]: CTRL: Made a OUT CALL RPLY packet
May  4 10:50:59 server pptpd[878]: CTRL: Starting call (launching pppd,
opening GRE)
May  4 10:50:59 server pptpd[878]: CTRL: pty_fd = 5
May  4 10:50:59 server pptpd[878]: CTRL: tty_fd = 6
May  4 10:50:59 server pptpd[878]: CTRL: I wrote 32 bytes to the client.
May  4 10:50:59 server pptpd[879]: CTRL (PPPD Launcher): Connection speed =
115200
May  4 10:50:59 server pptpd[879]: CTRL (PPPD Launcher): local address =
10.0.1.1
May  4 10:50:59 server pptpd[879]: CTRL (PPPD Launcher): remote address =
10.0.2.1
May  4 10:50:59 server pptpd[878]: CTRL: Sent packet to client
May  4 10:50:59 server pptpd[878]: GRE: read(fd=5,buffer=804d7c0,len=8196)
from PTY failed: status = -1 error = Input/output error
May  4 10:50:59 server pptpd[878]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
May  4 10:50:59 server pptpd[878]: CTRL: Client 203.34.156.206 control
connection finished
May  4 10:50:59 server pptpd[878]: CTRL: Exiting now
May  4 10:50:59 server pptpd[876]: MGR: Reaped child 878
May  4 10:50:59 server pppd[881]: pppd 2.3.10 started by root, uid 0
May  4 10:50:59 server pppd[881]: Using interface ppp1
May  4 10:50:59 server pppd[881]: not replacing existing default route to
ppp0 [203.34.157.5]
May  4 10:50:59 server pppd[881]: Cannot determine ethernet address for
proxy ARP
May  4 10:50:59 server pppd[881]: local  IP address 10.0.1.1
May  4 10:50:59 server pppd[881]: remote IP address 10.0.2.1

Client Error
-------------------------------------
You have been disconnected yada yada yada...

The pppd process is still run, ie

ps ax shows

881 pts/3    S      0:00 /usr/sbin/pppd local file /etc/ppp/options.pptp
115200 10.0.1.1:10.0.2.1

Any help would be fantastic!

I suspected it was this line

GRE: read(fd=5,buffer=804d7c0,len=8196) from PTY failed: status = -1 error =
Input/output error

so attempted to compile IP: tunneling and IP: GRE tunnels over IP in to the
kernel - still no luck!

Thanks in advance.

-----------------------------------
Regards,
David Barclay



More information about the pptp-server mailing list