linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Timo Teräs" <ext-timo.teras@nokia.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Detecting end of GSM datacall
Date: Mon, 18 Apr 2005 13:34:09 +0000	[thread overview]
Message-ID: <4263B751.80907@nokia.com> (raw)
In-Reply-To: <426384B8.6050809@nokia.com>

ext Steve Drew wrote:
> 	I've had a similar issue with the Nokia mobiles I've been using, the workaround I've used is to put
> 
> lcp-echo-interval 4
> lcp-echo-failure 2
> 
> into the my /etc/ppp/options file.

Yes, this goes as a work around if the remote server supports lcp-echo. 
It also adds slight delay to the detection of the link going down. But 
I'd really like to have a proper fix for this. Any suggestions how to do 
that?

Is my only change to modify ppp_async_input() to detect this 'NO 
CARRIER' sequence and have it generate a LCP termination packet? Or is 
there some function that can be called to terminate the PPP link? Would 
this kind of solution be accepted the official kernel tree?

Cheers,
   Timo

  parent reply	other threads:[~2005-04-18 13:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18  9:58 Detecting end of GSM datacall Timo Teräs
2005-04-18 13:25 ` Steve Drew
2005-04-18 13:34 ` Timo Teräs [this message]
2005-04-18 14:38 ` Jar
2005-04-18 21:19 ` Clifford Kite
2005-04-18 21:40 ` Herbert Xu
2005-04-19 14:37 ` Clifford Kite
2005-04-20  0:28 ` Paul Mackerras
2005-04-20 11:11 ` Timo Teräs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4263B751.80907@nokia.com \
    --to=ext-timo.teras@nokia.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).