Ubuntu – Ubuntu 14.04 Server – WiFi WPA2 Personal

networkingserverwireless

I just installed Ubuntu 14.04 Server and cannot get wifi configured correctly to work with WPA2 personal and could use some help.

There was a simple wizard during install where I selected my SSID from a list and entered my passphrase and that worked great. Now that the install is done I am having trouble configuring wifi. My Access Point is setup to WPA2 Personal TKIP or AES. Any advice would be greatly appreciated. I have been messing around with WPA supplicant ant my /etc/network/interfaces file with no luck.

Thanks

Best Answer

  • I suggest you set up /etc/network/interfaces something like:

    auto lo
    iface lo inet loopback
    
    auto wlan0
    iface wlan0 inet static
    address 192.168.1.150
    netmask 255.255.255.0
    gateway 192.168.1.1
    wpa-ssid <your_router>
    wpa-psk <your_wpa_key>
    dns-nameservers 8.8.8.8 192.168.1.1
    

    Be sure to select a static address outside the range used by the DHCP server in the router, switch or other access point. Of course, substitute your details here.

    Get the system to read and use the changes:

    sudo ifdown wlan0 && sudo ifup -v wlan0
    

    Did you connect?

    ping -c3 192.168.1.1
    ping -c3 www.google.com
    
  • Related Question