No Internet Connection

I’m unable to “connect to the internet” even though wifi is connected and able to transact within the network (eg. KDE/GS Connect) just not outside my network. I tried Xfinity and T-Mobile internet sources both WiFi and Ethernet. All other devices have no problem connecting to the internet. I think it happened after an update and restart? Could my DNS be wrong? If so how can I correct this? Please let me know what other info I need to submit.
Lenovo Thinkpad e595 Intel Wireless Adapter
Fedora 36 Workstation
Gnome 42.3

I am able to successfully ping the router, localhost, IPv4 address, DNS4 (8.8.8.8), inet, broadcast. Netmask and DNS6 (ipv6?) failed 100%. I used “ping -6” + copyPaste DNS6. The IP4 Domain shows comcast (via “nmcli d show”)

Welcome to ask.fedora @armadillo

Please read #start-here to see what kind of information could be valuable to help solving your problem.

If you can ping 8.8.8.8 you have internet access! Next thing would be to check ping google.com to see what the answer is

Next a traceroute 8.8.8.8 and/or traceroute google.com would give you an info where you get stuck.

resolvectl gives you the info about dns settings.

The steps described by Ilikelinux above give important information.

Pinging the netmask will never work.

Did you configure anything manually? A Fedora system connected to a well configured internet router gives you a working IPv4 + IPv6 connection without any manual configuration.

If you can ping 8.8.8.8 IPv4 internet works, If the domain is comcast without typing it in it has got domain, nameserver and default route from DHCP.
Additional info give the commans “ip (-6) address show” and “ip (-6) route show”

Problems with IPv6 can be excluded by setting it to “disabled” but remove a manually entered DNS6 if any.

If it worked before but stopped after update, may be systemd-resolved update changed /etc/resolv.conf into a symbolic link. Nameserver in /etc/resolv.conf is 127.0.0.53
now. A up-and-running systemd-resolved is now required, “resolvectl” should show nameserver info and “resolvectl query google.com” should show an IPv6 address and an IPv4 address.

Good luck

Thank you for your responses! How can I attach the TXT files attached with my Terminal results? Must they be only images? I’m using Firefox on a CalyxOS Pixel 4a 5G phone.
I was not able to successfully ping google.com. I’m not sure I understand the potential systemd issues so I’ll research that more.

If you’re using gnome-terminal,
highlight the text → paste into the browser with the middle mouse button.
highlight the text → copy the text with <ctrl + shift + c> , paste into the browser with <ctrl +v>
highlight the text → right click, select copy, go to the browser right click, select paste

Or some variation of the above.


after pasting, highlight the text and select the </> (pre-formatted text) or press ctrl+e

or before and after the text put ```

you could also just install fpaste, sudo dnf install fpaste

and pipe the command output to that and send the link.

Ie …

resolvectl status | fpaste

Thank you but I don’t think I understand. I don’t have internet on my laptop (Fedora 36) so I transferred the TXT files of the Gnome terminal output to my phone. So I was wanting to attach the files to this thread. The text is quite length on some of them. I’ll try to post the shorter Terminal outputs in the body of a reply.

Linux fedora 5.18.13-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 22 14:03:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux


Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub

Link 2 (enp2s0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 3 (wlp4s0)
Current Scopes: LLMNR/IPv4 LLMNR/IPv6
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 4 (ipv6leakintrf0)
Current Scopes: DNS
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: ::1
DNS Servers: ::1
DNS Domain: ~.


00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
04:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev c1)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller


dBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 5986:2113 Acer, Inc SunplusIT Integrated Camera
Bus 003 Device 002: ID 8087:0025 Intel Corp. Wireless-AC 9260 Bluetooth Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:8505 Dell Computer Corp. Dell Universal Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


[armadillo@fedora ~]$ journalctl -b > journal.txt
[armadillo@fedora ~]$ lsusb > usb.txt
[armadillo@fedora ~]$ lspci > pci.txt
[armadillo@fedora ~]$ dmesg > kernel.txt
[armadillo@fedora ~]$ uname -a > currentkernel.txt
[armadillo@fedora ~]$ ping google.com
ping: google.com: Temporary failure in name resolution
[armadillo@fedora ~]$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 _gateway (10.0.0.1) 6.589 ms 7.505 ms 8.493 ms
2 96.120.5.93 (96.120.5.93) 27.992 ms 28.952 ms 30.857 ms
3 96.110.114.209 (96.110.114.209) 27.977 ms 28.890 ms 30.791 ms
4 68.86.106.189 (68.86.106.189) 31.043 ms 32.461 ms 32.430 ms
5 68.85.111.49 (68.85.111.49) 32.847 ms 32.818 ms 49.010 ms
6 96.108.116.197 (96.108.116.197) 48.034 ms 40.317 ms 24.124.169.29 (24.124.169.29) 40.264 ms
7 96.110.43.65 (96.110.43.65) 41.835 ms 96.110.43.69 (96.110.43.69) 19.572 ms 96.110.43.65 (96.110.43.65) 21.561 ms
8 96.110.33.190 (96.110.33.190) 20.681 ms 96.110.33.186 (96.110.33.186) 18.543 ms 96.110.37.106 (96.110.37.106) 19.513 ms
9 50.208.232.10 (50.208.232.10) 25.733 ms 50.208.232.26 (50.208.232.26) 19.750 ms 50.208.232.10 (50.208.232.10) 37.652 ms
10 * * *
11 8.8.8.8 (8.8.8.8) 23.885 ms 24.052 ms 28.069 ms
[armadillo@fedora ~]$ traceroute google.com
google.com: Temporary failure in name resolution
Cannot handle “host” cmdline arg `google.com’ on position 1 (argc 1)
[armadillo@fedora ~]$ resolvectl > dnsSettings.txt
[armadillo@fedora ~]$ resolvectl query google.com > googleIPv.txt
google.com: resolve call failed: All attempts to contact name servers or networks failed
[armadillo@fedora ~]$ resolvectl query google.com
google.com: resolve call failed: All attempts to contact name servers or networks failed
[armadillo@fedora ~]$

This is a localhost ip6 address. So you not have any DNS-Server-Address active who resolves the addresses to the internet.

Edit the /etc/systemd/resolved.conf

Under [Resolve] remove the # in front of DNS & FallbackDNS and add

DNS=8.8.8.8
FallbackDNS=8.8.4.4

to make it work with the google DNS.

And you might deactivate IP6 as @hmmsjan proposed.

I disabled IPv6 but no luck. Also, I’ve never done any customization with Linux as stability, security, and data privacy are my primary concerns. I have not installed any firewalls unless there’s one with the default Fedora 36 install.

Thank you. Is there documentation on how to access etc directories and edit config files in fedora or Linux? I’m having a difficult time getting started. I’ve done this in windows and Mac but I guess the way I did it doesn’t translate. I can’t even figure out how yo log in as a root user except within the terminal, but once I’m in root@fedora and the etc directories, I do ‘nano’ I think. Then edit based on your instructions? Anyway, I really don’t trust that what I’m doing is correct


I still don’t have internet. Please find pictures of my config file and wireless ipv6 settings

Your welcome, there is not really a doc for this on fedora. But when you know Mac, and the terminal of it you should have a good base to work in Linux terminal too.

Performing administration tasks using sudo :: Fedora Docs

Try su - to get root@hostname terminal

Yes nano is also my choice.

I just forgot to tell you that you have to stop and restart network mostly after a change.

You can also set the DNS under the Network Settings, you just have to switch from auto to manual (DNS settings) when you use DHCP. If you use DHCP you can set it on the router to distribute it, then it will show up after in resolvectltoo.

You have internet you just did not set a DNS for IP4

I entered “8.8.8.8,8.8.4.4” into the Wi-Fi Setting >> IPv4 DNS text box.
I ran: “systemctl restart network” in the terminal but it failed because “Unit network.service not found”
I toggled airplane mode.
Sadly I’m still unable to access the internet. e.g. “ping google.com

However I ran Fedora Live via USB drive (aka thumb drive) and the internet worked fine. I may have to do a clean install of Fedora tomorrow so I can get back to work.

If you can ping 8.8.8.8 it is clearly a DNS problem. “systemctl restart network” is not correct, it’s “systemctl restart NetworkManager”. In addition, the DNS system can be restarted with “systemctl restart systemd-resolved”.

There is something not standard on the system which might cause the loss of internet: “ipv6leakintrf0” If I lookup this interface on internet I find “no access to internet after using protonvpn” . The command “nmcli c delete ipv6leakintrf0”
seems to have solved the problem. IPv6 is a problem with VPN, because they have to setup their servers and clients for both IPv4 and IPv6, otherwise IPv4 takes the VPN route and IPv6 the normal one. They try to “fix” this by blocking IPv6 name lookup.
If you have added 8.8.8.8 to /etc/systemd/resolved, removed this ipv6leakintrf0 connection and restart, it should work, unless there is some residue of ProtonVPN doing stupid things. I’m still worried that there is no DHCP-originated DNS on both ethernet and WiFI. Feel free to re-enable IPv6 if there is connection again.

If you want to use VPN for some reason, you can download OVPN config files at Proton and just import them in NetworkManager. (“nm-connection-editor” if the GNOME gui does not implement it). This works perfect, but you have to activate it manually and you have to disable IPv6 manually. But there is no chance to blow up the system by some third-party fancy GUI doing things at system level.

2 Likes

Thank you so much! This is the FIX. I had to disable IPv6 from the ProtonVPN settings, as you mentioned. So to conclude, I added “8.8.8.8, 8.8.4.4” to my non-VPN DNS and disabled IPv6 on ProtonVPN. IPv6 is still enabled on non-VPN Network Settings. To be clear, I was not running any VPN when I had this Issue and was working through it, but I have run ProtonVPN in the recent past. I will find a way to report this bug to ProtonVPN (and Fedora?). Please let me know what else I should do to help for posterity’s sake. Thanks again to @ilikelinux @hmmsjan @grumpey for all your help with this silly issue.

2 Likes

Indeed, very useful information @hmmsjan
I expected this tool on the network dialogue on the top right corner (gnome 4.2) ?
If not is there a way to bring this icon/link to the top bar?

I miss also the network-speed applet from Mate-desktop, i bet i can get something like this running with an extension?

I installed the protonvpn app 1.7.0, it looks fine and the system survives a reboot.
It’s a normal openvpn connection, with default route into VPN and a dedicated route to the VPN server. All DNS servers are removed except one via the VPN link. The /etc/systemd/resolved is unmodified. ipv6leakintrf0 is a “dummy” type interface, so it mimics a network interface but no communication. The IPv6 default route points to this interface, preventing all communication via IPv6. I have no ::1 in the DNS settings.
Upon disconnect, the OpenVPN and the ipv6leakintrf0 interface are deleted and the DNS DHCP settings on the wireless are back again.
Upon reboot, I’ve no autostart of the VPN and NO ipv6leakintrf0 interface.
For the moment I see nothing problematic, but may be I’ve some limitations because of free account.

Sending a bug report is difficult, I’m afraid, unless you’re able to save relevant part of the logs. Because of third party I assume that filing bug at Fedora will make no sense.

@ilikelinux: Gnome has his own networksettings, but you can install nm-connection-editor and lauch it when needed. The mate-netspeed is an executable in /usr/libexec/mate-applets. It does not show anything under mate when started from shell, so I assume you need a panel and cannot run it from gnome.

1 Like