In order to instruct Raspbian to connect to a specific hotspot after the setup add a file named wpa_supplicant.conf to the root of the SD card with the following content:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<TWO_LETTER_ISO_COUNTRY_CODE>
network={
ssid="<WIFI_NETWORK_NAME>"
psk="<WIFI_PASSWORD>"
key_mgmt=WPA-PSK
}
Just add a file named "ssh" at the root of the SD card
$ touch ssh
(on Raspberry Pi model zero and model A)
On a freshly burned Raspbian image:
- Append the following line to config.txt:
dtoverlay=dwc2
- Append the following parameter to cmdline.txt by adding a space after the last parameter and adding:
modules-load=dwc2,g_ether
- Add a file named "ssh" at the root of the SD card:
$ touch ssh
Power on the device connecting the pc to the micro USB port labeled "USB", wait for the Raspberry to start up, then SSH into it:
$ ssh [email protected]