Could someone give me the steps (script) to setup iwlwifi for WPA. I
have iwlwifi installed from the Fedora repositories and wpa_supplicant
as well.
After I bring up ath0, I am able to scan for running AP's using iwlist
but can not seem to connect to an AP that using WPA encryption. I
have created a /etc/wpa_supplicant/wpa_supplicant.conf file using /
usr/sbin/wpa_supplicant
I imagine I am not creating the interface correctly or setting it to
use the appropriate drivers. Could someone list the commands that
have worked for them to set up ath0 and the gateway properly?
Currently I do the following when I try to destroy any currently
running interface and connect to the wireless AP:
--- StartupScript ---
/sbin/ifconfig ath0 down
/sbin/ifconfig wifi0 down
/usr/local/bin/wlanconfig ath0 destroy
/usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
nosbeacon
/sbin/ifconfig ath0 up
/usr/sbin/wpa_supplicant -Bw -Dipw -iath0 -c/etc/wpa_supplicant/
wpa_supplicant.conf
/sbin/iwconfig ath0 ap "00:18:4D:96:B5:8E"
/sbin/ifconfig ath0 192.168.0.2 netmask 255.255.255.0 up
/sbin/route add default gw 192.168.0.210
|