From owner-freebsd-questions Sat Oct 25 08:09:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA06703 for questions-outgoing; Sat, 25 Oct 1997 08:09:09 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA06688 for ; Sat, 25 Oct 1997 08:08:32 -0700 (PDT) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id OAA04667; Sat, 25 Oct 1997 14:46:55 +0100 (BST) Message-Id: <199710251346.OAA04667@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Sigi cc: Brian Somers , freebsd-questions@FreeBSD.ORG Subject: Re: (2) UserPPP Problem by hang up In-reply-to: Your message of "Sat, 25 Oct 1997 09:27:56 BST." <1.1.25101997.092756.117.0.BC.0@mail.remsmurr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Oct 1997 14:46:55 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Hello Brian. > > >> > >> Hi Freaks. > >> > >> I have a problem on FreeBSD 2.2.2 my dial-in machine with UserPPP > >> from Toshiharu OHNO. "ttys" and "gettytab" and "ppplogin" and > >> "ppp.conf" are taken from an other machine with older FreeBSD I > want > >> to migrate from (there is all working fine). All is working > beatiful > >> but when the user dials in and then hangs up the ppp process didn't > >> notice that. The ppp goes off first at the timeout configured. > >> > >> Where must I look for to get this right handeld? > >> Thanks for answers. > > > >It's now fixed. You can download & build the latest ppp from: > > > > http://www.freebsd.org/~brian. > > I downloaded this morning and installed. Made all dial-in user to > group "network". And tested. IT'S THE SAME AS BEVOR !!! One thing is > better: the dialog of taking log-level and tun-device doesn't more > come up to the user, that's fine. BUT IF THE LINE GOES DOWN BY THE > USER, PPP WORKS AND WAITS UNTIL HIS TIMEOUT COMES UP. IT DOESN'T TAKE > ANY ACT OF THE LINE DOWN !!!??? > > >Make sure you read the README file :-) > > I did it. ;-) Now PPP works only with group "network". It maybe a > secure job, but I don't like it. I have a few groups of different > users wich I give several rights over the group define. That doesn't > work anymore! I don't understand the problem here. Being part of group network enables you to run ppp -direct and nothing else. It shouldn't interfere with any other setup. > >> Sigi. > >> > > > >-- > >Brian , , > > > >Don't _EVER_ lose your sense of humour.... > > Thanks. BUT IT DOESN'T WORK. How have you got things set up ? Are you exec'ing ppp - ie, the ppp -direct process should have a parent process id of 1. I'm assuming that this is over a modem link too. If you still can't get it working, send me the details. There's info in the FAQ http://www.freebsd.org/FAQ/userppp.html about what log levels to set etc. > Sigi. > Cheers. -- Brian , , Don't _EVER_ lose your sense of humour....