Date: Mon, 16 Mar 1998 19:37:40 +0100 From: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> To: Doug White <dwhite@resnet.uoregon.edu> Cc: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>, freebsd-questions@freefall.FreeBSD.org Subject: Re: ppp help sought Message-ID: <19980316193740.18208@gil.physik.rwth-aachen.de> In-Reply-To: <Pine.BSF.3.96.980316095336.26071G-100000@gdi.uoregon.edu>; from Doug White on Mon, Mar 16, 1998 at 09:54:31AM -0800 References: <199803161537.QAA01809@gilberto.physik.RWTH-Aachen.DE> <Pine.BSF.3.96.980316095336.26071G-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 16, 1998 at 09:54:31AM -0800, Doug White wrote: > On Mon, 16 Mar 1998, Christoph Kukulies wrote: > > > > > I'm still having problem with some sort of ppp users, mainly > > those logging in via Linux ppp(d). > > > > My machine runs pppd (kernel) and 2.2.5R. > > > > Here's a log of a problem user: > > > > > > Mar 16 16:08:41 agate pppd[16073]: pppd 2.2.0 started by root, uid 0 > > Mar 16 16:08:41 agate pppd[16073]: Using interface ppp0 > > Mar 16 16:08:41 agate pppd[16073]: Connect: ppp0 <--> /dev/ttyd0 > > Mar 16 16:08:43 agate pppd[16073]: user xxxxxxxx logged in > > Mar 16 16:08:43 agate pppd[16073]: local IP address xxx.yyy.zz.1 > > Mar 16 16:08:43 agate pppd[16073]: remote IP address xxx.yyy.zz.33 > > Mar 16 16:08:43 agate pppd[16073]: found interface ed0 for proxy arp > > Mar 16 16:09:13 agate pppd[16073]: CCP: timeout sending Config-Requests > > Mar 16 16:09:56 agate pppd[16073]: LCP terminated at peer's request > > Mar 16 16:09:59 agate pppd[16073]: Connection terminated. > > Mar 16 16:09:59 agate pppd[16073]: Exit. > > > > What does the CCP timeout mean? > > CCP is Compression (or Connection) Control Protocol, I think. Your > machine may be having trouble establishing the connection; are you sure > that ppp(d) is running on your server when they dial in? I'm using /etc/ttys: ttyd0 "/usr/libexec/getty std.57600" dialup on /etc/gettytab: std.57600|57600-baud:\ :np:sp#57600:pp=/usr/local/bin/ppplogin.sh (This is - if I didn't mess anything - out of the box 2.2.5R) /usr/local/bin/ppplogin.sh: #!/bin/sh # # # LOCAL is the IP address of your terminal server. It can be the same # as the IP address of the ethernet card, but need not be. # LOCAL=xxx.yyy.zz.1 # # PORT=`/usr/bin/tty | /usr/bin/sed 's/.*tty//'` # Check that this is a valid modem port, i.e. defined in /etc/ppp/ppp.ports p=`grep $PORT'[[:space:]]' /etc/ppp/ppp.ports | awk '{print $1}'` if [ "X$p" = "X" ] ; then echo You must run pppd over a serial line. exit fi # If this is standard login, then $USER will be defined - see if there # is a static IP address entry for the $USER. if [ "X$USER" != "X" ] ; then REMOTE=`grep '^'$USER'[[:space:]]' /etc/ppp/ppp.users |awk '{print $2}'` fi # Check that the user is not ppp-disabled. if [ "X$USER" != "X" ] ; then baduser=`grep '^'$USER'[[:space:]]' /etc/ppp/ppp.disabled'` if [ X$baduser != X ] ; then echo Sorry, user $USER may not use ppp. exit fi fi # If $USER is not defined (running from ppp-aware getty), or has no # static IP address, get an IP address for the dialin port. if [ "X$REMOTE" = "X" ] ; then REMOTE=`grep $PORT'[[:space:]]' /etc/ppp/ppp.ports | awk '{print $2}'` fi if [ "X$REMOTE" = "X" ] ; then echo Error: port $PORT is not listed in /etc/ppp/ppp.ports exit fi # If this is a login: style user, don't request PAP authentication # otherwise, demand PAP. if [ "X$USER" != "X" ]; then echo "Server address is $LOCAL. Your address is $REMOTE." exec /usr/sbin/pppd modem $LOCAL:$REMOTE else exec /usr/sbin/pppd auth login +pap modem $LOCAL:$REMOTE fi > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > -- --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980316193740.18208>