Enabling WiFi from the terminal

After a few rough beta installs of the OS, I decided to do a clean install of  Freya. It’s been a smooth sail so far but for the intermittent WiFi disconnects. For some reason the WiFi gets soft disabled at times. Until I figure out what’s causing this to happen and for future reference here’s a nifty work-around:

  • Determine the current state of the radio transmitters using rfkill. You’ll be able to see immediately If any of your devices are soft blocked.
 $ sudo rfkill list all 
  • Unblock radio transmitters as needed. In my case, something was turning the Wi-Fi off. I just had to turn this on using the below command:
 $ rfkill unblock wifi 

Note: In a few laptops the Wi-Fi  key is also mapped to the Bluetooth function, so to activate or deactivate you’ll just have to tap a few times to disable or enable wifi and/or bluetooth.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)