ssh
and wpa_supplicant.conf
in the /boot
directory on the microSD card. Adding files to this folder will activate the configuration functions, when Raspberry Pi boots for the first time.ssh
file, SSH will be enabled on boot. The contents of the file do not matter, it can be empty. SSH is otherwise disabled by default.wpa_supplicant.conf
file for your particular wireless network. Put this file into the /boot
directory of the SD card. Change the country code and network part depending on your case.wpa_supplicant.conf
file example:ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev country=<Insert 2 letter ISO 3166-1 country code here> update_config=1 network = { ssid = "<Name of your wireless LAN>" psk = "<Password for your wireless LAN>" }
wpa_supplicant.conf
file.
sudo apt update && sudo apt full-upgrade
apt update
command updates the list of packages, and the apt full-upgrade
command installs packages with dependencies.