New Zealand ADSL Mailing List


Re: 3Com dual link disconnections under linux

From: List Server Account <lists_at_bagel.gen.nz>
Date: Sun, 18 Mar 2001 15:37:00 +1200 (NZST)
Message-ID: <Pine.LNX.4.20.0103181530460.25940-100000@bagel.gen.nz>

Has anyone out there tried throwing the "persist" option to pppd ?

>From "man pppd"
persist - Do not exit after a connection is terminated; instead try to
reopen the connection.

I don't _think_ this will have the desired affect, but it might. I have
very stable connections, and have it thrown in there somewhere, but then
again, I don't download that much from home, being that I have a fat,
underutilized connection at the office.

Cheers,
David Gottschalk
Web InterNet Ltd

On Sun, 18 Mar 2001, Roger Glendenning wrote:

> The story so far...
>
> Under linux with roaring penguin PPPoE software
> ( http://www.roaringpenguin.com/pppoe/ ), the 3Com dual link
> adsl modem likes to disconnect itself if it doesn't get any traffic
> for 15 seconds. There have been two solutions put forward for this:
>
> - Ping something every 14 seconds or so, e.g.
> ping -i 14 -q xxx.xxx.xxx.xxx > /dev/null &
>
> - Send LCP echo requests every 14 seconds or so. From /etc/ppp/pppoe.conf:
> # LCP echo interval and failure count.
> LCP_INTERVAL=14
> LCP_FAILURE=3
> # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
> PPPOE_TIMEOUT=80
>
> Both of these seem to work fine under moderate usage. Pinging has
> the disadvantage of annoying the server operators (maybe) and generating
> traffic (bad for those with traffic limits). So the LCP echo method
> is probably preferable.
>
> However, I have found that under heavy usage, that this method
> has a few problems. When I saturate my 128k Jetstart link, there is often
> no reply to three requests (LCP_FAILURE=3) and the modem disconnects. In
> one 12 hour period of heavy usage I was disconnected 28 times. I tried
> it out later just to be sure and got 6 disconnections in 2 hours (before
> I gave up).
>
> So I changed the settings to:
> LCP_INTERVAL=14
> LCP_FAILURE=6
> PPPOE_TIMEOUT=100
> and saturated the link (at least the download bit) for 12 hours. There
> was just one disconnection (after 5.5 hours). Seems like a big improvement.
> I hope this helps all the people out there, and I hope it helps me with
> the not-easily-resumable downloading.
>
>
> This message is part of the NZ ADSL mailing list.
> see http://unixathome.org/adsl/ for archives, FAQ,
> and various documents.
> To unsubscribe: send mail to majordomo@unixathome.org
> with "unsubscribe adsl" in the body of the message
>

This message is part of the NZ ADSL mailing list.
see http://unixathome.org/adsl/ for archives, FAQ,
and various documents.
To unsubscribe: send mail to majordomo@unixathome.org
with "unsubscribe adsl" in the body of the message
Received on Sun Mar 18 15:40:43 2001


This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:09 2006 EST