From owner-freebsd-isp Sat Aug 3 08:36:13 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA16603 for isp-outgoing; Sat, 3 Aug 1996 08:36:13 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA16594 for ; Sat, 3 Aug 1996 08:36:09 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id KAA28339; Sat, 3 Aug 1996 10:34:15 -0500 From: Joe Greco Message-Id: <199608031534.KAA28339@brasil.moneng.mei.com> Subject: Re: AutoPPP with mgetty and pppd To: justin@cyburbia.net.au (Justin Viiret) Date: Sat, 3 Aug 1996 10:34:15 -0500 (CDT) Cc: freebsd-isp@freebsd.org In-Reply-To: from "Justin Viiret" at Aug 3, 96 05:07:43 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > G'day everyone... > > Seems like I've been trying to do this for ages now ;) I'm trying to get > the AutoPPP features of mgetty to dump a user into pppd with PAP > authentication based on the /etc/passwd file. I've got that much working - > everything's fine. The only difficulty now is that when a user's logged on > via AutoPPP, he's logged in the wtmp file (there's an entry for his > username when I type 'last'), but he doesn't appear to be being logged in > utmp - so the 'w' or 'finger' commands don't show him. This makes things > rather difficult for user tracking. ;) > > Has anyone managed to get pppd to log the user in both the utmp and the > wtmp files? > > I'm running stock FreeBSD 2.1.5-RELEASE. If you don't have your heart set on using mgetty - consider trying the PPP-enabled getty and pppd that I hacked together a month or two ago. Check the mailing list archives of -isp for a message containing (PPP and PAP and getty). I posted a detailed set of instructions at the time.. It is alpha-release code but it appears to work just fine. Once I get a few minutes to spare I'll write up some nice docs to go with it, and see if we can't get it committed to the current source tree. ... JG