john.martzouco
Group: Members
Posts: 253
Joined: Nov. 2007 |
|
Posted: Dec. 08 2007,20:42 |
|
This card works out of the box with the ath modules. I'm not sure it's possible to use the ath modules with WPA. Also, the ath modules taint the kernel (not sure what this means).
The following describes how to set it things up to use WPA with ndiswrapper. WEP installation information can be found here.
First, unload the ath modules in this order:
Code Sample | rmmod ath_pci rmmod ath_rate_sample rmmod ath_hal
|
Next, install ndiswrapper (only needs to be done once):
Code Sample | ndiswrapper -i net5211.inf
|
Probe ndiswrapper:
Code Sample | modprobe ndiswrapper
|
Check status (not necessary for functionality, but for your piece of mind):
Code Sample | iwconfig dmesg
|
Build your WPA config file, using this trimmed down configuration file (ellipses replaced by your settings). I named my config file wpa_supplicant_short.conf:
Code Sample | network={ ssid="..." psk="..." }
|
Start WPA:
Code Sample | wpa_supplicant -B dd -c wpa_supplicant_short.conf -i wlan0 -D ndiswrapper |
Run the GUI netcardconfig from the DSL Control Panel once and assign static IP. Gateway and DNS servers get set automatically. Click Apply and have the "Save configuration in the system" option ticked, the utility will create /opt/wlan0.sh for you.
Now, your connection your network should be active.
To persist this and have it fire up every time you boot, add the following to /opt/bootlocal.sh as follows. Make a copy of the wlan0.sh if you want to maintain it manually:
Code Sample | # dynex cardbus wpa rmmod ath_pci rmmod ath_rate_sample rmmod ath_hal modprobe ndiswrapper # driver loads up slowly on my hardware, so giving it time to finish sleep 5 wpa_supplicant -B dd -c /home/dsl/config/wifi/wpa_supplicant_short.conf -i wlan0 -D ndiswrapper /home/dsl/config/wifi/wlan0.sh &
|
Now searching for a boot code to disable the ath_ modules from loading up.
|