- Download Raspberry Pi OS Lite
- Flash using balenaEtcher
- Create
ssh
file in boot partition - Create
userconf
file with data:username:hashed-password
- Use this command to generate hashed-password
echo 'password' | openssl passwd -6 -stdin
- Use this command to generate hashed-password
- Edit hostname in
/etc/hosts
&/etc/hostname
sudo apt update sudo apt upgrade sudo reboot
- Download latest release
curl -L https://github.com/czQery/PiFi/releases/download/v0.0.4/release-arm.tar.gz | tar -xzv
- Edit the example
pifi.service
file in this repo and put it in/etc/systemd/system/
- Reload systemd daemon
sudo systemctl daemon-reload
- Enable service
sudo systemctl enable pifi.service
- Start service
sudo systemctl start pifi.service
- Enable serial interface
sudo raspi-config
- Select -> Interfacing Options
- Select -> Serial
- Login shell -> No
- Hardware Serial -> Yes
- Reboot
sudo reboot