The full process was pieced together in this order.
Then from http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/
sudo apt-get install build essential
I downloaded the current madwifi-hal-0.10.5.6-r*.tar.gz file. (This was madwifi-hal-0.10.5.6-r4126-20100324.tar.gz at the time.) Then in the download directory I continued with.
This fixed my wifi but I may have to re-make the file when the linux headers are updated. This was gathered from the links posted in the previous posts.
tar -zxvf madwifi-hal-0.10.5.6-r4126-20100324.tar.gz
sudo make install
echo ath5k >> /etc/modules
sudo make clean