Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2917  / 2 Years ago, mon, april 18, 2022, 11:16:57

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


More From » networking

 Answers
3

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.


[#1170] Tuesday, April 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
herfor

Total Points: 490
Total Questions: 101
Total Answers: 110

Location: Guadeloupe
Member since Mon, Jan 24, 2022
2 Years ago
herfor questions
;