diff --git a/README.md b/README.md index dc52ca9..a2d68eb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # Headless_Pi -Doku on how to setup a headless Raspberry Pi \ No newline at end of file +How to setup a Raspberry Pi headless. + +# Get an Image +Download the Lite Image from here: https://www.raspberrypi.org/software/operating-systems/ and flash it with the tool from here: https://www.balena.io/etcher/ + +# Changes on boot +- Add an empty file named ssh on boot partition to enable ssh +- Add a new file named wpa_supplicant.conf on boot partition to enable WiFi on boot. Use attached wpa_supplicant.conf as example. + +# Fire up +- Inserd SD-card in your raspi and power it up. Wait afew minutes to let it boot up. +- you can get the IP of your raspi by looking at your dhcp-server or your wlan-router +- login via ssh on your raspberry pi with the user pi and raspberry as password +- open up "sudo raspi-config" and change your pi password! \ No newline at end of file diff --git a/wpa_supplicant.conf b/wpa_supplicant.conf new file mode 100644 index 0000000..3c804f8 --- /dev/null +++ b/wpa_supplicant.conf @@ -0,0 +1,9 @@ +country=DE +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev +update_config=1 +network={ + ssid="WLAN SSID" + scan_ssid=1 + psk="WLAN PASSWORT" + key_mgmt=WPA-PSK +} \ No newline at end of file