No internet connection after Ubuntu 12.04 upgrade (Solved)

May 6, 2012

No internet connection after Ubuntu 12.04 upgrade? Here is what I did to solve the problem. After I upgraded from Ubuntu 11.10 to ubuntu 12.04 I had no internet connection not wired or wireless. Here is the symptoms and how I solved them:

Something wicked happend…

After the Ubuntu 12.04 upgrade I noticed that XBMC was missing, while this may be unrelated I wanted to reinstall it using apt-get install xbmc xbmc-standalone in the terminal. This echoed the following message

Something wicked happened resolving ‘dk.archive.ubuntu.com:http’ (-5 – No address associated with hostname)

So I googled around and found that the problem lies with the wvdial package, which is uninstalled during the upgrade. So to solve the problem I simply had to reinstall that package. As I could not access the internet wired to a router or connected wireless – I had to use my 3g dongle. This turned out not to be a problem, so to solve the problem:

No internet connection after Ubuntu 12.04 upgrade

In the terminal write

sudo apt-get install wvdial

After the installation I tried to connect to the internet through a wired and a wireless connection, and had no problem.

If you are not as lucky as me to have a 3g dongle, simply download the package to a USB from here http://www.ubuntuupdates.org/package/core/precise/main/base/wvdial, and installed it using this command

dpkg -i wvdial_1.61-4build1_i386.deb

Update: If this is not working, you might want to try to add a DNS server. Thanks to Alan for point this out.

Tags: , , ,

6 Comments

  1. Joel Tamundong says:

    apt-get, i thought this command will download something from the net? errr how can i download anything if the problem is the net?

    • Philip says:

      Thats correct, but as I also stated, I used my 3g Dongle to connect to the internet. The problem here is that I cant connect to the internet using my wifi or wired connection.

      Use the link in the post to download the package to a USB and install it from there.

      Good luck.

      /Phil

  2. Irving says:

    Hi i need help on dpkg it. I get and error processing the .deb file it cannot access the archive no such file or directory

    • Philip says:

      Could you provide a little more information to clarify what exactly the problem is? I have no problem downloading the .deb packages from the link that I provided. So Im not sure which archive you are referring to?

      To be able to help you, please be a bit more specific :)

  3. alan says:

    Thanks for your advice, I just wanted to mention that in my case, I also had to edit /etc/resolv.conf and add:
    nameserver 8.8.8.8
    nameserver 8.8.4.4

    not sure why…

Leave a Comment