ATrpms FC6 repo has both the madwifi and wpa_supplicant packages. Personally I use the latest madwifi drivers from source, but only out of habit. I am currently using the wpa_supplicant from atrpms though with no problem. I think I actually have a thread around here about how to set it up. The RPM from atrpms might just set everything up for you. You will have to put your proper WPA settings in /etc/wpa_supplicant.conf (I use the "WPA-PSK" section). If you can't get it working in short order I can give you more detailed information. I end up with my WPA settings /etc/wpa_supplicant.conf, my IP and wireless settings (ESSID, CHANNEL, etc) in my /etc/sysconfig/network-scripts/ifcfg-ath0. I manually add a line to the end of /etc/sysconfig/network-scripts/ifup-wireless for wpa_supplicant but this may get done automatically if you use the RPM. The line I add is:
Code: Select all
/usr/sbin/wpa_supplicant -iath0 -c/etc/wpa_supplicant.conf -Dmadwifi -wB
and in ifdown-wireless I put:
So basically when you have all your settings entered properly you can just "ifup ath0" and "ifdown ath0" just like any other interface. I've been doing it this way for a long time so if some of this is done automatically now in the RPMs let me know.
If you want to install the drivers from source (which only takes a few seconds assuming you have your proper kernel-headers and kernel-devel RPMs installed) just grab the latest snapshot:
http://snapshots.madwifi.org/madwifi-ng-current.tar.gz
Extract it and do a "make;make install". Should compile quickly and install. If all your other settings are complete you should be able to just insert your card (or turn it on) and it should automatically come up.
My ifcfg-ath0 looks like this:
Code: Select all
DEVICE=ath0
IPV6INIT=no
TYPE=Wireless
ONBOOT=yes
DHCP_HOSTNAME=voidslaptop
BOOTPROTO=dhcp
IWPRIV="mode 0"
ESSID=MySSID
USERCTL=yes
PEERDNS=yes
IPADDR=
DOMAIN=
NETMASK=
HWADDR=
GATEWAY=
CHANNEL=7
MODE=Managed
RATE=Auto
My wpa_supplicant.conf:
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="MySSID"
#psk="MyPSK"
psk=df633b4c71abc6b0dcfea46131e6469c5d9e5572c875c397467d815417441bcb
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
#priority=2
}