How I got the Internet connection working in Ubuntu server 14.03.

Posted: October 6, 2015. At: 8:56 PM. This was 2 years ago. Post ID: 8416
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

I installed Ubuntu server 14.03 in a Virtual Machine and after installation the Internet connection was not working. To fix this I added the nameservers to the /etc/resolv.conf file like this.

nameserver 8.8.8.8
nameserver 8.8.4.4

After saving this file, I ran this command.

sudo service resolveconf restart

This fixed the issue with the Internet connection in the Ubuntu server VM. This was an easy fix and allowed me to run sudo apt-get update and then sudo apt-get upgrade to update the installed system. And this persisted after a shutdown and startup. So this is what I recommend you try if you are also having issues with networking in Ubuntu server. It worked for me.

No comments have been made. Use this form to start the conversation :)

Leave a Reply