Re: CentOS and wireless, oh my
- From: mark <m.roth@xxxxxxxxx>
- Date: Thu, 10 Sep 2009 21:59:47 -0400
Johan Booysen wrote:
What chipset does you wireless card have?<snip>
It's got an Atheros set. The original install *seems* to have put in the ath5k driver... but no ath5k_pci.
Anyway, here's the deal:
1) configure /etc/wpa_supplicant/wpa_supplicant.conf.
Then, configure /etc/sysconfig/wpa_supplicant:
# Use the flag "-i" before each of your interfaces, like so:
# INTERFACES="-i eth1 -i wlan0"
# Use the flag "-D" before each driver, like so:
# DRIVERS="-D wext"
# DRIVERS="-D madwifi"
# Other arguments
# -u Enable the D-Bus interface (required for use with NetworkManager)
# -f Log to /var/log/wpa_supplicant.log
OTHER_ARGS="-u -f /var/log/wpa_supplicant.log"
Notice that in spite of it being atheros, I used the default wext driver (I never got the madwiki installed, anyway).
Then configure /etc/sysconfig/network-scripts/ifcfg-wlan0
# Atheros Communications Inc. AR2413 802.11bg NIC
Note that it gagged as long as I had SECURITYMODE set, which is why it's commented out.
Make sure NetworkManager's not running.
*Now*, start the daemon
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Bw
I think I need to modify /etc/init.d/wpa_supplicant, to add -w, so that it waits for you to bring up wireless with ifup wlan0
Do iwlist wlan0 scan. Among the info it tells you is what version of WPA, and the encryption type. Then I ran wpa_gui, and set the encryption (and I have yet to find out where *that* is written to), but the default is CCIT, I think, and if, as my network is, TKIP, you need to change that.
And make sure that you've typed the passphrase correctly... <g>
And *finally*, I restarted wlan... and it got an IP.
Ann Coulter: I'd like to be FDR, so I could not bring in the New Deal.
Al Franken: I'd like to be Hitler, so I could not bringthe Holocaust, and WWII, and....
redhat-list mailing list
- Prev by Date: Re: crontab automatically
- Next by Date: problem with virt-install --prompt
- Previous by thread: RE: CentOS and wireless, oh my
- Next by thread: Re: CentOS and wireless, oh my