From owner-freebsd-bugs Thu Jul 13 4:34:28 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 67E8237C36D; Thu, 13 Jul 2000 04:34:19 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.nat.Awfulhak.org [172.31.0.12]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id MAA34612; Thu, 13 Jul 2000 12:34:14 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA03002; Thu, 13 Jul 2000 12:34:11 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200007131134.MAA03002@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: laa@laa.zp.ua Cc: brian@freebsd.org, freebsd-isp@freebsd.org, freebsd-bugs@freebsd.org, brian@Awfulhak.org Subject: Re: PPP callback and wtmp In-Reply-To: Message from laa@laa.zp.ua of "Thu, 13 Jul 2000 14:19:30 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Jul 2000 12:34:11 +0100 From: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, You could try enabling ``id0'' logging to see when login()/logout() are being called from ppp. If you're running mgetty, mgetty may be making these entries, and then once ppp is envoked, ppp makes another entry (using your authname), closing the previous one. You probably want to either disable the mgetty logging on the AutoPPP line or ``disable utmp'' in ppp. > hi. > > I have dialup server with PPP, I use callback service. All works fine, > users (one of them is mpazuk) works for several hours (as I see on > ppp.log file) but wtmp records say 00:00. > > laa@Eagle$ last mpazuk | tail -r | tail > mpazuk ttyd7 Thu Jul 13 08:42 - 08:42 (00:00) > mpazuk ttyd7 Thu Jul 13 09:40 - 09:40 (00:00) > mpazuk ttyd7 Thu Jul 13 09:42 - 09:43 (00:00) > mpazuk ttyd7 Thu Jul 13 10:27 - 10:27 (00:00) > mpazuk ttyd7 Thu Jul 13 10:29 - 10:29 (00:00) > mpazuk ttyd7 Thu Jul 13 10:47 - 10:47 (00:00) > mpazuk ttyd7 Thu Jul 13 10:53 - 10:53 (00:00) > mpazuk ttyd7 Thu Jul 13 10:54 - 10:54 (00:00) > mpazuk ttyd7 Thu Jul 13 10:58 - 11:00 (00:01) > mpazuk ttyd7 Thu Jul 13 11:02 - 11:02 (00:00) > laa@Eagle$ > > > Is it a feature or this is a bug? > > Thanks. > > -- > Laa -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message