Networking :: Atheros WLAN card do not work



Having same issue... ath0 works fine with WEP... can't figure out how to hook up WPA.

Do I need to rmmod any or all of the ath_ modules and then use ndiswrapper?

Okay, following fightie's first post from this thread, I've removed the ath modules in this order:

Code Sample
rmmod ath_pci
rmmod ath_rate_sample
rmmod ath_hal


Then I installed ndiswrapper (only needs to be done once):

Code Sample
ndiswrapper -i <file>.inf


Then I probed ndiswrapper (might need to do every boot):

Code Sample
modprobe ndiswrapper


Then I checked status (not necessary for functionality):

Code Sample
iwconfig
dmesg


Then I got WPA running, using this trimmed down configuration file (dots replaced by my settings):

Code Sample
network={
 ssid="...."
 psk="...."
}


The startup command for WPA:

Code Sample
wpa_supplicant -B dd -c <wpa_settings.conf> -i wlan0 -D ndiswrapper


Then I ran the GUI netcardconfig from the DSL Control Panel and assigned static IP... gateway and DNS servers came in automatically.  When I hit Apply and had the "reset next time" option ticked, the utility created /opt/wlan0.sh for me.

Finally, I added all of this to my /opt/bootlocal.sh as follows, using the wlan0.sh created for me:

Code Sample
# dynex cardbus wpa
rmmod ath_pci
rmmod ath_rate_sample
rmmod ath_hal
modprobe ndiswrapper
wpa_supplicant -B dd -c /home/dsl/config/wifi/wpa_supplicant_short.conf -i wlan0 -D ndiswrapper
/home/dsl/config/wifi/wlan0.sh &


Is there a boot code to disable the ath_ modeules from loading up?

Is there an advantage to leaving the ampersand after the execution of wlan0.sh?

If you add the modules to the blacklist file in /etc, they won't be loaded.. Don't remember the name of that file though, might be something like blacklist.modprobe

The advantage is that boot can continue while your wlan gets settings in the background, ie faster boot.

Does anyone know what the name of the blacklist file is please?

Thanks


original here.