Skip to content

Instantly share code, notes, and snippets.

@amrutprabhu
Last active February 18, 2019 00:29
Show Gist options
  • Save amrutprabhu/c2ed48f91a9be1d7c46c9f70875d0f2b to your computer and use it in GitHub Desktop.
Save amrutprabhu/c2ed48f91a9be1d7c46c9f70875d0f2b to your computer and use it in GitHub Desktop.
Connect Raspberry PI via SSH with the pi connecting to wifi on boot
Image burner : https://www.balena.io/etcher/?ref=etcher_footer
Image : Raspbian Stretch (https://www.raspberrypi.org/downloads/raspbian/)
Enable SSH
To enable it you need to place a blank text file called "ssh" in the root of the "boot" drive of the SD card.
Wifi Connection Setup:
create a second text file called `wpa_supplicant.conf` and place that in the root of the "boot" drive of the SD card.
Content:
```
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="YOUR SSID NETWORK-NAME"
psk="WIFI PASSWORD"
}
```
---------------------
Default Values:
ssh [email protected]
Password: raspberry
------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment