This article details how the author successfully set up a Pi-hole DNS server using a $15 Raspberry Pi Zero 2 W, highlighting its low cost, low power consumption, and surprisingly capable performance for handling DNS requests and ad blocking for a home network.
ZPUI (Zippy UI) is a lightweight control interface for single-board computers such Z the Raspberry Pi, designed to provide easy access to system information and control functions via a small I2C screen and a few buttons. It aims to solve the common frustrations of accessing and debugging SBCs without a full keyboard, monitor, and network connection.
More Raspberry Pi Zero 2 W lookalikes are coming to market, as after the Allwinner H618-based Orange Pi Zero 2W, the Radxa Zero 3W has now been introduced with a 1.6 GHz Rockchip RK3566 processor and up to 8GB RAM, plus WiFi 6 and Bluetooth 5.4 connectivity, which makes it one of the most powerful Arm Linux SBCs in the compact Raspberry Pi Zero form factor.
sudo nano /bin/connect-bluetooth.sh
In that file add
#!/bin/bash
sudo bluetoothctl << EOF
power on
connect MAC Address »
exit
EOF
Save that file.
Make it executable
sudo chmod +x /bin/connect-bluetooth.sh
Then create a new file
sudo nano /etc/systemd/system/connect-bluetooth.service
Add this text:
Unit »
Description=Connect Bluetooth
Service »
Type=oneshot
ExecStart=/bin/connect-bluetooth.sh
Install »
WantedBy=multi-user.target
Save that file.
Then run this command to enable that process
sudo systemctl enable /etc/systemd/system/connect-bluetooth.service