make sure that the one you enter fits your network setup and that the information is available on your network). When you have done this, you will need to save the file (With Ctrl + O) and exit the file (With Ctrl + X)
The next thing we need to do is set the DNS Servers. We do this by editing the following folder:

sudo nano /etc/resolvconf/resolv.conf.d/base

This file should be blank. You will need to add the following content.

nameserver 8.8.8.8
nameserver 8.8.4.4

Now, I would recommend rebooting so that changes can be taken in to affect. When you log back in, you can run the following to view your network information.