Network Unreachable – Fixing Fully Broken Internet Connection on Ubuntu Server

internetlannetworkingserver

my Ubuntu server lost its internet connection suddenly (I wasn't even ssh'd in). Now all pings with a hostname fail to resolve and a ping to 8.8.8.8 or 8.8.4.4 returns network is unreachable.

How can I fix this?
I've attached a couple images of command that I think could help, as I can't use SSH:

resolv.conf

network/interfaces

ifconfig

ip route

I would really appreciate any help.

I've already searched for "ubuntu network unreachable" and tried everything on the first page of results. With no results except this page meant for arch: https://unix.stackexchange.com/questions/80493/arch-linux-connect-network-is-unreachable
where the part with the modprobe e1000e allowed me to ping the gateway/router, but no more. However after rebooting even that didn't work anymore.

If you need anymore info, please just ask. I'm fairly new to Linux/Ubuntu.

Thanks in advance.

Edit:
Networkctl says interface is degraded (configuring)

lshw -C network

cat /etc/netplan/*.yaml

ls -al /etc/resolv.conf

networkctl list

Best Answer

It turns out my dad unplugged the lan cable from the router, cleaned it (???) And plugged it back into an analog phone port. Anyway thanks everyone for trying to help me.

Related Question