Hardware: AMD64 YunoHost version: Latest (but cannot check right now) I have access to my server : Not via network only physical with a keyboard and screen attached. Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes If yes, please explain: it’s behind a VPN exactly like: Homemade WireGuard VPN on a VPS server by @rungeard
Description of my issue
Since my other failed hard drive is removed, the YH server cannot make a connection with the internet or connect local. In other words Debian fails to raise the network.
I tried disabling the VPN on the YH server it did not work.
If I run the status networking command and journal -xe I get these errors (sorry I couldn’t copy and paste, so I had to make some sloppy pictures).
Eeeh okay so turns out there’s no interface eth0 indeed, but there is an interface named enp5s0 which seems to be the one we want. This seem related to “predictable” vs. “non-predictable” interface naming which is a changed that happened a while ago now … But what’s puzzling is why suddenly your interface naming scheme would change
Anyway, let’s investigate further with grep -nr eth0 /etc/
Also, I tried to run the yunohost setup but got all garbage screens after selecting graphical or text installer. Maybe a resolution issue? I was thinking and wanted to try to do a clean YH install on a clean SSD then grab the networking files from there and move them over to my current disk. Possibly a stupid idea I don’t know what else to do at this stage. I’m just scared of loosing everything.
Is there a command to re-initiate the network like making a new network setup to get it back to its original state?
Zblerg just be patient and let’s keep investigating / attempting stuff … naively this doesn’t look like a huge issue to solve (yes there’s no internet and it’s not 100% clear why but most of the time it’s just a matter of flipping the right switch to get things back on)
Re-reading the log, maybe replacing eth0 in the conf is in fact not a huge deal
So lets :
sed -i 's/eth0/enp5s0/g' /etc/network/interfaces.d/setup
and restart the server, see if ip -br a still reports enp5s0 as down or if it’s up (and try to ping -c 126.96.36.199 to check if internet is working)