Skip to content

Instantly share code, notes, and snippets.

@ziishaned
Last active January 27, 2023 07:51
Show Gist options
  • Save ziishaned/8411e20a881625fa312d611334c4e80b to your computer and use it in GitHub Desktop.
Save ziishaned/8411e20a881625fa312d611334c4e80b to your computer and use it in GitHub Desktop.
Raspberry Pi

WiFi

touch wpa_supplicant.conf

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
scan_ssid=1
ssid="YOUR-NETWORK-NAME"
psk="Your WiFi password"
}

SSH

touch ssh

User

touch userconf.txt
echo 'mypassword' | openssl passwd -6 -stdin
pi:$6$vONr2I2hBmMdKFYS$eQjQixxLd0cexmspY4rJcJgtw.6wVpqLGDxfNJ5UrDiXqs0oYFYjPqoJGfwVFlj6v3nJh.FSJDdFyuOSUmIbq.
ssh pi@raspberrypi.local (or ssh pi@raspberrypi)
passwd
sudo raspi-config
sudo nano /root/.vnc/config.d/vncserver-x11
Authentication=VncAuth
sudo vncpasswd -service
sudo reboot
raspberrypi.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment