linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ppp sometimes receives bogus dns with 3G hsdpa modems
@ 2009-10-20 12:59 Jelle de Jong
  2009-10-20 13:33 ` Milan P. Stanic
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jelle de Jong @ 2009-10-20 12:59 UTC (permalink / raw)
  To: linux-ppp

Hello everybody,

I am having some question on why my hdspa ppp connection sometimes but 
not always receives a bogus dns server (10.11.12.13). That causes DNS 
resolving to break.

So I know there are several things I can use as workaround like using 
resolvconf or disable the domain-name-servers request in the dhclient.conf.

I am using Debian stable with ppp version 2.4.4rel-10.1

But I would like to see what the experts think what causes these issues 
and what would be the best solution?

This system connection should try to stay persistent connected no matter 
what.

Thanks in advance,

Jelle

I included my setup below:

------------------------------------------------------------------------

echo "vodafone  *   vodafone" | sudo tee /etc/ppp/pap-secrets
echo "vodafone  *   vodafone" | sudo tee /etc/ppp/chap-secrets

------------------------------------------------------------------------

echo 'TIMEOUT 3
ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "VOICE"
ABORT "NO DIALTONE"
ABORT "NO DIAL TONE"
ABORT "NO ANSWER"
ABORT DELAYED
"" ATZ
OK ATQ0&FEV1X1S0=0&C1&D2
OK AT+CGDCONT\x16,"IP","office.vodafone.nl"
OK ATDT*99***16#
CONNECT ""' | sudo tee /etc/chatscripts/mobile-vodafone.chat

echo '/dev/ttyUSB0
7200000
user vodafone
connect "/usr/sbin/chat -v -f /etc/chatscripts/mobile-vodafone.chat"
#crtscts
#modem
#noccp
#nobsdcomp
#novj
#lock
#hide-password
noauth
usepeerdns
noipdefault
#mtu 1492
mtu 1412
persist
maxfail 0
holdoff 20
defaultroute replacedefaultroute' | sudo tee /etc/ppp/peers/mobile-vodafone

------------------------------------------------------------------------

cat /etc/network/interfaces
auto lo
   iface lo inet loopback

auto ppp0
   iface ppp0 inet ppp
   provider mobile-vodafone

------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ppp sometimes receives bogus dns with 3G hsdpa modems
  2009-10-20 12:59 ppp sometimes receives bogus dns with 3G hsdpa modems Jelle de Jong
@ 2009-10-20 13:33 ` Milan P. Stanic
  2009-10-20 13:48 ` Charlie Brady
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Milan P. Stanic @ 2009-10-20 13:33 UTC (permalink / raw)
  To: linux-ppp

On Tue, 2009-10-20 at 14:59, Jelle de Jong wrote:
> I am having some question on why my hdspa ppp connection sometimes
> but not always receives a bogus dns server (10.11.12.13). That
> causes DNS resolving to break.
> 
> So I know there are several things I can use as workaround like
> using resolvconf or disable the domain-name-servers request in the
> dhclient.conf.
> 
> I am using Debian stable with ppp version 2.4.4rel-10.1
> 
> But I would like to see what the experts think what causes these
> issues and what would be the best solution?
> 
> This system connection should try to stay persistent connected no
> matter what.

Look here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bugD5711

There are more references on that matter on the Net. And is discussed
here some time ago.

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ppp sometimes receives bogus dns with 3G hsdpa modems
  2009-10-20 12:59 ppp sometimes receives bogus dns with 3G hsdpa modems Jelle de Jong
  2009-10-20 13:33 ` Milan P. Stanic
@ 2009-10-20 13:48 ` Charlie Brady
  2009-10-20 14:36 ` Jelle de Jong
  2009-10-20 14:52 ` Milan P. Stanic
  3 siblings, 0 replies; 5+ messages in thread
From: Charlie Brady @ 2009-10-20 13:48 UTC (permalink / raw)
  To: linux-ppp


On Tue, 20 Oct 2009, Jelle de Jong wrote:

> I am having some question on why my hdspa ppp connection sometimes but not 
> always receives a bogus dns server (10.11.12.13). That causes DNS resolving 
> to break.

Check archives of this list.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ppp sometimes receives bogus dns with 3G hsdpa modems
  2009-10-20 12:59 ppp sometimes receives bogus dns with 3G hsdpa modems Jelle de Jong
  2009-10-20 13:33 ` Milan P. Stanic
  2009-10-20 13:48 ` Charlie Brady
@ 2009-10-20 14:36 ` Jelle de Jong
  2009-10-20 14:52 ` Milan P. Stanic
  3 siblings, 0 replies; 5+ messages in thread
From: Jelle de Jong @ 2009-10-20 14:36 UTC (permalink / raw)
  To: linux-ppp

Milan P. Stanic wrote:
> On Tue, 2009-10-20 at 14:59, Jelle de Jong wrote:
>> I am having some question on why my hdspa ppp connection sometimes
>> but not always receives a bogus dns server (10.11.12.13). That
>> causes DNS resolving to break.
>>
>> So I know there are several things I can use as workaround like
>> using resolvconf or disable the domain-name-servers request in the
>> dhclient.conf.
>>
>> I am using Debian stable with ppp version 2.4.4rel-10.1
>>
>> But I would like to see what the experts think what causes these
>> issues and what would be the best solution?
>>
>> This system connection should try to stay persistent connected no
>> matter what.
> 
> Look here:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bugD5711
> 
> There are more references on that matter on the Net. And is discussed
> here some time ago.

Thank you both Milan and Charlie,

The hyperlink confirmed some earlier searching about the issue.

I do have some questions. It seems Ubuntu made some patches for there 
ppp version that they think should present a solutions.

However these patches seems not to be included in Debian or by you guys 
upstream, why is this?

see:
https://bugs.launchpad.net/ubuntu/+source/ppp/+bug/258801/comments/63

I am now going to test the connect-delay 5000 option that was also 
presented in some Debian bug comments.

Best regards,

Jelle

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ppp sometimes receives bogus dns with 3G hsdpa modems
  2009-10-20 12:59 ppp sometimes receives bogus dns with 3G hsdpa modems Jelle de Jong
                   ` (2 preceding siblings ...)
  2009-10-20 14:36 ` Jelle de Jong
@ 2009-10-20 14:52 ` Milan P. Stanic
  3 siblings, 0 replies; 5+ messages in thread
From: Milan P. Stanic @ 2009-10-20 14:52 UTC (permalink / raw)
  To: linux-ppp

On Tue, 2009-10-20 at 16:36, Jelle de Jong wrote:
> I do have some questions. It seems Ubuntu made some patches for
> there ppp version that they think should present a solutions.
> 
> However these patches seems not to be included in Debian or by you
> guys upstream, why is this?

This question is for Debian maintainer of ppp (or other ppp modules)
package. They should know right answer.

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-20 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 12:59 ppp sometimes receives bogus dns with 3G hsdpa modems Jelle de Jong
2009-10-20 13:33 ` Milan P. Stanic
2009-10-20 13:48 ` Charlie Brady
2009-10-20 14:36 ` Jelle de Jong
2009-10-20 14:52 ` Milan P. Stanic

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).