I have a Raspberry Pi (Raspbian GNU/Linux 10 (buster)) connected to my home WiFi, which I primarily use as a Samba file server to access files on my other devices.
I occasionally have to reboot my WiFi router to fix issues, and I'm unable to re-connect to the Samba server once the network is back up and running. I'm also unable to ssh into the server. Restarting the Pi (by unplugging and replugging the power supply) fixes the issue, since I've setup Samba to start on system startup.
Do these services crash when there is no network connected? How can I fix this so that it auto-recovers/restarts these services once the Pi re-connects to the network?
Thanks!
ip addr
, edit your question and paste the commands output into the question.