Why is my internet connection not working? Nobara 41

Hi,
Why can’t I connect to the internet? Please help me. I’ve been a loyal Fedora user for years, and in February I made the leap to Nobara. I love it so far, but last week I ran sudo dnf upgrade to upgrade to Nobara 42, and dnf errored out. I rebooted, and suddenly I was completely unable to access the internet. I launched the Nobara 41 Timeshift I made before running dnf, and I was still offline.

ping wikipedia.org didn’t work, but ping 1.1.1.1 seemed to work (attachment 1). However, I still was unable to connect from Librewolf or Chrome (attachments 2, 3). Attachment 3 shows the results of me attempting to run sudo dnf upgrade, and 4 is the contents of my /etc/resolv.conf. Editing it to set the nameserver IP to 1.1.1.1 did not help. My /etc/hosts is a Steven Black hosts file, the same one my Windows partition uses, so I don’t think it’s the problem.

This laptop is a Dell Inspiron 15 7000 G that I have had for years. My internet connection still works correctly on the Windows 10 dual boot, so I know the hardware isn’t the problem.



Missing attachments perhaps?



This may be relevant: After Updating to Fedora 42, DNS resolution is broken until systemd-resolved is restarted

Does sudo systemctl restart systemd-resolved help at all?

1 Like

The /etc/resolv.conf file is not very interesting. More interesting is the output from running resolvectl. In fact, in the default Fedora system, the resolv.conf file isn’t used as the systemd-resolved uses its internal list of name servers.

@aesthetic2699 welcome to the party (I bet this is systemd-resolved issue).

you sure you upgraded to the next release?

sudo dnf upgrade doesn’t do this.

you need to use special plugin and only then
sudo dnf system-upgrade download --releasever=42



No, I am not sure. After it gave the error, I panicked and rebooted. When the internet didn’t work, I restored a timeshift. I’m still on the timeshift image from last week, with no connectivity.

I don’t see you restarted systemd-resolved after boot.
Please do as @pg-tips said before:
sudo systemctl restart systemd-resolved

Why do you have such a big and invalid /etc/hosts file?
Maybe that is causing the problem.
Suggest you move the /etc/hosts file out of the way and reboot.
Does that help?

:roll_eyes:

I ran that command and I still can’t connect online.

It said no-draft-query is not a recognized option.

@aesthetic2699 you’re doing something wrong.
the output might be like

$ resolvectl --no-pager query example.org
example.org: resolve call failed: Network is down

Please get rid of your hosts file first.
Also, pls let us know if you use OpenSnitch.

I already deleted the hosts file. Again, I’m confident that it’s not the problem because I’ve used it for years on both Linux and other systems, but I deleted it anyway to remove one variable. Anyway, I’m not sure what opensnitch is

That’s gross, you need to clean your screen :face_with_tongue:

1 Like

@aesthetic2699 you don’t need to play around with that photos.

As you already dualbooting, just copy-paste that output to the text file, put it on windows partition and then just share that text between ``` insert your text there ```.

Everybody would be more then welcome to assist you. :slightly_smiling_face:

Still no luck.

(attachments)

Please show your resolvectl status

In the most recent message I posted before this one, I shared the current systemctl status.