Date: Sat, 06 Dec 1997 14:54:00 +0000 From: Ruslan Shevchenko <Ruslan@Shevchenko.kiev.ua> To: Livio Mazzon <livio@mse.com.au> Cc: questions@freebsd.org Subject: Re: User PPP wont release the device Message-ID: <34896708.46F9D6D2@Shevchenko.kiev.ua> References: <1.5.4.32.19971207120534.00933c20@mse.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Livio Mazzon wrote: > 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. > > I've checked all the config files, they are the same as before... when they > were working. > > And no, I dont think its a cable problem, or modem config problem because if > the user logs in via a shell, the device is released properly to getty. > > This is now becoming critical for us. Any help would be greatly, greatly > appreciated. > We have the same problem. Our solution is script, which ping other side with period one minute, and if ping -c 2 ADDR return 1 --- kill process. > Thanks > > Livio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34896708.46F9D6D2>