🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #536

Re: ppp woes

#536
From: James Carlson
Date: Wed, 20 Mar 2002 12:27
53 lines
2905 bytes
Bob Wightman <Bob@pattindaughter.demon.co.uk> writes:
> Mar 19 20:52:26 linux pppd[780]: local  IP address 158.152.147.15
> Mar 19 20:52:26 linux pppd[780]: remote IP address 158.152.1.222

Up to here, the establishment is pretty normal.

> Mar 19 20:54:22 linux pppd[780]: sent [LCP EchoReq id=0x4
> magic=0xb31984a5]
> Mar 19 20:54:52 linux pppd[780]: sent [LCP EchoReq id=0x5
> magic=0xb31984a5]
> Mar 19 20:55:22 linux pppd[780]: No response to 4 echo-requests

Something bad happened to either the underlying physical link or the
peer's PPP implementation.  There are a few suspects, though:

> Here is /etc/ppp/options
[...]
> lcp-max-configure 60
> lcp-restart 2

Are you sure you need those?  That looks like excessive tuning to me.
(This almost certainly isn't the cause of the problem, but it's
strange.)

> asyncmap  200a0000

That doesn't match what the peer is asking for (0).  There are enough
broken implementations in the world now that asking for exactly the
same ACCM that you get from the peer is really the best way to go.
Just remove this line -- the default is 0 anyway.

> Here is my chat-script:
> 
> ABORT BUSY
> ABORT "NO CARRIER"
> "" ATZ
> OK ATDT08452120666
> CONNECT ""

That doesn't look good.  You don't configure the modem at all.  Are
you *SURE* that the profile restored by "ATZ" is exactly the right one
for PPP?

In most cases, something like "AT&F1" or "AT&F&C1&D2" works right.
You may also need to set "ATS2=255".

I suspect that the modem has some form of software flow control
enabled by default, and that's what's causing the link failure.

-- 
James Carlson, Solaris Networking         <james.d.carlson@east.sun.com>
SUN Microsystems / 1 Network Drive         71.234W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.497N   Fax +1 781 442 1677
Technical Details
Message-ID: <xoavelifpgpb.fsf@sun.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!denver-snf1.gtei.net!news.gtei.net!namche.sun.com!news2me.EBay.Sun.COM!sunnews1.Eng.Sun.COM!engnews1.eng.sun.com!not-for-mail
References: <YqW2uQCBf7l8EwxT@pattinson.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108f6a,e6f14bb1f758c59e
X-Google-Attributes: gid108f6a,public
X-Google-Thread: 10669a,e6f14bb1f758c59e
X-Google-Attributes: gid10669a,public
X-Google-ArrivalTime: 2002-03-20 04:42:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!denver-snf1.gtei.net!news.gtei.net!namche.sun.com!news2me.EBay.Sun.COM!sunnews1.Eng.Sun.COM!engnews1.eng.sun.com!not-for-mail
From: James Carlson <james.d.carlson@sun.com>
Newsgroups: comp.os.linux.networking,demon.ip.support.unix
Subject: Re: ppp woes
Date: 20 Mar 2002 07:27:28 -0500
Organization: Sun Microsystems Inc. - BDC
Lines: 53
Message-ID: <xoavelifpgpb.fsf@sun.com>
References: <YqW2uQCBf7l8EwxT@pattinson.demon.co.uk>
NNTP-Posting-Host: phorcys.east.sun.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Home-Page: http://people.ne.mediaone.net/carlson/
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1