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

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.4nameserver 8.8.8.8 nameserver 8.8.4.4 After saving this file, I ran this command. sudo service resolveconf restartsudo service resolveconf restart This fixed … Read more