I'm using Ubuntu Server and trying to set my connection to have a static IP, instead of a dynamic one. However, whenever I enter this into /etc/network/interface
auto wlan0 iface wlan0 inet static address 192.168.1.68 netmask 255.255.255.0 gateway 192.168.1.64
My server can't connect to the internet. Running something like sudo apt-get upgrade, gives errors because I'm not connected to the internet. What's wrong with this?