@user183351's answer helped me along the correct path, but there were some pieces missing. So I am providing this complete list of instructions, assuming you are starting from a brand-new Ubuntu 12.04 LTS installation having made no other modifications. This is for kernel version 3.8.0-30-generic:
Note that in order to complete this installation, you will need to install some packages and download the driver files. In order to do this, connect the laptop to the Internet via a network cable.
1) Open a terminal session
2) Become root
sudo su -
3) Download the drivers for your WiFi card and save them to your hard drive. I'll assume you save the file to
~/Downloads/realtek. Yoou want the entry labeled "Linux driver for kernel 2.6.24 (and later)"
4) Unpack the file
root@oort:/home/john/Downloads/realtek# tar -jxvf linux_mac80211_0012.0207.2013.tar.bz2
root@oort:/home/john/Downloads/realtek# mv rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/ driver
5) cd to the directory where you unpacked the files
6) install needed packages
apt-get install gcc build-essential linux-headers-generic linux-headers-`uname -r`
So that the final file looks like this between lines 30 and 38 (except for the line numbers):
30 #ifndef __RTL_PCI_H__
31 #define __RTL_PCI_H__
33 #ifndef __devinit
34 #define __devinit
35 #define __devinitdata
38 #include <linux/pci.h>
Save the file.
8) Build & install the drivers. This will take a few minutes and should complete without error. If you get an error in the
make step, make sure you have followed the direction up to this point, especially the editing of the
pci.h file. That stumped me for quite a while.
shutdown -r now
10) When the machine reboots, your Wireless card should be good to go in Network Manager.
*This post was composed on my HP Laptop using the wireless card.