From: Gilles Espinasse Date: Thu, 11 Dec 2008 16:15:12 +0000 Subject: Re: PPP Recovery Message-Id: <1229012112.49413c902ea42@imp.free.fr> List-Id: References: <20958060.post@talk.nabble.com> In-Reply-To: <20958060.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ppp@vger.kernel.org Selon GauloisID : > > Hi all, > > I Would like to setup a permanent connection with a local rs232 GPRS modem. > I Use kernel 2.6.24 and PPP 2.4.4. > > My connection work fine (DNS, ICMP...), but sometimes my GPRS provider drop > my connection due to timeout, moving.... > > Is there any way to tell ppp that sent packet (TCP/UDP) have retransmission > timeout to indicate that the connection is dead ? In this case it would be > easy to re-negociate the link. > That's achieved by lcp options you could activate when starting the connection (if the server support that, it usually should). After lcp traffic has been interrupted a time defined by the combination of lcp options values, ppp session goes down and if persist option has been used, pppd restart the connection. Gilles