Headless Raspberry Pi Zero W

Headless Raspberry Pi Zero W

It can save you a lot of hassle if you run a headless installation on a Raspberry Pi Zero W. You don't need to attach a monitor or keyboard. And this is good, because the only available USB connector is needed for the DVB-T stick.

All you have to do is to convince your Raspi to connect to your WiFi. Here is how it is done: After copying the image file on your SD card, insert the card into the card reader of your computer. You will see a new drive called "boot".

In the top directory of this drive create a file named wpa_supplicant.conf. It is important to get this name right! Don't call it anything else. Enter the following content:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

    ssid="WIFI SSID"

Replace WIFI SSID and WIFI PASSWORD with the credentials of your network. The Country Code should be set the ISO/IEC alpha2 code for the country in which you are installing your receiver.

When you boot the Raspi, this file gets moved to the correct place in the Linux file system. And then it will connect to your WiFi network. Once you know what IP address it was assigned, you can simply use ssh to access the Raspi and finish teh configuration.

Repeat, if WiFi data changes!

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License