Skip to content

Instantly share code, notes, and snippets.

@mfyz
Last active August 22, 2020 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfyz/ce06bf580e95c9146771de1c4b67b409 to your computer and use it in GitHub Desktop.
Save mfyz/ce06bf580e95c9146771de1c4b67b409 to your computer and use it in GitHub Desktop.
Raspberry Pi Wifi Config

Add new network configuration (SSID + Password)

network={
    ssid="testing"
    psk="testingPassword"
}

into

sudo vim /etc/wpa_supplicant/wpa_supplicant.conf

After saving new network details, reconfigure the wifi connection using

sudo wpa_cli -i wlan0 reconfigure

You can verify the connectivity with checking the ip address:

sudo ifconfig wlan0

and/or ping a server

ping 1.1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment