Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: No internet After system update. (Read 1245 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

No internet After system update.

Hi.

After an update from my system there is no internet. I need to chroot to found some solution. The update was from 5.17.4-artix1-1 to 5.19.8-artix1-1. Sometime without an update. I don't know if a rollback is possible because before that, a pacman -Sc was needed to solve another problem with gpg keys due to longtime without updating.

This is in chroot.
Quote
ip addr
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
      valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
      valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether b8:97:5a:28:37:2e brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:e0:4c:68:0c:46 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute eth1
      valid_lft 601342sec preferred_lft 601342sec
    inet6 2800:e2:287f:f626:1e3d:631b:1ffc:9b77/64 scope global dynamic noprefixroute
      valid_lft 604799sec preferred_lft 604799sec
    inet6 fe80::f64e:21fd:ff3b:865b/64 scope link noprefixroute
      valid_lft forever preferred_lft forever

This is my pacman.log
https://pastebin.com/jwksnCy0

I'm using Connman, don't know what's more to post for a help.

Thank you!

Re: No internet After system update.

Reply #1
You have an IP address on eth1

Try
Code: [Select]
ping 1.1.1.1
If it receives packets you've likely got an issue with  domain name resolution

Post the output of
Code: [Select]
cat /etc/resolv.conf
and
Code: [Select]
ip route show

Re: No internet After system update.

Reply #2
Ping receives packets.

cat /etc/resolv.conf
Code: [Select]
# Generated by NetworkManager
nameserver 190.248.0.4
nameserver 200.31.208.101
nameserver 2800:e0::ac1d:f00d:7
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2800:e0::ac1d:f00d:8

Code: [Select]
ip route show
default via 192.168.1.254 dev eth1 proto dhcp metric 100
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.2 metric 100

Re: No internet After system update.

Reply #3
Something's up with domain name resolution then.

You said you use connman. Yet the /etc/resolv.conf mentions
Quote
# Generated by NetworkManager

Doesn't seem right but I don't know for sure as I use neither connman or NetworkManager.

You can rename /etc/resolv.conf /etc/resolv.conf.bak

Make a new /etc/resolv.conf and put a valid nameserver in it.
Your router if it does dns, probably
Code: [Select]
nameserver 192.168.1.1

Or for example cloudflare.
Code: [Select]
nameserver 1.1.1.1

That would allow you to use the internet but will likely get overwritten when you reboot or restart the network service.

Long term you need to set the DNS nameserver in Connman or NetworkManager. If both are enabled as services that might be causing you problems. I imagine it's supposed to be one or the other ?

 

Re: No internet After system update.

Reply #4
It works with 1.1.1.1
Also i try to uninstall Networkmanager but it fails jaja
¿What i need to know to configure it well?

Is not working with Brave web browser, the error is: Error code: RESULT_CODE_INVALID_SANDBOX_STATE

Re: No internet After system update.

Reply #5
Also i try to uninstall Networkmanager but it fails jaja
¿What i need to know to configure it well?
It helps if you post any output when it fails.

Which init are you using ?

Re: No internet After system update.

Reply #6
I'm using Runit

Re: No internet After system update.

Reply #7
I know little about runit but I believe you can get list of all installed services, and their state, with this command.
Code: [Select]
sv status /run/runit/service/*
Post the output if that works so we can see which services are enabled.
https://wiki.artixlinux.org/Main/Runit has more info about controlling the services

The other thing I would say is if you only use the wired Ethernet connection on this machine connman and/or NetworkManager is overkill IMHO. A tiny script to bring up the internet would suffice.
Another reason I say this is such a script could be helpful now anyway as messing around with the network services there's a chance you'll lose the connection and I'm guessing you may not be able to easily get it back alone ?

So I post this as a clue to bringing up your network from the command line if you lose it. Save it for offline access
Code: [Select]
ip link set eth1 up
ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev eth1
ip route add default via 192.168.1.254
echo "nameserver 1.1.1.1" > /etc/resolv.conf
May work, can't guarantee it.

Also I mentioned DNS from your router. Looking properly at your ip route output it's more likely to be 192.168.1.254 where I said 192.168.1.1

Re: No internet After system update.

Reply #8
See the output:

Code: [Select]
sudo sv status /run/runit/service/*
run: /run/runit/service/acpid: (pid 985) 620s; run: log: (pid 983) 620s
run: /run/runit/service/agetty-tty1: (pid 970) 620s
run: /run/runit/service/agetty-tty2: (pid 966) 620s
run: /run/runit/service/agetty-tty3: (pid 968) 620s
run: /run/runit/service/agetty-tty4: (pid 971) 620s
run: /run/runit/service/agetty-tty5: (pid 967) 620s
run: /run/runit/service/agetty-tty6: (pid 969) 620s
run: /run/runit/service/cronie: (pid 981) 620s
run: /run/runit/service/dbus: (pid 984) 620s; run: log: (pid 982) 620s
run: /run/runit/service/logind: (pid 994) 619s
run: /run/runit/service/NetworkManager: (pid 988) 619s
run: /run/runit/service/sddm: (pid 991) 619s
run: /run/runit/service/syslog-ng: (pid 976) 620s
run: /run/runit/service/udevd: (pid 979) 620s

All the web browsers work except for Brave.

Re: No internet After system update.

Reply #9
I assume there are no brave zombie processes running.

If you launch brave from a terminal, are three any interesting messages as you try and use it?

I assume brave and your system is up to date with a -Syu ?

You may also want to start Brave with a clean profile and no other plugins.

Re: No internet After system update.

Reply #10
It seems you have the NetworkManager service enabled but not connman.
I'm not the best person to help you further with this as I know very little about all of NetworkManager, connman and runit !

My further questions though:
Is the DNS setting in /etc/resolv.conf surviving a reboot ?
What makes you think connman is controlling your network setup? Evidence supplied points to NetworkManager.

Quote
All the web browsers work except for Brave.
As the other poster said try a new profile.

Re: No internet After system update.

Reply #11
Hi. The DNS setting in /etc/resolv.conf is surviving after reboot. The internet works normal now.  :)

Brave was not update because it was installed from AUR, after the update, Brave-beta can't load Youtube or Outlook. It seems to see something with fonts. Brave stable loads Youtube but not Outlook idk why.

Code: [Select]
brave-beta
Fontconfig error: Cannot load default config file: No such file: (null)
Fontconfig error: Cannot load default config file: No such file: (null)
[5894:5894:0924/183958.867951:ERROR:CONSOLE(3283)] "[Brave Settings Overrides] Appearance Page cannot find use default theme button template", source: chrome://settings/settings.js (3283)
[5894:5894:0924/193535.887706:ERROR:interface_endpoint_client.cc(689)] Message 0 rejected by interface blink.mojom.WidgetHost
Fontconfig error: Cannot load default config file: No such file: (null)

Brave stable loads Youtube but show some error.
Code: [Select]
brave 
[4881:4881:0924/183533.192863:ERROR:CONSOLE(14)] "Failed to handle media duration metadata: missing publisher key for media key youtube_WLSddo24Tic", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (14)
[4881:4881:0924/183533.193365:ERROR:CONSOLE(14)] "Failed to handle media duration metadata: missing publisher key for media key youtube_WLSddo24Tic", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (14)


Re: No internet After system update.

Reply #13
Weird, it opens on Incognito Mode but no when quit the shields option.

Re: No internet After system update.

Reply #14
Weird, it opens on Incognito Mode but no when quit the shields option.
Strict browsing sessions, enhanced protections etc tend to break some pages.
It's possible there are less extensions, and/or protections in the 'incognito mode'

I use Firedragon mainly and there's certain pages that just don't work with it yet do with Firefox. I just except that.

In essence, and imho, some browsers refuse (or at least try) to do the tracking the website wants to. Some websites refuse to load if they can't track you.