I thought wpa_passphrase just encrypted the phrase in the conf file so that it wasn't directly visible. I was going to do that after I got it working. I know I'm close. The system sees the nic. The ath9k and mac80211 kernel modules are loaded:
lsmod | grep ath9k
Module Size Used by
ath9k 299893 0
mac80211 183617 1 ath9k
ath 43585 1 ath9k
cfg80211 191113 3 ath9k,mac80211,ath
In /etc/sysconfig/network-scripts/ifcfg-wlan0 I have:
MODE=Master (I think I need to change this to Managed)
My router has channel set to auto and I am using WPA2. Do I need to just select a channel in ifcfg-wlan0?
In my /etc/sysconfig/wpa_supplicant file I have:
OTHER_ARGS="-w -K -d -u -f /var/log/wpa_supplicant.log"
My /etc/wpa_supplicant/wpa_supplicant.conf has:
I'm not sure the scan_ssid should be set to 1. I have my ssid invisible.
I'm pretty sure it is talking to the router, just not receiving an ip address. I'll do some more research and check out the wpa_passphrase.