[SOLVED] Computer connected to a functioning router but no internet connection

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
trashpanda
Level 1
Level 1
Posts: 35
Joined: Sun Oct 09, 2022 6:12 am

[SOLVED] Computer connected to a functioning router but no internet connection

Post by trashpanda »

Greetings!
I'm finding myself a bit puzzled by a problem here, the computer in question has a wired connection to the router. The computer shows up normally among the devices connected to the router when I access the router's control panel.
Any other device connected has an internet connection except for the computer in question.
I tried booting from a linux mint live and everything works fine.
I'm sorry if I can't provide further useful information, please if there's anything I can tell you let me know.

EDIT:
This is not a fresh install, it was working fine up until a couple of days ago.
If I try to ping 8.8.8.8 it works, but pinging www.google.com doesn't.

EDIT:
Found the problem, /etc/resolv.conf had issues, it now works fine.
Last edited by trashpanda on Mon Mar 18, 2024 3:39 pm, edited 2 times in total.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: Computer connected to a functioning router but no internet connection

Post by sleeper12 »

Secure boot needs to be off, check:

Code: Select all

mokutil --sb-state
User avatar
trashpanda
Level 1
Level 1
Posts: 35
Joined: Sun Oct 09, 2022 6:12 am

Re: Computer connected to a functioning router but no internet connection

Post by trashpanda »

sleeper12 wrote: Mon Mar 18, 2024 3:29 pm Secure boot needs to be off, check:

Code: Select all

mokutil --sb-state
It's disabled, also worth noting, this isn't a fresh install, it was working fine up until a couple of days ago.
I also tried pinging 8.8.8.8 instead of google.com and it works, so I guess it's a dns thing
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: Computer connected to a functioning router but no internet connection

Post by sleeper12 »

Can you post what this shows:

Code: Select all

inxi -Fxxxrz ; iwconfig ; rfkill list
User avatar
trashpanda
Level 1
Level 1
Posts: 35
Joined: Sun Oct 09, 2022 6:12 am

Re: Computer connected to a functioning router but no internet connection

Post by trashpanda »

I figured it out, /etc/resolv.conf was rainbows wacky, I fixed it.
I will edit the thread title with solved and add what the problem was in the first message.
sleeper12
Level 21
Level 21
Posts: 14609
Joined: Thu May 25, 2017 3:22 pm

Re: [SOLVED] Computer connected to a functioning router but no internet connection

Post by sleeper12 »

👍 Good job.
Post Reply

Return to “Networking”