WPA configuration Linux Server


Recommended Posts

Hi guys,

Linux newbie here. Running a server with Ubuntu server os. I've now moved to uni - got a router which works fine - I've now got a wireless card for my server and need to setup WPA to work with our router. When i run the commands:

sudo wpa_supplicant -wlan0 -c/etc/wpa_supplicant.conf

sudo dhclient wlan0

I can seem to connect to the internet and all seems good.

However when i insert the following into my interfaces file:

auto wlan0

iface eth1 inet static

address:192.168.1.205

gateway:192.168.1.1

netmask:255.255.255.0

up wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Bw

down killall wpa_supplicant

I cant seem to ping google and dont seem to be connected.

Looking at: sudo iwconfig wlan0 shows that the essid is blank.

Any thoughts? This is driving me nuts!

Cheers,

greg

Link to comment
Share on other sites

  • 3 weeks later...

I remember reading that some of the wireless chipset drivers are broken when enabling WPA/WPA2, and only support unencrypted wireless at the moment. You can try using ndiswrapper to enable a fully support Windows driver to provide WPA/WPA2 support in Linux.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.