This question already has an answer here:

I just isntalle ubuntu server 14.04.2, in the installation process i could easily choose the network name from a list and typed the password. After the installation i saw that Im not connected to the internet. It would be great if you tell me how to connect to the internet (noob version please :) ).

marked as duplicate by chili555, Panther, Pilot6, Mitch Jun 21 '15 at 7:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can do this via system start using the /etc/network/interfaces configuration.

From terminal,

sudo nano /etc/network/interfaces

To setup dynamic addresses:

auto wlan0
iface wlan0 inet dhcp

To setup static addresses:

auto wlan0
iface wlan0 inet static

Input your credentials:

wpa-ssid <network>
wpa-psk <password>

For static addresses you can supply:

address <address>
netmask <netmask>
gateway <gateway>
dns-nameservers <nameserver1>, <nameserver2>

Final result:

auto wlan0
iface wlan0 inet static
wpa-ssid NETGEAR
wpa-psk password
  • Netmask is incorrect and also no DNS nameservers listed as required. – chili555 Jun 20 '15 at 22:26
  • Fixed to your liking.. ;) – woahguy Jun 20 '15 at 23:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.