Closed scottmuc closed 2 years ago
Once enabling DHCP on the router, shutdown the PI gracefully, and release and renew your DHCP assigned IP address.
Touching a file ssh
in the boot volume enabled SSHD!
Obtained the PIs DHCP leased IP from the Router UI
Make sure to re-add port forwarding before ./ansible.sh apply
Had to re-add port forwarding after rebooting the PI
How do I know this all working?
goodneoughmoney.com exists home.scottmuc.com/music plays music Z: on Windows works ensure IP is in KEA IP address pool after a /release /renew
Yay for Repaving!
As much as possible is documented inline in this issue template. In case of problems you may find help by viewing all the previous repave issues. Have fun!
Things to do with the existing build
[x] Create SD card with the latest Raspberry Pi OS
Preferrably with a secondary SD Card to keep the current Pi running.
installer download
[x] Enable DHCP on the router and remove port mapping
Post OS install steps on the PI
[x] Note the IP assigned to the PI during the OS install
[x] Enable SSHD via
rasp-config
Post OS install steps on desktop
[x] Ensure a working ansible enviroment
Not much to say except use
virtualenv
. I don't have a consistent way to set this up because my macbook might be my controller, or my windows WSL host will be.[x] Copy ssh key using
ssh-copy-id pi@<pi ip>
[x] Bootstrap with Ansible
./ansible.sh bootstrap -i <pi ip>
[x] Complete full configuration
./ansible.sh apply -i <pi ip>
[x] Reboot PI
[x] Add port mapping on the router
[x] Disable DHCP on the router
[x] Make this template slightly better