From owner-freebsd-questions Mon Jul 7 01:08:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA01983 for questions-outgoing; Mon, 7 Jul 1997 01:08:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA01974 for ; Mon, 7 Jul 1997 01:08:06 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.6/8.8.5) with ESMTP id BAA26251 for ; Mon, 7 Jul 1997 01:07:37 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.6/8.8.5) with ESMTP id IAA19288; Mon, 7 Jul 1997 08:39:13 +0100 (BST) Message-Id: <199707070739.IAA19288@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: "Stan Brown" cc: freebsd-questions@freebsd.com (Free BSD Questions list) Subject: Re: ijppp hanging In-reply-to: Your message of "Sun, 06 Jul 1997 09:32:40 EDT." <199707061332.GAA21638@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Jul 1997 08:39:13 +0100 From: Brian Somers Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > After *months* of rock solid use of my FreeBSD as the gateway for my > network tothe local ISP, and thus to the world. I Have developed a > problem. I am runing 2.2-STABLE. uinsg user mode ppp, and a US R > sporster 33.6, auto dialiang and alliasing. None of this has change > since Christmas (well maybe the FreeBSD version, but even that hasn't > changed recently, not even cvsuped in a month or so). > > What is happeneing is tha about once a day ppp is hanging while trying > to connect. it is well and truly hung requiting a kill -9 to kill it. > Wen I find thesystem in this mode ppp is using 90+ percent of the CPU. > The TR and CS lights are on on the modem. the ppp log always indicates > the exect same place in the chat script as follows: > > > 07-06 00:12:03 [199] Phase: Dead > 07-06 00:33:00 [199] Dial attempt 1 > 07-06 00:33:00 [199] Expecting > 07-06 00:33:00 [199] sending: AT+FCLASS=0&H1&I0&R2 > 07-06 00:33:00 [199] Expecting OK > 07-06 00:33:00 [199] Wait for (5): OK --> OK > 07-06 00:33:00 [199] sending: ATE1Q0 > 07-06 00:33:00 [199] Expecting OK-AT-OK > 07-06 00:33:00 [199] Wait for (5): OK --> OK > 07-06 00:33:00 [199] Phone: 8530856 > 07-06 00:33:00 [199] sending: ATDT8530856 > 07-06 00:33:00 [199] Expecting CONNECT > 07-06 00:33:00 [199] Wait for (40): CONNECT --> CONNECT > 07-06 00:33:24 [199] Expecting name>-\r-name> > 07-06 00:33:24 [199] Wait for (5): name> --> name> > > What *has* changed is that I am calling a new phone number at the ISP. > Among ohter things it does not issue anything after themodems connect > untill I send a \r. The old number used to prompt for a username > imediatly after connect. I have also heard others complain about lack > of ring tone, and some strange fail to connect, or get busy tones. Try sending the \r like this: set login "TIMEOUT 15 login:-\\r-login: awfulhak word: \\P ocol: PPP HELLO" My ISP sends login: password: and protocol: then says HELLO. If I don't get the login: prompt after 15 seconds, I send a \r and wait again. > Having said that it seems to me that whatever the ISP is doing, ijppp > should not become hung in thisway. Should it not time out at this > point? Is there any circumstabce under which it should *not* time out? Try "set openmode active". This is now the default. > -- > Stan Brown stanb@netcom.com 404-996-6955 > Factory Automation Systems > Atlanta Ga. > -- > Look, look, see Windows 95. Buy, lemmings, buy! > Pay no attention to that cliff ahead... Henry Spencer > (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. -- Brian , Don't _EVER_ lose your sense of humour....