Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Dec 1997 13:04:59 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        Livio Mazzon <livio@mse.com.au>
Cc:        questions@freebsd.org
Subject:   Re: User PPP wont release the device 
Message-ID:  <199712071304.NAA06924@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sun, 07 Dec 1997 23:05:34 %2B1100." <1.5.4.32.19971207120534.00933c20@mse.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712071304.NAA06924>