From owner-freebsd-questions Wed Feb 7 14:28:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.ruraltel.net (mail.ruraltel.net [24.225.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 87E1F37B6BA for ; Wed, 7 Feb 2001 14:28:27 -0800 (PST) Received: from darryl ([24.225.30.244]) by mail.ruraltel.net (Post.Office MTA v3.5.3 release 223 ID# 0-68608U15000L4100S0V35) with SMTP id net for ; Wed, 7 Feb 2001 16:27:43 -0600 Reply-To: From: "Darryl Hoar" To: Subject: RE: ppp problems. Date: Wed, 7 Feb 2001 16:31:25 -0600 Message-ID: <002d01c09155$b5036480$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010131183045.B30193@poeza.iconnect.co.ke> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry about the lag, I did an at&f0&w0 on the modem and that did not fix it. here is the contents of my ppp.conf: ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2 1999/08/27 23:24:08 peter Exp $ ################################################################# default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa0 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 4 0 CONNECT" set timeout 300 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns ruralnet: set phone 3465567 set authname ******* set authkey ******* I replaced the authname and authkey with stars to keep prying eyes away. I don't know what to do next. /var/log/ppp.log shows nothing when it gets in the hung state. No ping, etc. What test next ? thanks, Darryl * Darryl Hoar [20010131 18:25]: writing on the subject 'ppp problems.' Darryl> Greetings, Darryl> I have 4.0-release installed on a new box (K6-2 500, 128MB RAM). I have Darryl> an external US Robotics 56K modem attached to the new box. The phone Darryl> line runs through the corporate phone system. (IE, dial 9 to get an outside Darryl> line). Darryl> Darryl> I use userland ppp to manage the nat and the link (ie, ppp -auto -nat ....). Darryl> This Darryl> works fine most of the time. Darryl> Darryl> here's the problem: Darryl> Darryl> Several times during the day the modem link gets in an inconsistent state. Darryl> That Darryl> is, the lights show its connected, the transmit & receive lights flash, but Darryl> when Darryl> I log into the box and try to ping an internet ip address, it just hangs. Darryl> IE, no response. Darryl> Sometime I only need to power cycle the modem to clear the condition. Darryl> Sometimes, Darryl> I must manually stop/restart ppp. Darryl> Darryl> I need this to work "hands free" most of the time. Anyone got any ideas ? Darryl> Darryl> I have already looked at trying to test with a dedicated, ie not through the Darryl> phone system, line. Darryl> but due to the wiring this would be a major undertaking. So if there are Darryl> any other trouble shooting Darryl> steps, I want to take them first. Darryl> Darryl> BTW: ppp log file shows no errors. Try resetting the modem (via minicom or cu) to default factory settings. AT&F&WO Then tell us more and even let's see if something is strange in ppp.conf. I use the same modem as you and I have no problem at all. -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. A bachelor never quite gets over the idea that he is a thing of beauty and a boy for ever. -Helen Rowland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message