Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 1996 20:01:16 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        root@edmweb.com (Steve Reid)
Cc:        isp@freebsd.org
Subject:   Re: Automatic PPP-detecting getty and pppd!!!
Message-ID:  <199606210101.UAA29872@brasil.moneng.mei.com>
In-Reply-To: <Pine.BSF.3.91.960620152125.178A-100000@bitbucket.edmweb.com> from "Steve Reid" at Jun 20, 96 03:34:59 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > Okay all of you who have been wanting a way to get around loading
> > "Microsoft Dial Up Scripting" on your Windows 95 boxes...  now FreeBSD
> > can detect a PPP session inside getty, and deal with it appropriately! 
> 
> How is this different from simply setting /etc/ttys to run pppd instead 
> of getty? Does it give a login prompt to people who aren't using PPP? 

Yes.  The way we configure systems here, people have traditionally logged in
with "Plogin" for PPP logins, and "login" for regular logins.  Due to some
other old local magic, "regular logins" actually get forwarded off of the 
"terminal server" box and onto the "shell account" box.  However, the
interesting new technology is allowing everything to coexist  :-)

> If 
> my users don't want/need a login prompt, are there any advantages to 
> using the new getty instead of directly running pppd?

By definition, most ISP's want to offer flexibility.  Think about the
following:  you go to a customer's site.  You desperately want to download
winsock (or whatever) because the customer's copy is bad - or he hasn't ever
been set up before.  You have a rack of a hundred modems, all execing pppd
out of ttys..  you get very frustrated because you didn't leave yourself (or
your users) a path into the system when everything was not working right on
the customer's end.

Rule #1, engineer for scenarios other than the best case.

Or..  think about that one damn Mac customer who has to have SLIP because
his ancient crudware won't do PPP reliably...

> Forgive me if this is a stupid or self-answering question.

Only sort of  ;-)  In an ideal world, it's nice to run everything over the
network (i.e. PPP).  In the real world, that screws you too badly in some
cases.

By the way, you may wish to look at my pppd anyways.  Your current pppd will
not log people in utmp, I personally like being able to type "w" and see
who/what is connected, and this pppd does that.  It also validates the
"expires" field in the passwd entry, so that if you use this BSD feature, it
works for PPP too.

Forward progress, ho!

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606210101.UAA29872>