Open DNS, wireless 11.10ubuntu

Asked by Mark

Hi. Am trying to set up Open DNS as per the instructions at:- https://www.opendns.com/start?device=ubuntu
but all I get after following the instructions is:-

ifdown: interface eth0 not configured
Ignoring unknown interface eth0=eth0.

Has anyone else had a similar problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark
Solved:
Last query:
Last reply:
Revision history for this message
Qwerty Maniac (qwertymaniac) said :
#1

Its reporting so cause your Network Device is not referred to as eth0. Might be something else (Wireless ones sometimes have different names)

Doing that command is not so necessary, you can even reboot instead. Cause basically what ifdown and ifup do in sequence is to restart your Internet Networking.

Look into your Network applet under System > Admin. to find out what your device is called. It might even be eth1 or like that.

Or to avoid all these hassles, simply reboot and you're done setting up OpenDNS.

You can test your OpenDNS after reboot by visiting here:
http://www.opendns.com/buttons/

The 3rd buttons shows you're using OpenDNS if you're successfully using it.

Revision history for this message
Mark (mark-osborne1) said :
#2

Hi. Thanks for your input. I still can't use Open DNS. Could you do me a "walk-through" of all the steps I need to take?

Thanks

Mark

Revision history for this message
David Portwood (dzportwood) said :
#3

From a terminal, issue the command 'sudo pico /etc/resolv.conf' then remove any current entries and add the following 2 lines:
nameserver 208.67.222.222
nameserver 208.67.220.220
hit <crtl>+<x> to save and exit, then issue the command 'sudo /etc/init.d/networking restart'
You should now be using OpenDNS's DNS servers. This method ensures you use OpenDNS regardless of what your network interface is named.
Thanks,
David P.

Revision history for this message
Mark (mark-osborne1) said :
#4

David. Tried your suggestion, but unfortunately after rebooting things were back to where they started!

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Mark, to view what devices are on, please open your internet connection... and from terminal:
sudo ifconfig -a
copy and paste content here....
Thank you

Revision history for this message
David Portwood (dzportwood) said :
#6

We should also establish if you are using DHCP on your workstation, and if it is behind a router. If the answer to both is yes, then you should make the opendns changes in your router. Otherwise please lay out the network setup you use.

Revision history for this message
David Portwood (dzportwood) said :
#7

You could also just follow these instructions, then reboot, without worrying about what your network interface is named:
$ sudo cp /etc/resolv.conf /etc/resolv.conf.auto
$ sudo gedit /etc/dhcp3/dhclient.conf
# append the following line to the document
prepend domain-name-servers 208.67.222.222,208.67.220.220;
# save and exit

Revision history for this message
Mark (mark-osborne1) said :
#8

David. I think I hadn't input the new line correctly - as soon as I did it worked perfectly. Thanks for your help.

Revision history for this message
Duke555 (happyjoshua777) said :
#9

i have exactly the same problem.
i have followed all the steps in the thread above and i still cannot get OpenDNS to work.
i was wondering if anyone could please help.
below is what i get for: sudo ifconfig -a
=============================
eth0 Link encap:Ethernet HWaddr 00:19:b9:74:24:e7
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:21

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:328 errors:0 dropped:0 overruns:0 frame:0
          TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:26240 (26.2 KB) TX bytes:26240 (26.2 KB)

pan0 Link encap:Ethernet HWaddr 8e:2c:f0:fb:9a:a7
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ppp0 Link encap:Point-to-Point Protocol
          inet addr:174.147.214.163 P-t-P:68.28.113.69 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
          RX packets:6721 errors:3 dropped:0 overruns:0 frame:0
          TX packets:6983 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:6100356 (6.1 MB) TX bytes:1158808 (1.1 MB)

wlan0 Link encap:Ethernet HWaddr 00:19:7e:8c:3a:00
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr 00-19-7E-8C-3A-00-00-00-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

================
thank you :)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

@Duke55

Please don't append a new question on a already answered or marked as solved question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you