Score:0

No internet Ubuntu Ubuntu 20.04.4 LTS

aq flag

I have a HP Microserver with Ubuntu 20.04.4 LTS that I use to run Plex. All of a sudden, there is no internet access from/to this server. It used to work just fine.

The only change is that I have had fiber installed to my house so I have a new router but I copied all the router settings and no other devices have a problem. One thing that has changed is the gateway address; my old address was 192.168.1.254 and the address to the new is 192.168.1.1

I am not sure how to change this?

I am able to ping other PCs and devices within my home network but I cannot ping or access anything outside.

Here is what Ip route reports (shows the OLD gateway address):

leif@HP-ProLiant-MicroServer:~$ ip route
default via 192.168.1.254 dev eth0 onlink
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.20

If the gateway address is the likely problem, could someone please tell me how to change it?

Any other tips are of course welcome.

Update; after I added 192.168.1.1 as the default gateway in the /etc/network/interfaces file, I rebooted and checked route command again: leif@HP-ProLiant-MicroServer:~$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default cloudmesh.home 0.0.0.0 UG 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

It now says that cloudmesh.home is the default gateway. How can that be? Plus I can now access the internet.

Of course, I am glad its working but can someone please explain the cloudmesh.home <> 192.168.1.1 correlation? I am confused.

Surya Vardhan M avatar
mu flag
Looks like you need to change the Default gateway address. Here is the article that might help you. [Add-or-Change-the-Default-Gateway-in-Linux]. [Add-or-Change-the-Default-Gateway-in-Linux]: https://www.wikihow.com/Add-or-Change-the-Default-Gateway-in-Linux
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.