I have VAIO VPCEA23EN with Ubuntu 12.04 32 Bit.
Bluetooth is working but not WiFi.
It says "disabled by hardware switch" even when it's enabled.
Open the terminal. the shortcut is:
Ctrl + Alt + T
Then type this command:
If it did not work from the beginning.Try typing it again like 2 or 3 times and then see
Sometimes the hard switch won't work. So this command works like a hard switch and helps enabling the Wifi.
I have seen similar behaviour with my Dell E5430. If the machine is booted with the hardware switch in the off position, then toggling it does nothing, and the wireless interface cannot be activated until the machine is rebooted with the switch in the 'on' position.
Once this is done - the hard switch works as expected - powering the wireless card up and down.