[pptp-server] 619 Error, problem with pppd (fwd)

Charlie Brady charlieb at e-smith.com
Wed Jan 30 09:31:36 CST 2002


FYI..

---------- Forwarded message ----------
Date: Wed, 30 Jan 2002 02:05:14 -0500
From: Vodo Baas <vodo_baas at hotmail.com>
Reply-To: vodobaas at mindlence.com
To: charlieb at e-smith.com
Subject: Re: [pptp-server] 619 Error, problem with pppd

I have resolved this one, thanks for the help.  I went back to the original
kernel that I installed from the Red Hat CD and everything worked fine.  I
went back and messed around with the 2.4.17 kernel again and these are the
options I set for the networking options and was able to PoPToP 1.0.1 to
work.

Networking support (CONFIG_NET) Y
Sysctl support (CONFIG_SYSCTL) Y
Packet socket (CONFIG_PACKET) Y
  Packet socket: mmapped IO (CONFIG_PACKET_MMAP) N
Netlink device emulation (CONFIG_NETLINK_DEV) Y
Network packet filtering (CONFIG_NETFILTER) Y
Socket Filtering (CONFIG_FILTER) N
Unix domain sockets (CONFIG_UNIX) Y
TCP/IP networking (CONFIG_INET) Y
  IP: advanced router (CONFIG_IP_ADVANCED_ROUTER) N
  IP: tunneling (CONFIG_NET_IPIP) Y
  IP: GRE tunnels over IP (CONFIG_NET_IPGRE) Y
Connection tracking (CONFIG_IP_NF_CONNTRACK) N
IP tables support (CONFIG_IP_NF_IPTABLES) N
ipchains (2.2-style) support (CONFIG_IP_NF_COMPAT_IPCHAINS) Y
PPP (point-to-point protocol) support (CONFIG_PPP) Y
  PPP support for async serial ports (CONFIG_PPP_ASYNC) Y
  PPP support for sync tty ports (CONFIG_PPP_SYNC_TTY) Y
  PPP Deflate compression (CONFIG_PPP_DEFLATE) N
  PPP BSD-Compress compression (CONFIG_PPP_BSDCOMP) N
  PPP over ATM (CONFIG_PPPOATM) N
SLIP (serial line) support (CONFIG_SLIP) N
Unix98 PTY support (CONFIG_UNIX98_PTYS) Y
/proc file system support (CONFIG_PROC_FS) Y
/dev/pts file system for Unix98 PTYs (CONFIG_DEVPTS_FS) Y

I don't know how much of that is actually required or not, and I know the
settings for IP routing, IP filtering, and ipchains and iptables I have set
specific to my needs (and that is keeping ipchains support and dropping
iptables), but regardless with that configuration everything worked fine.

> > I am running PoPToP version version 1.0.1 as a server and when I try to
> > connect with a Win 2000 computer I get a 619 error stating that the port
>is
> > not connected.  When I check the log I see this:
> >
> > pptpd[2370]: MGR: Manager process started
> > pptpd[2379]: CTRL: Client 12.147.193.69 control connection started
> > pptpd[2379]: CTRL: Starting call (launching pppd, opening GRE)
> > pppd[2380]: pppd 2.4.0 started by root, uid 0
> > pppd[2380]: Couldn't set tty to PPP discipline: Invalid argument
> > pppd[2380]: Exit.
> > pptpd[2379]: GRE: read(fd=5,buffer=804da20,len=8196) from PTY failed:
>status
> > = -1 error = Input/output error
> > pptpd[2379]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
> > pptpd[2379]: CTRL: Client 12.147.193.69 control connection finished
> >
> > If I am reading this right, the call that pptpd uses to call pppd is
> > incorrect and causing my connections to fail.
>
>No. pppd is starting up, but then when it asks the kernel to enable PPP
>line discipline on its pseudoterminal connection, the kernel doesn't like
>a parameter being passed. I don't know enough about pppd and kernel
>internals to know why that is.
>
> > Here is the version information for what I am using:
> > Red Hat Linux 7.1
> > Linux Kernel 2.4.17 (From kernel.org)
> > PoPToP 1.0.1
> > ppp 2.4.0
> >
> > I noticed that in the mailing list the version of ppp that most peopl
>use is
> > 2.3.8 through 2.3.11 is there a compatibility issue with 2.4.0?
>
>No. We've been using 2.4.0 in our product for ages (with 2.2.x kernels).
>
>I'd recommend:
>
>- using a RedHat standard kernel, and only build new ppp.o and mppe.o
>   modules.
>- using PoPToP 1.1.2


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.





More information about the pptp-server mailing list