GNU/Linux xterm-256color bash 649 views

Airplane mode was on.

  • Ran the script, it restarted the wifi radio, NetworkManager and checked for the driver modules.
  • Boom, I was reconnected to the correct wifi access point with working Internet.
  • Verified this by running the script again.