[LCA2019 Chat] FYI: Headless Setup for RPI zero using Flower Bonnet.

Rob Thomas xrobau at gmail.com
Thu Jan 24 06:58:20 AEDT 2019


If you were smart enough to grab a Flower Bonnet for your RPI while they
were available (they may still have some left, speak to the people on the
desk?), you now have a console port on your RPi!

If you haven't done it before, it's very simple to set up.

1. Edit the file 'config.txt' on the BOOT volume and add the following line:

dtoverlay=pi3-miniuart-bt

That disables the bluetooth and enables the console serial port.

2. Create an empty file called 'ssh' (so it enables sshd on boot)

3. Create the file wpa_supplicant.conf containing the following:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=NZ

network={
        ssid="linuxconfau"
        psk="CHANGE_THIS_TO_THE_SECRET"
}

Obviously, changing the psk line to be the super-secret wifi secret.

Plug in the USB port on the bonnet to your PC. If you're using Windows,
you'll need to install the drivers from
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

As it boots, it will connect to WiFi, and will display the IP address on
the console as it starts.

Enjoy!

--Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lca2019.linux.org.au/pipermail/chat/attachments/20190124/e264ddbc/attachment.html>


More information about the Chat mailing list