Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 16:31:25 -0600
From:      "Darryl Hoar" <darryl@osborne-ind.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: ppp problems.
Message-ID:  <002d01c09155$b5036480$0701a8c0@darryl>
In-Reply-To: <20010131183045.B30193@poeza.iconnect.co.ke>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <darryl@osborne-ind.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002d01c09155$b5036480$0701a8c0>