FrugalAndNdiswrapper
From DSL Wiki
This page in other languages: Deutsch, EspaƱol
Introduction
Hello,
This short text describes how to use ndiswrapper and WPA with a frugal install.
I have a laptop with an Atheros PCMCIA Card. I can't use the DSL driver with WPA but ndiswrapper works.
You have to set a restore device (on my system hda2, replace it). I have installed the grub bootloader, so I set in "/mnt/hda2/boot/grub/menu.lst" the parameter restore=hda2 and nodhcp. Without nodhcp I get an very high CPU load.
Then I modified filetool.lst to save the config-files and driver:
sudo /opt/.filetool.lst
and add the lines:
opt/WLanNdis etc/wpa_supplicant.conf
Copy the Windows Driver into opt/WLanNdis/*:
cp /path_to_the_driver opt/WLanNdis/
switch into the directory /etc
cd /etc
and create the wpa_supplicant.conf (replace YOUR_WLAN_NETWORD_NAME YOUR_WLAN_KEY):
wpa_passphrase YOUR_WLAN_NETWORD_NAME YOUR_WLAN_KEY
Let the driver install and start on every boot:
vi /opt/bootlocal.sh
and add the line (replace DRIVER):
#Add the next 3 lines only if you have an Atheros Card rmmod ath_pci rmmod ath_rate_sample rmmod ath_hal #FOR ALL: #Install the driver ndiswrapper -i /opt/WLanNdis/DRIVER.inf #Wait a second sleep 1 #Start the encryption manager wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -Bw #Wait a second sleep 1 #Get an ip-adress pump -i wlan0