Linux PPP protocol development
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: linux-ppp@vger.kernel.org
Subject: Re: PPP: "Re: IPCP with mobile ISP sometimes gives bogus DNS
Date: Thu, 10 Jul 2008 11:27:03 +0000	[thread overview]
Message-ID: <1215689223.16792.15.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0807091111210.11494@bugs.comnets.uni-bremen.de>

On Wed, 2008-07-09 at 11:42 +0200, Markus Becker wrote:
> Hi all,
> 
> several 3G cards (e.g. from Option) are reporting 10.11.12.13 as DNS 
> server, when they are not yet attached to a network, as you probably know, 
> see http://marc.info/?l=linux-ppp&w=2&r=1&s=bogus+DNS&q=b
> 
> There seem to be 2 possible solutions to this:
> 1) Patch PPP to accept MS-WINS settings and use high values for 
> ipcp-max-configure, ipcp-max-failure, ipcp-max-terminate and/or 
> ipcp-restart. See 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bugD5711 .
> (I am using the mentioned patch currently. Works fine for me.)
> 
> 2) Checking with AT command CGATT, whether the device is attached to a 
> network and only try to dial in when this is true. 
> (http://marc.info/?l=linux-ppp&m\x121305432406467&w=2)
> 
> In order to get this fixed, I have several questions:
> 
> a) The Debian bug report states, this has been sent upstream. Has upstream 
> accepted, denied or forgotten about it? Is there an upstream bugzilla for
> linux-ppp?
> 
> b) Marco, could this patch be part of the Debian package? Dan, how is this 
> done in Fedora?
> 
> c) Dan, could solution 2 be integrated into NM?

Yes, #2 is something we should be doing in NM (it's AT+CSS? for CDMA
cards).  The only icky part is that we'd have to open the serial device
when we aren't using it to periodically poll the card waiting for
association to the network.  Right now NM only opens the serial device
when it connects.  Not sure if that's something we care about, but we
probably shouldn't keep the serial device open all the time that the
card is plugged in and NM is active.

A periodic poll of the modem (every 10 or 15 seconds?) is probably a
good start here.  It would ask for association status, and if the modem
was associated, also ask for signal strength.

Dan


  parent reply	other threads:[~2008-07-10 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-09  9:42 PPP: "Re: IPCP with mobile ISP sometimes gives bogus DNS address" Markus Becker
2008-07-09 11:33 ` Marcus Better
2008-07-10  0:18 ` PPP: "Re: IPCP with mobile ISP sometimes gives bogus DNS James Cameron
2008-07-10 11:27 ` Dan Williams [this message]
2008-07-11 11:09 ` PPP: "Re: IPCP with mobile ISP sometimes gives bogus DNS address" Paulius Zaleckas

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=1215689223.16792.15.camel@localhost.localdomain \
    --to=dcbw@redhat.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