Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 1998 08:24:21 -0600 (CST)
From:      Mike Jenkins <mjenkins@carp.gbr.epa.gov>
To:        jack@germanium.xtalwind.net, wes@softweyr.com
Cc:        freebsd-net@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: mgetty AutoPPP not working.
Message-ID:  <199811131424.IAA09120@carp.gbr.epa.gov>
In-Reply-To: <364B73AA.A4E6A445@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Nov 1998 Wes Peters wrote:
> jack wrote:
> > 
> > On Thu, 12 Nov 1998, Wes Peters wrote:
> > 
> > > I'm trying to setup a ppp dialin using mgetty.  I've configured AutoPPP
> > > This is running on a vanilla 2.2.6-RELEASE system.  Should I upgrade the
> > > system,
> > 
> > That shouldn't be a problem, I've got two  2.2.6 boxes that have
> > been running it for nearly 5 months, this boot.  85 lusers
> > currently logged in with PAP.
> > 
> > > or can someone clue me into what I've done wrong?
> > 
> > Did you compile with -DAUTO_PPP ?  I'm not sure if that is done
> > by default in the port or not, I did some modifications and
> > didn't use the port IIRC.
>
> That was it!  I installed the package version, which was not compiled with
> -DAUTO_PPP.  Thanks for the tip.

Did you know the regular getty will be happy to automatically start
pppd for you also?  Just add the :pp=/your/favorite/ppp: entry to
a gettytab entry:

	# /etc/gettytab
	ppp.115200|115200-ppp:\
		:np:sp#115200:\
		:pp=/usr/sbin/pppd:

	# /etc/ttys
	ttyd1	"/usr/libexec/getty ppp.115200"	dialup	on insecure

Mike

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?199811131424.IAA09120>