Re: Installing driver for wireless card
Please go to Synaptic. Go to Settings -> Repositories -> Ubuntu Software. Make sure everything is checked. Make sure the server you select is at or near your location. After closing Repositories, press the Reload button. Then search for and install build-essential and linux-headers-generic.
Indeed. Since you have evidently run 'make' unsuccessfully, after you get build-essential and linux-headers-generic installed, please amend the 'make' et al to this:
I went through the rest of the commands but it didn't work
That will clean up any corrupted bits that may have been made with an improper 'make.'
sudo make install
sudo modprobe ath_pci
Post back if you get stuck.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.