*BSD News Article 77729


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!news-peer.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!sys14!news
From: Con Sultant <jkane@execpc.com>
Subject: Re: kernel level PPP login
X-Nntp-Posting-Host: pc0071.jdt.deere.com
Content-Type: text/plain; charset=us-ascii
Message-ID: <DxA532.LwD@deere.com>
To: james@infosouth.com
Sender: news@deere.com
Content-Transfer-Encoding: 7bit
Organization: Yes I Am.
References: <322E4E90.7E31@infosouth.com>
Mime-Version: 1.0
Date: Thu, 5 Sep 1996 21:59:26 GMT
X-Mailer: Mozilla 1.2 (Windows; U; 16bit)
Lines: 38

You need to set up a secrets file based upon which you are using 
(pap/chap) then it will authenticate via that file.  If you want to use 
the /etc/passwd file, you will need to set getty to answer the line as 
usual but, as a dail-in line.  Then they will get a login prompt as you 
expect.  Make their shell the ppp program, and it will then initiate the 
negotiation for the ppp connection.

You said that you were using win95.  I have been told that it uses pa 
only, but have not tested that myself.  If that is true, you will need to 
use the pap-secrets file for authentication.  hence requiring two sets of 
passwd files.  I have tried and tried, but can not get the -login setting 
to work in the options file.  It will not use the /etc/passwd for 
authentication.  Sucks don't it!

/etc/ttys  (partial)
ttyd0  "/usr/libexec/getty std.57600"   dialup on secure

instead of:
ttyd0  "/usr/sbin/pppd 57600"           dailup of insecure

The last works, but only with a -secrets file.  The first works, but 
prompts for a login prompt, and I ask the user then to type ppp at that 
prompt to initiate ppp.  I am told that you can make their shell ppp 
instead of sh/csh (or whatever you use), but since it does not work 
anyhow without the secrets file, I abandonded that plan so did not test 
any further.

Good luck.


-- 
Jeff Kane                                      mailto:jkane@execpc.com 
Sysop - Home Brew University BBS   Brew City Campus       414-238-9074
Genealogy Search:  Brickner, Kane, Kimbro, LaClaire, Snyder|Snider,
                   Seecs|Seetch|Sich, and Thorton.
  Visit my homepage for more ...          http://www.execpc.com/~jkane