From owner-freebsd-questions Tue Feb 16 8:58:38 1999 Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09918 for ; Tue, 16 Feb 1999 08:58:32 -0800 (PST) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Tue, 16 Feb 1999 10:13:53 -0500 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB441A5EF5@site2s1> From: Christopher Michaels To: "'Andre Pekelaar'" , freebsd-questions@FreeBSD.ORG Subject: RE: ppp locking up Date: Tue, 16 Feb 1999 10:13:13 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is all assuming that you are using user ppp not pppd. > -----Original Message----- > From: Andre Pekelaar [SMTP:andre@mail.ct.paywise.co.za] > Sent: Tuesday, February 16, 1999 10:37 AM > To: freebsd-questions@FreeBSD.ORG > Subject: ppp locking up > > I have a FreeBSD 2.2.2 system installed as a dial-on-demand gateway > for mail (using sendmail) and internet browsing (using squid > as a proxy) between my Novell LAN and my ISP. I don't know much > about the system, as it was installed by my ISP and we mostly treat > it as an "appliance", although I did program on a SCO Unix system > more than 6 years ago. > > Most of the time it works fine, but some days the modem connection > just locks up -- if I telnet from my Win95 machine to the FreeBSD > box, and try to ping my ISP, there is no response. Also, the > line should drop after 2 or 3 minutes of inactivity, but something is > keeping the line open, because it will stay in this "locked up" state > for half-an-hour or more. > > Sometimes, going to the box and pulling the phone line out of the > wall and re-inserting it will fix the problem (the line drops, it > re-dials, presumably gets a cleaner connection, and life gets back to > normal). Other times, this gets another couple of minutes of life > if we're luck, and then it locks up again. > > Presumably, these problems are related to line noise and poor line > quality, but a couple of questions come to mind: > > 1) Is there a way to force ppp to drop the line, without me having to > walk across the room to unplug the phone line? ("reboot" works, but > I was hoping for a more subtle method) > You can kill ppp and restart it. Use ps -ax | grep ppp. Then kill the process #. Of course you'll need to know the command that is used to start ppp program in the 1st place. > 2) Why does the line stay open when there is no throughput? > If lqr is disabled this may happen. This is the setting that checks the line quality. This is disabled by default because under heavy load it could cause the modem to drop. Look for a line in the ppp.conf (/etc/ppp/ppp.conf) that says "disable lqr" change that to "enable lqr" > 3) Could this problem be related to an old release of FreeBSD? > Should I get my ISP to install a more up-to-date release of > either ppp or FreeBSD? I know this is an old release, but other than > this problem it mostly "ain't broke, so why fix it"? If I should > install a later release, which one? > I believe you would be best suited at the least to look at the latest version of ppp from http://www.awfulhak.org/ppp.html. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message