FS#17753 - [ppp] bogus DNS server problem with 3G modems
Attached to Project:
Arch Linux
Opened by Luis Miranda (luuuis) - Friday, 08 January 2010, 15:19 GMT
Last edited by Allan McRae (Allan) - Saturday, 02 June 2012, 11:55 GMT
Opened by Luis Miranda (luuuis) - Friday, 08 January 2010, 15:19 GMT
Last edited by Allan McRae (Allan) - Saturday, 02 June 2012, 11:55 GMT
|
Details
There is a known problem in core/ppp-2.4.4-9 which
Relevant excerpt from /var/log/messages.log: " Jan 8 15:14:09 xxxxxxxx pppd[1037]: pppd 2.4.4 started by root, uid 0 Jan 8 15:14:09 xxxxxxxx pppd[1037]: Using interface ppp0 Jan 8 15:14:09 xxxxxxxx pppd[1037]: Connect: ppp0 <--> /dev/ttyUSB0 Jan 8 15:14:09 xxxxxxxx pppd[1037]: CHAP authentication succeeded Jan 8 15:14:09 xxxxxxxx pppd[1037]: CHAP authentication succeeded Jan 8 15:14:09 xxxxxxxx kernel: PPP BSD Compression module registered Jan 8 15:14:09 xxxxxxxx kernel: PPP Deflate Compression module registered Jan 8 15:14:49 xxxxxxxx pppd[1037]: Could not determine remote IP address: defaulting to 10.64.64.64 Jan 8 15:14:49 xxxxxxxx pppd[1037]: local IP address 88.210.112.219 Jan 8 15:14:49 xxxxxxxx pppd[1037]: remote IP address 10.64.64.64 Jan 8 15:14:49 xxxxxxxx pppd[1037]: primary DNS address 10.11.12.13 Jan 8 15:14:49 xxxxxxxx pppd[1037]: secondary DNS address 10.11.12.14 " The patch from Paulius Zaleckas in this thread is reported to solve the problem: http://marc.info/?l=linux-ppp&m=121491316432652&w=2 Direct link to patch: http://marc.info/?l=linux-ppp&m=121491316432652&q=p3 References: https://bugzilla.redhat.com/show_bug.cgi?id=467004 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445711 https://bugs.launchpad.net/ubuntu/+source/ppp/+bug/258801 |
This task depends upon
What's happening is that the addresses for the primary and secondary DNS addresses are bogus, and do not correspond to the addresses handed out by the ISP (10.11.12.13 and 10.11.12.14). Sometimes pppd gets the correct addresses, and other times not (as in the log above).
Apparently this is caused by pppd requesting the info from the 3G modem before they have been handed out by the ISP (for more details see the bugs in the references part of this report).
Do you use NetworkManager?
Has anyone submitted this patch upstream? If so, any reason we shouldn't include it?
If not, I'll do that in the next few weeks.
Plus the Debian bug report marks this af fixed upstream: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445711#97 not by one of their patches.