[pptp-server] Re: [pptp-server] Problems with pptp

Peter Grace pgrace at rtdcs.com
Thu Jul 8 09:57:57 CDT 1999


On Thu, 8 Jul 1999, tmk wrote:

> You probably need to enable IP forwarding in the kernel (echo "1" >
> /proc/sys/net/ipv4/ip_forward)
> 
> it's not a poptop issue, it's a routing issue :)
> 
> Kevin


Well, I'd be working on this problem except a seperate problem has popped
up..  I installed pppd-2.3.8 thinking that that might fix my gatewaying
problem (the ip_forward is set, btw) but it hasn't.  Also, the ppp
connection dies after about 15 seconds and pptp has this to say:

Jul  8 10:49:15 messiah pptpd[26825]: CTRL: local address = 192.100.200.104
Jul  8 10:49:15 messiah pptpd[26825]: CTRL: remote address = 192.100.200.156
Jul  8 10:49:15 messiah pppd[26826]: pppd 2.3.8 started by root, uid 0
Jul  8 10:49:15 messiah pppd[26826]: Using interface ppp1
Jul  8 10:49:15 messiah pppd[26826]: Connect: ppp1 <--> /dev/ttyp1
Jul  8 10:49:17 messiah pppd[26826]: local  IP address 192.100.200.104
Jul  8 10:49:17 messiah pppd[26826]: remote IP address 192.100.200.156
Jul  8 10:49:17 messiah pppd[26826]: Script /etc/ppp/ip-up started (pid 26827)
Jul  8 10:49:22 messiah pppd[26826]: Script /etc/ppp/ip-up finished (pid 26827), status = 0x0
Jul  8 10:49:46 messiah pptpd[26825]: GRE: xmit failed from decaps_hdlc
Jul  8 10:49:46 messiah pptpd[26825]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Jul  8 10:49:46 messiah pptpd[26825]: CTRL: Client 207.29.206.116 control connection finished
Jul  8 10:49:46 messiah pptpd[26825]: CTRL: Exiting now


If any of you can shed some light onto the subject in regards to why the
xmit is failing on decaps_hdlc and the ptyread/grewrite stuff, I'd be most
appreciative.  I checked the permissions on /dev/ptyp0:

crw-rw-rw-   1 root     tty        2,   0 Jul  8 10:36 /dev/ptyp0

I don't know if its a pty problem or not.


Thanks, 

Peter






More information about the pptp-server mailing list