Hopefully, my wireless is working!
The steps I followed to make Wireless working in my Acer Aspire 5100 with an Atheros 5006eg was:
First of all, Ubuntu as default load madwifi drivers, you can check it doing an lsmod:
# lsmod grep ath
the ouput look like this:
ath_pci ....
wlan ....
ath_hal .....
You have to disable this module and install ndiswrapper. To disable the madwifi modules, you have to create a file called blacklist-ath_pci in /etc/modprobe.d/ and add this lines to the file:
blacklist ath_pci
blacklist wlan
blacklist ath_hal
Then, install ndiswrapper (using synaptic or apt-get)
sudo apt-get install ndiswrapper-common ndiswrapper-utils
(if you want graphic interface install : sudo apt-get install ndisgtk)
Then append the follow line to /etc/modules file:
# Load ndiswrapper module
ndiswrapper
This make that the ndiswrapper module load at boot time.
Now, go to http://www.atheros.cz and download the atheros ar5006eg driver for Windows XP (if you run ubuntu in 64 bit you have to download the 64 bit binaries for winXP).
Extract the files:
unzip xp64-5.3.0.56-whql.zip
and type,
ndiswrapper -i net5211.inf
or
go to System -> Administration -> Windows Wirless Driver (the gtk ndiswrapper gui).
Reboot your system, and you get the WIRLESS working!