Yesterday I installed updates and rebooted my Arch Linux rpi before going to sleep.
First of all, this is a mistake because you shouldn’t install updates if you don’t have time to troubleshoot the fallout 🥲
Secondly, I discovered I no longer had network access to my rpi.
Today, after troubleshooting, I figured out the problem.
Recovering from no-connectivity checklist
- Ensure you have a user-password login
I didn’t, because I only connected to this machine with ssh key auth.
- Grab the root storage, mount on another laptop
- Grant yourself a password by editing
- Reassemble things back
- Connect display / keyboard, boot and login
ip addr showto see what’s wrong with the network interface
- Manually connect wifi, if the interface is still there
I created a temporary no encryption network to go around having to deal with WPA supplicant.
You might want to create
/etc/systemd/network/eth0.networkso you’ll have DHCP.
- Continue troubleshooting via SSH.
Note that if you restart things, you might lose your wifi config
- After surviving a reboot, you can disconnect things, delete your password etc.
The real problem
It seems some update in the last weeks caused the first network interface to change from
I’m not sure what’s the prereqs (maybe having Docker installed is involved), but I found some complaints about it, so it’s not just me.
end0 config in
/etc/systemd/network solved my problem, and things are back to normal.