No address associated with hostname error

Posted: March 1, 2011 in Helpful Techie Things, Something's Just Not Right, Here..

I got a new modem today (yay!) after the old Motorola one I had was slower than dirt..okay I dropped it a couple of times.  So now I have this new 2wire modem/router dealie thingie and it even came with instructions that were oh-so-simple to use.  After (literally) 3 minutes I was up and going again.

So I was enjoying my faster connection when I tried to update my Mint system.  So imagine my surprise when I get this output:

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/lucid/Release.gpg Something wicked happened resolving ‘archive.canonical.com:http’ (-5 – No address associated with hostname)

W: Failed to fetch http://ppa.launchpad.net/am-monkeyd/nautilus-elementary-ppa/ubuntu/dists/lucid/Release.gpg Something wicked happened resolving ‘ppa.launchpad.net:http’ (-5 – No address associated with hostname)

W: Failed to fetch http://packages.medibuntu.org/dists/lucid/Release.gpg Something wicked happened resolving ‘packages.medibuntu.org:http’ (-5 – No address associated with hostname)

E: Some index files failed to download, they have been ignored, or old ones used instead.

“Something wicked?”  Well, that’s a new one.  I have on occasion had to go and manually update keys for Opera or another 3rd party repository but I have never had this problem with the main Ubuntu repos.  I figured immediately that something about my new modem wasn’t quite right so I googled and in the wonderful Ubuntu Help Forums, I found the answer..so here’s the steps to follow:

  • EITHER click on Control Center (from the menu) and click Network Connections or right click on the NetworkManager Applet and click on Edit connections. (2 ways to get to the same place)
  • For a wired connection:  highlight the name of the connection (e.g. Auto eth0) and click edit.  Click on the IPv4 tab.
  • Change the method from Automatic (DHCP) to Automatic (DHCP) addresses only.  At the bottom, enter in the 3rd party DNS server.  An easy example is Google.  Theirs is 8.8.8.8 Just enter the part I put in bold in the DNS servers box (if there is two addresses, separate them with a comma).  Click apply.

A great place to get a 3rd party DNS is through OpenDNS.  Use them and you can get a free account, which comes with some nice safety features.  All you have to do is go to OpenDNS Basic and follow their easy instructions..don’t forget to check your email for the confirmation link.  Many features won’t work til you confirm the account.

Advertisements
Comments
  1. […] check out my fix here I don’t know if this error is distro or version specific or if it was entirely due to my new […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s