Raspberry Pi Zero W

 Raspberry Pi  Comments Off on Raspberry Pi Zero W
Feb 042018

Ordered a Raspberry Pi Zero W last weekend from Electrokit.com and got it in the mailbox just a couple of days later.
Searching through some old SD cards, I got a 8MB one and installed Raspbian Stretch Lite from 2017-11-29 using the Etcher tool.

As I am to run this device headless, we need to do some adjustments before putting the card on the Pi.

To enable SSH, create an empty file named 'ssh' in the root of the card, called Boot.

To enable Serial debug on the pin connector (pin 6, 8 and 10), edit the 'config.txt' file. At the end of the file alter 'enable_uart=0' to 'enable_uart=1'.

To setup your Wifi connection, add a file called 'wpa_supplicant.conf' with the following content.

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

All of the above was nicely explained at Adafruit here,

After this was done, I eagerly put the SD card into the Pi and booted it up. And voila I have a new member on my WLAN at home!

But if it does not work, here is a link where some issues have been solved. It involves using another Pi to perform an upgrade, doing.

$ sudo apt update
$ sudo apt upgrade

Once it all works, log on with SSH or using Serial, and configure the rest easily with,

$ sudo raspi-config

Make sure change at least the password for logging in.

For checking devices on my LAN I use,

$ nmap -sP