Goto System/Administration/Hardware drivers
See if any drivers are listed as to be installed or in-active.
In this case install the driver and enable it.
Restart the machine
Still not fixed
If you are using a Compaq machine in particular and also in general, sometimes the drivers are installed properly but the wireless button does not work. In that case, first check to see if it is disabled. If it is, then enable it
rfkill list all # if blocked =yes then try next command rfkill unblock all
If you still have problems then may be you have the BCM4312 802.11 b/g rev(01) card
Check to see if this is the case
lspci | grep 802
If in the output you see BCM4312 802.11 b/g rev(01)
then you should do the following
sudo su apt-get update apt-get install bcmwl-kernel-source shutdown -r now
If in case it still does not work, check in system/administration/hardware drivers. A LINUX STA driver will be listed. Click on install and then enable it in the same menu. After this reboot.
Everything should be working now! :)