- Created `dnsmasq-setup.md` guide for setting up dnsmasq on hardware like Orange Pi Zero 3. - Added `talos-setup.md` guide for an alternate setup using Talos and bare Kubernetes. - Introduced configuration files for dnsmasq including `.not_logged_in_yet`, `bare-metal.yaml`, `boot.ipxe`, `dnsmasq.conf`, and `nginx.conf`. - Implemented `setup.sh` script for automating the installation and configuration of dnsmasq and nginx. - Updated example configuration in `config.example.yaml` to include Talos versioning. - Modified README to reflect changes in Wild-Cloud app commands.
1.3 KiB
1.3 KiB
Setting up Ambian on a pi
These are raw notes. Instructions will need to be made friendly.
Hardware requirements
- 32GB SD card
- SD to USB adapter
Creating OS boot on SD
References
Steps
Prepare image:
- Download OS image.
- Install usbimager.
- Insert SD card into USB adapter into ops computer.
- Launch
USB Imager
and use it to write your downloaded image to the SD card. It might take an hour. - When written, copy infrastructure_setup/dnsmasq/.not_logged_in_yet to the sd's
root/
dir.
Boot:
- Put the SD card into the Pi and boot.
- Set config options.
- From your ops machine, ssh into the pi.
- Run
armbian-install
- Select the option to put the boot loader on the sdcard
Configure:
# Block all suspend, hibernate, and sleep actions.
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Update:
wget -qO - https://apt.armbian.com/armbian.key | gpg --dearmor | sudo tee /usr/share/keyrings/armbian.gpg >/dev/null
sudo apt update
sudo apt upgrade