autoppp and /bin/login

Nathan Sportsman (digital@castle.cdsnet.com)
Thu, 20 May 1999 16:28:00 -0500



Hi

Currently if the user decides to go with an autoppp connections he can
connect with no problems. The options for the ppp session in this case are
read from options.ttyXX. If instead he chooses to connect through terminal
default, mgetty checks for autoppp first and then lets them login with a
regular term. After the user has logged in their ppplogin shell is
executed which is a simple /usr/sbin/pppd. But, Windows Dialupnetworking
reports that a pppd connection could not be established. In this case pppd
insists on reading the options file for pppd options and then .ppprc and
finally options.ttyXX. If the options file is missing pppd reports an
error. If all options required to start a session are placed into the
options file it gives the dialup networking error. I think this is because
the options set in the options file are also set in options.ttyXX which
autoppp needs. I tried setting pppd to read from options.ttyXX using a
case statement, but i forgot pppd reads arguments from the command line
last. Is there any way I can get pppd to skip reading the options file and
go straight to options.ttyXX? Or is this not even the problem?

Nathan 

On Thu, 20 May 1999, Gert Doering wrote:

> hi,
> 
> On Mon, May 17, 1999 at 06:15:22PM -0500, Nathan Sportsman wrote:
> > selection and typing in their login and password that way. My question is,
> > is it possible for mgetty to both use autoppp for connecting, and
> > /bin/login for adding new accounts and those that do not want to switch
> > their dialup networking back to use autoppp? 
> 
> Sure, that's the main reason why it's called AutoPPP and not just "well,
> you can use mgetty to start pppd instead of /bin/login, yes". :-)
> 
> gert
> -- 
> USENET is *not* the non-clickable part of WWW!
>                                                            //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             gert@greenie.muc.de
> fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de
>