Sunday, January 19, 2020

raspberry pi wifi set up

Run command to find your wifi provider
sudo iwlist wlan0 scan

Find your provider with
ESSID:"testing"

Locate the setting
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Set wifi password to settings

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

To encrypt wifi password, run
wpa_passphrase "[wifi id]"

then enter the encrpted password.
The output is
  network={
      ssid="testing"
      #psk="testingPassword"
      psk=131e1e221f6e06e3911a2d11ff2fac9182665c004de85300f9cac208a6a80531
  }
Copy to the above file and remove the original password.

No comments: