Author Topic: OpenDNS and USB Broadband Modem  (Read 779 times)

kyle101au

  • Guest
OpenDNS and USB Broadband Modem
« on: August 03, 2010, 12:29:46 AM »
Hi folks,

I'm wondering if I can get some help with OpenDNS here. Nothing I do seems to be able to get opendns servers to stick in resolv.conf. I use a Huawei E169 modem with Virgin.

So far Ive tried the following:

-The obvious: The PCC control center, that doesn't work.

From Google and a search of the forum, I've also tried the following:

-Changed the /etc/resolvconf/resolv.conf.d/base file

-Commented out usepeerdns in everything I could find with respect to ppp0 and wvdial file in /etc/ppp/peers/options file in /etc/ppp/ etc.

-Changed:
PEERDNS=no in my /etc/sysconfig/network-scripts/ifcg-ppp0 file and in the /etc/ppp/pppoe.conf file.

Nothing seems to work. Its bizarre.

My specific question, if anyone knows, is: What files does the PCC control center modify when a 3g/gprs interface is created? Its clear to me that some sort of hard coded configuration is overwriting any attempt to set different dns servers, but I'm stumped as to which ones.

This is really bugging me. I have two laptops, a work Thinkpad and my Del. On the thinkpad, changing to opendns made a spectacular difference. Instead of waiting for upto 90 sec (I'm not kidding) for a webpage to load, it does it properly. Changing back to Virgins dns servers immediately gave me the same "waiting" problem. I tried this repeatedly. Virgins dns servers here in Oz, anyway, suck bigtime.

I want to do the same on the del. But how?

ps: I'm running the latest KDE/PCLOS fully updated.

Any help would be appreciated.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5337
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: OpenDNS and USB Broadband Modem
« Reply #1 on: August 03, 2010, 02:41:51 AM »
Hi folks,

I'm wondering if I can get some help with OpenDNS here. Nothing I do seems to be able to get opendns servers to stick in resolv.conf. I use a Huawei E169 modem with Virgin.

So far Ive tried the following:

-The obvious: The PCC control center, that doesn't work.

From Google and a search of the forum, I've also tried the following:

-Changed the /etc/resolvconf/resolv.conf.d/base file

-Commented out usepeerdns in everything I could find with respect to ppp0 and wvdial file in /etc/ppp/peers/options file in /etc/ppp/ etc.

-Changed:
PEERDNS=no in my /etc/sysconfig/network-scripts/ifcg-ppp0 file

I would expect to see something like this in my file

DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
METRIC=35
MII_NOT_SUPPORTED=no
USERCTL=yes
DNS1=208.67.222.222
DNS2=208.67.220.220

DOMAIN=findmoore.net
RESOLV_MODS=yes
WIRELESS_MODE=Managed
WIRELESS_ESSID=DYNISP-AP3
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes
DHCP_CLIENT=dhclient
DHCP_HOSTNAME=laptop.localhost.localdomain
NEEDHOSTNAME=no
PEERDNS=no
PEERYP=yes
PEERNTPD=no

Quote
and in the /etc/ppp/pppoe.conf file.

Nothing seems to work. Its bizarre.

My specific question, if anyone knows, is: What files does the PCC control center modify when a 3g/gprs interface is created? Its clear to me that some sort of hard coded configuration is overwriting any attempt to set different dns servers, but I'm stumped as to which ones.

This is really bugging me. I have two laptops, a work Thinkpad and my Del. On the thinkpad, changing to opendns made a spectacular difference. Instead of waiting for upto 90 sec (I'm not kidding) for a webpage to load, it does it properly. Changing back to Virgins dns servers immediately gave me the same "waiting" problem. I tried this repeatedly. Virgins dns servers here in Oz, anyway, suck bigtime.

I want to do the same on the del. But how?

ps: I'm running the latest KDE/PCLOS fully updated.

Any help would be appreciated.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15321
  • ┌∩┐(◕_◕)┌∩┐
Re: OpenDNS and USB Broadband Modem
« Reply #2 on: August 03, 2010, 03:49:23 AM »
I think I read somewhere on the forum that USB 3g modems may not be able to have the DNS numbers changed as its "kept" by the network.

I may well be wrong - I'll try and see if I can dig up the post to confirm - or not - as the case may be.....

Edit: Here's the post I was referring to - Andy had written it up.

Here
« Last Edit: August 03, 2010, 03:56:49 AM by menotu »
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

kyle101au

  • Guest
Re: OpenDNS and USB Broadband Modem
« Reply #3 on: August 03, 2010, 01:37:54 PM »
Hi YCT,

Thanks for the reply, but no that doesn't work. I did try that but the ppp file gets overwritten by some other program each time.

Hi Menotu, thanks for that, but it doesnt make sense. On my thinkpad, a work laptop, I have windows xp, that accepts dns changes without a murmur using the same e169 Huawei 3g modem. Also, even if the isp didnt allow a dns change, that shouldn't affect what I do on my dell PCLOS. It should just stop me getting online, not overwrite the config files since the config files are all root, theres no way any ISP can write to that.