Quickly connect to open wireless CLI

First run

rfkill list all

to make sure the wireless isn’t soft blocked. If it returns a yes, you either have a physical switch turned to off or a hotkey combination. If the wireless is softblocked, you can turn of softblocks with

sudo rfkill unblock all

Next run

sudo ip link set wlan0 up

Then

sudo iwconfig wlan0 essid "network_name"

You should be connected! Run

ping google.com

just to confirm. If you’re connected, you should get messages showing “pinging with x bytes of data…”. Hit ctrl+c to end the command.

Advertisements