🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54251

Re: How do I keep PPP alive

#54251
From: Jonathan Wilkie-Snow
Date: Tue, 18 Nov 1997 00:00
42 lines
2177 bytes
Paul Wilkins wrote:

> Health Communication Network wrote:
> >
> > Hi all,
> >
> > I have a linux machine that serves a room full of pcs for net access.
> >
> > I would like to know how to keep the PPP connection alive. The machine
> > now may be a 24 hour link but the modem drops carrier from time to time.
> >
> > Is it possible to get it to redail and connect ppp again when it dies?
> >
> > It is Redhat linux
>
> One way to do this is install diald, and then ping upstream every so
> often. The time you choose is best large than small, if for some reason
> the modem at the other end answers but dosen't connect, your phone bill
> can go through the roof.
>
> Cheers
>
> Paul

Peter,

You can use the "persist " option in pppd to redial but as Paul mentioned
this could be at your expense. I would be looking at setting the modem up a
little better by setting things like the delay between loss of carrier and
hangup to assume the connection is always there. This will ignore gliches on
the line which may terminate your link. On my modem this is S10=255. There
are other settings which may help like variable speed settings etc. To stop
the modem the other end timing you out, ping is probably one of the best
ways, -> ping -i 300 host.xx.xx . I would try to ping the P-t-P connection
address rather than some other machine past this point for more reliability.
For example in my situation the router is a bit lame the other side of this
point and sometimes siezes up for a while. For some reason ping stops sending
after a while if it cannot reach a machine and the connection drops.

Jon
jwilkie@turing.une.edu.au
Technical Details
Message-ID: <34711CD0.E8F3DA2A@turing.une.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3470E166.54FACE1F@hcn.net.au> <347109EF.3FEB86F2@tmpw.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,12c69a36b12dea3
X-Google-Attributes: gid102983,public
From: Jonathan Wilkie-Snow <jwilkie@turing.une.edu.au>
Subject: Re: How do I keep PPP alive
Date: 1997/11/18
Message-ID: <34711CD0.E8F3DA2A@turing.une.edu.au>
X-Deja-AN: 290362073
References: <3470E166.54FACE1F@hcn.net.au> <347109EF.3FEB86F2@tmpw.com.au>
Organization: University of New England, NSW, Australia
Reply-To: jwilkie@turing.une.edu.au
Newsgroups: aus.computers.linux