Wifi is disabled by hardware switch in Ubuntu 14.04 [Solution]

Recently I came across below error after installation of Ubuntu 14.04.

“Wireless is disabled by hardware switch” 

This tutorial will show you how  to overcome above error by enabling/disabling Wifi/Bluetooth using RFkill command.

RFkill is a part of kernel through which radio transmitters  in a computer system can be queried,activated or deactivated.

To display RFKill enabled computer devices ,use the below command:

rfkill list all

Using RFKill command , we can  block/unblock devices using Index number or Category name.

Using index number :

sudo rfkill block 1

Using Category name :

sudo rfkill unblock bluetooth

Example:

Screenshot from 2014-10-19 23:41:10

Hope this tutorial helps you out !