From: Jelle de Jong <jelledejong@powercraft.nl>
To: linux-ppp@vger.kernel.org
Subject: ppp sometimes receives bogus dns with 3G hsdpa modems
Date: Tue, 20 Oct 2009 12:59:33 +0000 [thread overview]
Message-ID: <4ADDB435.20705@powercraft.nl> (raw)
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
------------------------------------------------------------------------
next reply other threads:[~2009-10-20 12:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 12:59 Jelle de Jong [this message]
2009-10-20 13:33 ` ppp sometimes receives bogus dns with 3G hsdpa modems 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
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=4ADDB435.20705@powercraft.nl \
--to=jelledejong@powercraft.nl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.