From owner-freebsd-questions Sun Dec 7 05:07:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA09094 for questions-outgoing; Sun, 7 Dec 1997 05:07:11 -0800 (PST) (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 FAA09079 for ; Sun, 7 Dec 1997 05:07:03 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.7) with ESMTP id NAA06924; Sun, 7 Dec 1997 13:04:59 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199712071304.NAA06924@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Livio Mazzon cc: questions@freebsd.org Subject: Re: User PPP wont release the device In-reply-to: Your message of "Sun, 07 Dec 1997 23:05:34 +1100." <1.5.4.32.19971207120534.00933c20@mse.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Dec 1997 13:04:59 +0000 From: Brian Somers Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have just upgraded an existing system from FreeBSD 2.1.6 to 2.2.5. It is > an ISP server that uses user-ppp to accept dial-ins from attached modems. > > Before the upgrade the ppp dial-ins worked fine! > > After the upgrade (finally got the machine going)....I now have a problem > where users can dial in, login and connect, and they properly get a ppp > session running. > > All routing etc is fine > > I use a script on connection to run exec /usr/sbin/ppp -direct. > > However, when the user hangs up, the modem disconnects, DCD drops, but the > PPP process stays attached to the port. The user stays logged onto the > system even though the physical connection has dropped. When the next > person logs in, the modem answers, but they never see the login prompt > (thats because the getty programme never gets the device, ppp is still > holding on to it!). This happens EVERY logon that uses PPP. Can you try the latest ppp from http://www.freebsd.org/~brian ? There was a problem in the 2.2.5 release where ppp shut itself down in a rather bad (read: incorrect) way. Alternatively, the line "set stopped 5" in your default section may solve the problem. [.....] > Thanks > > Livio > Cheers. -- Brian , , Don't _EVER_ lose your sense of humour....