You are not logged in.
Oct 11 18:09:20 hackmachine NetworkManager[374]: <warn> [1697040560.3698] config: unknown key 'dhcp-client' in section [main] of file '/etc/NetworkManager/conf.d/dhcp-client.conf'
Oct 11 18:09:20 hackmachine NetworkManager[374]: <info> [1697040560.5772] dhcp: init: Using DHCP client 'internal'Please stop NM (and systemd-networkd and everyhing else) and try just "sudo dhcpcd -dB" and post the output.
Offline
I'm lost, I even installed Arch LTS but the driver needs to be for the LTS kernel as well, so I'll try tomorrow. After a few reinstalls of the driver I was able to get a steady connection with OpenWRT but after opening archlinux.org in the browser the connection drops completely
Arch user for 2 years
Still a noob
Offline
Please stop NM (and systemd-networkd and everyhing else) and try just "sudo dhcpcd -dB" and post the output.
I gave up for today, will post output tomorrow.
Arch user for 2 years
Still a noob
Offline
There're no r8168 errors
You can also try r8169, but esp. recently that was the one causing trouble - and I don't like the weird dhcp behavior so lets get that under control first.
Offline
seth wrote:There're no r8168 errors
You can also try r8169, but esp. recently that was the one causing trouble - and I don't like the weird dhcp behavior so lets get that under control first.
Feel free to drop what outputs you need, I'll send em first things first when I get my hands on my PC
Arch user for 2 years
Still a noob
Offline
"sudo dhcpcd -dB"
Offline
sudo dhcpcd -dB
I ran it with NM enabled and NM disabled:
dhcpcd with NetworkManager:
[newton@hackmachine ~]$ sudo dhcpcd -dB
dhcpcd-10.0.2 starting
udev: starting
dev: loaded udev
spawned privileged proxy on PID 926
spawned network proxy on PID 927
spawned controller proxy on PID 928
dhcp6_openudp: Address already in use
ps_inet_startcb: dhcp6_open: Address already in use
DUID 00:01:00:01:2c:b6:c2:43:e0:d5:5e:83:7b:06
sandbox: seccomp
lo: ignoring due to interface type and no config
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
enp6s0: IAID 5e:83:7b:06
enp6s0: delaying IPv6 router solicitation for 0.4 seconds
enp6s0: delaying IPv4 for 0.4 seconds
enp6s0: soliciting an IPv6 router
enp6s0: sending Router Solicitation
enp6s0: Router Advertisement from fe80::ca7f:54ff:feaf:4250
enp6s0: adding address fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: pltime infinity, vltime infinity
enp6s0: adding route to fdd8:c401:baf9::/64
enp6s0: waiting for Router Advertisement DAD to complete
enp6s0: reading lease: /var/lib/dhcpcd/enp6s0.lease6
enp6s0: soliciting a DHCPv6 lease
enp6s0: delaying SOLICIT6 (xid 0xd12037), next in 1.1 seconds
enp6s0: reading lease: /var/lib/dhcpcd/enp6s0.lease
enp6s0: soliciting a DHCP lease
enp6s0: sending DISCOVER (xid 0x901809af), next in 4.2 seconds
enp6s0: spawned BPF BOOTP on PID 938
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 1.0 seconds
enp6s0: Router Advertisement DAD completed
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks ROUTERADVERT
Dropped protocol specifier '.ra' from 'enp6s0.ra'. Using 'enp6s0' (ifindex=2).
Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 2.0 seconds
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: offered 192.168.1.118 from 192.168.1.1
enp6s0: sending REQUEST (xid 0x901809af), next in 4.5 seconds
enp6s0: process BPF BOOTP already started on pid 938
enp6s0: acknowledged 192.168.1.118 from 192.168.1.1
enp6s0: spawned BPF ARP 192.168.1.118 on PID 946
enp6s0: probing address 192.168.1.118/24
enp6s0: probing for 192.168.1.118
enp6s0: ARP probing 192.168.1.118 (1 of 3), next in 1.1 seconds
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 4.2 seconds
enp6s0: ARP probing 192.168.1.118 (2 of 3), next in 1.8 seconds
enp6s0: ARP probing 192.168.1.118 (3 of 3), next in 2.0 seconds
enp6s0: DAD completed for 192.168.1.118
enp6s0: leased 192.168.1.118 for 43200 seconds
enp6s0: renew in 21600 seconds, rebind in 37800 seconds
enp6s0: writing lease: /var/lib/dhcpcd/enp6s0.lease
enp6s0: adding IP address 192.168.1.118/24 broadcast 192.168.1.255
enp6s0: adding route to 192.168.1.0/24
enp6s0: adding default route via 192.168.1.1
enp6s0: ARP announcing 192.168.1.118 (1 of 2), next in 2.0 seconds
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks BOUND
Dropped protocol specifier '.dhcp' from 'enp6s0.dhcp'. Using 'enp6s0' (ifindex=2).
Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
enp6s0: BPF BOOTP exited from PID 938
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 7.7 seconds
enp6s0: ARP announcing 192.168.1.118 (2 of 2)
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 15.2 seconds
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 32.2 seconds
enp6s0: multicasting SOLICIT6 (xid 0xd12037), next in 69.5 secondsdhcpcd without NetworkManager:
[newton@hackmachine ~]$ sudo dhcpcd -dB
dhcpcd-10.0.2 starting
udev: starting
dev: loaded udev
spawned privileged proxy on PID 871
spawned network proxy on PID 872
spawned controller proxy on PID 873
DUID 00:01:00:01:2c:b6:c2:43:e0:d5:5e:83:7b:06
sandbox: seccomp
lo: ignoring due to interface type and no config
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
Dropped protocol specifier '.link' from 'enp6s0.link'. Using 'enp6s0' (ifindex=2).
Failed to revert interface configuration: Unit dbus-org.freedesktop.resolve1.service not found.
no interfaces have a carrier
enp6s0: waiting for carrier
enp6s0: carrier acquired
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
enp6s0: IAID 5e:83:7b:06
enp6s0: adding address fe80::d223:9b6a:d0b1:a9c5
enp6s0: pltime infinity, vltime infinity
enp6s0: delaying IPv6 router solicitation for 0.0 seconds
enp6s0: delaying IPv4 for 1.4 seconds
enp6s0: soliciting an IPv6 router
enp6s0: delaying Router Solicitation for LL address
enp6s0: reading lease: /var/lib/dhcpcd/enp6s0.lease
enp6s0: rebinding lease of 192.168.1.118
enp6s0: spawned BPF ARP 192.168.1.118 on PID 888
enp6s0: sending REQUEST (xid 0x5a9adf84), next in 4.5 seconds
enp6s0: spawned BPF BOOTP on PID 889
enp6s0: acknowledged 192.168.1.118 from 192.168.1.1
enp6s0: probing address 192.168.1.118/24
enp6s0: probing for 192.168.1.118
enp6s0: ARP probing 192.168.1.118 (1 of 3), next in 1.9 seconds
enp6s0: sending Router Solicitation
enp6s0: Router Advertisement from fe80::ca7f:54ff:feaf:4250
enp6s0: adding address fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: pltime infinity, vltime infinity
enp6s0: adding route to fdd8:c401:baf9::/64
enp6s0: waiting for Router Advertisement DAD to complete
enp6s0: reading lease: /var/lib/dhcpcd/enp6s0.lease6
enp6s0: soliciting a DHCPv6 lease
enp6s0: delaying SOLICIT6 (xid 0x984d7b), next in 1.1 seconds
enp6s0: multicasting SOLICIT6 (xid 0x984d7b), next in 1.1 seconds
enp6s0: REPLY6 received from fe80::ca7f:54ff:feaf:4250
enp6s0: adding address fdd8:c401:baf9::550/128
enp6s0: pltime 43200 seconds, vltime 43200 seconds
enp6s0: renew in 21600, rebind in 34560, expire in 43200 seconds
enp6s0: writing lease: /var/lib/dhcpcd/enp6s0.lease6
enp6s0: waiting for DHCPv6 DAD to complete
enp6s0: ARP probing 192.168.1.118 (2 of 3), next in 1.8 seconds
enp6s0: Router Advertisement DAD completed
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks ROUTERADVERT
Dropped protocol specifier '.ra' from 'enp6s0.ra'. Using 'enp6s0' (ifindex=2).
Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: sending NA for fdd8:c401:baf9::550/128
enp6s0: DHCPv6 DAD completed
Dropped protocol specifier '.dhcp6' from 'enp6s0.dhcp6'. Using 'enp6s0' (ifindex=2).
Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks BOUND6
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: ARP probing 192.168.1.118 (3 of 3), next in 2.0 seconds
enp6s0: sending NA for fdd8:c401:baf9::550/128
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: sending NA for fdd8:c401:baf9::550/128
enp6s0: DAD completed for 192.168.1.118
enp6s0: leased 192.168.1.118 for 43200 seconds
enp6s0: renew in 21600 seconds, rebind in 37800 seconds
enp6s0: writing lease: /var/lib/dhcpcd/enp6s0.lease
enp6s0: adding IP address 192.168.1.118/24 broadcast 192.168.1.255
enp6s0: adding route to 192.168.1.0/24
enp6s0: adding default route via 192.168.1.1
enp6s0: ARP announcing 192.168.1.118 (1 of 2), next in 2.0 seconds
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks BOUND
Dropped protocol specifier '.dhcp' from 'enp6s0.dhcp'. Using 'enp6s0' (ifindex=2).
Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
enp6s0: BPF BOOTP exited from PID 889
enp6s0: ARP announcing 192.168.1.118 (2 of 2)In both cases I have opened w3m, navigated through archlinux.org, and then opened firefox and opened a few websites. In both cases the internet gets cut off after those lines from dhcpcd:
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks BOUND
Dropped protocol specifier '.dhcp' from 'enp6s0.dhcp'. Using 'enp6s0' (ifindex=2).
Failed to set DNS configuration: Unit dbus-org.freedesktop.resolve1.service not found.
enp6s0: BPF BOOTP exited from PID 889Arch user for 2 years
Still a noob
Offline
Running dhcpcd alogn NM isn't an option at all, so we ignore that.
resolvectl status
stat /etc/resolv.conf
cat /etc/resolv.conf
pacman -Qs resolv # you seem to have https://archlinux.org/packages/core/x86_64/systemd-resolvconf/ but no resolved running?Offline
you seem to have https://archlinux.org/packages/core/x86 … esolvconf/ but no resolved running?
I had it disabled for some reason, I did systemctl enable and start. Here is the systemctl status of it after the internet went down:
Oct 12 16:42:30 hackmachine systemd-resolved[297]: Positive Trust Anchors:
Oct 12 16:42:30 hackmachine systemd-resolved[297]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Oct 12 16:42:30 hackmachine systemd-resolved[297]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.>
Oct 12 16:42:31 hackmachine systemd-resolved[297]: Using system hostname 'hackmachine'.
Oct 12 16:42:31 hackmachine systemd[1]: Started Network Name Resolution.
Oct 12 16:42:31 hackmachine systemd-resolved[297]: /etc/hosts:6: address '167.172.52.160:30735' is invalid, ignoring: Invalid argument
Oct 12 16:42:56 hackmachine systemd-resolved[297]: Switching to fallback DNS server 1.1.1.1#cloudflare-dns.com.
Oct 12 16:43:08 hackmachine systemd-resolved[297]: enp6s0: Bus client set DNS server list to: fdd8:c401:baf9::1
Oct 12 16:43:10 hackmachine systemd-resolved[297]: enp6s0: Bus client set DNS server list to: 192.168.1.1
Oct 12 16:43:10 hackmachine systemd-resolved[297]: enp6s0: Bus client set search domain list to: lan, lanAs for dhcpcd the network silently fails, there's no error or info when the network fails, here is the output:
[newton@hackmachine ~]$ sudo dhcpcd -dB
dhcpcd-10.0.2 starting
udev: starting
dev: loaded udev
spawned privileged proxy on PID 1749
spawned network proxy on PID 1750
spawned controller proxy on PID 1751
DUID 00:01:00:01:2c:b6:c2:43:e0:d5:5e:83:7b:06
sandbox: seccomp
lo: ignoring due to interface type and no config
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks NOCARRIER
Dropped protocol specifier '.link' from 'enp6s0.link'. Using 'enp6s0' (ifindex=2).
no interfaces have a carrier
enp6s0: waiting for carrier
enp6s0: carrier acquired
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
enp6s0: IAID 5e:83:7b:06
enp6s0: adding address fe80::d223:9b6a:d0b1:a9c5
enp6s0: pltime infinity, vltime infinity
enp6s0: delaying IPv6 router solicitation for 0.0 seconds
enp6s0: delaying IPv4 for 0.5 seconds
enp6s0: soliciting an IPv6 router
enp6s0: delaying Router Solicitation for LL address
enp6s0: reading lease: /var/lib/dhcpcd/enp6s0.lease
enp6s0: rebinding lease of 192.168.1.118
enp6s0: spawned BPF ARP 192.168.1.118 on PID 1786
enp6s0: sending REQUEST (xid 0xaa01efda), next in 3.1 seconds
enp6s0: spawned BPF BOOTP on PID 1787
enp6s0: acknowledged 192.168.1.118 from 192.168.1.1
enp6s0: probing address 192.168.1.118/24
enp6s0: probing for 192.168.1.118
enp6s0: ARP probing 192.168.1.118 (1 of 3), next in 1.9 seconds
enp6s0: sending Router Solicitation
enp6s0: Router Advertisement from fe80::ca7f:54ff:feaf:4250
enp6s0: adding address fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: pltime infinity, vltime infinity
enp6s0: adding route to fdd8:c401:baf9::/64
enp6s0: waiting for Router Advertisement DAD to complete
enp6s0: reading lease: /var/lib/dhcpcd/enp6s0.lease6
enp6s0: confirming prior DHCPv6 lease
enp6s0: delaying CONFIRM6 (xid 0x457132), next in 1.0 seconds
enp6s0: multicasting CONFIRM6 (xid 0x457132), next in 1.0 seconds
enp6s0: REPLY6 received from fe80::ca7f:54ff:feaf:4250
enp6s0: adding address fdd8:c401:baf9::550/128
enp6s0: pltime 43200 seconds, vltime 43200 seconds
enp6s0: renew in 17582, rebind in 30542, expire in 39182 seconds
enp6s0: waiting for DHCPv6 DAD to complete
enp6s0: ARP probing 192.168.1.118 (2 of 3), next in 1.7 seconds
enp6s0: Router Advertisement DAD completed
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks ROUTERADVERT
Dropped protocol specifier '.ra' from 'enp6s0.ra'. Using 'enp6s0' (ifindex=2).
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: sending NA for fdd8:c401:baf9::550/128
enp6s0: DHCPv6 DAD completed
Dropped protocol specifier '.dhcp6' from 'enp6s0.dhcp6'. Using 'enp6s0' (ifindex=2).
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks REBOOT6
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: ARP probing 192.168.1.118 (3 of 3), next in 2.0 seconds
enp6s0: sending NA for fdd8:c401:baf9::550/128
enp6s0: sending NA for fdd8:c401:baf9:0:7c31:957a:259:7a7b/64
enp6s0: sending NA for fdd8:c401:baf9::550/128
enp6s0: DAD completed for 192.168.1.118
enp6s0: leased 192.168.1.118 for 43200 seconds
enp6s0: renew in 21600 seconds, rebind in 37800 seconds
enp6s0: writing lease: /var/lib/dhcpcd/enp6s0.lease
enp6s0: adding IP address 192.168.1.118/24 broadcast 192.168.1.255
enp6s0: adding route to 192.168.1.0/24
enp6s0: adding default route via 192.168.1.1
enp6s0: ARP announcing 192.168.1.118 (1 of 2), next in 2.0 seconds
enp6s0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks BOUND
Dropped protocol specifier '.dhcp' from 'enp6s0.dhcp'. Using 'enp6s0' (ifindex=2).
enp6s0: BPF BOOTP exited from PID 1787
enp6s0: ARP announcing 192.168.1.118 (2 of 2)Here are the commands you wanted (resolved is enabled)
[newton@hackmachine ~]$ resolvectl status
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
Current DNS Server: fdd8:c401:baf9::1
DNS Servers: 1.1.1.1 8.8.8.8 192.168.1.1 fdd8:c401:baf9::1
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 9.9.9.9#dns.quad9.net 8.8.8.8#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2620:fe::9#dns.quad9.net
2001:4860:4860::8888#dns.google
DNS Domain: lan
Link 2 (enp6s0)
Current Scopes: LLMNR/IPv6 mDNS/IPv6
Protocols: -DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
[newton@hackmachine ~]$ stat /etc/resolv.conf
File: /etc/resolv.conf
Size: 252 Blocks: 8 IO Block: 4096 regular file
Device: 8,2 Inode: 918570 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-10-12 17:18:18.902888765 +0200
Modify: 2023-10-12 17:15:30.517217083 +0200
Change: 2023-10-12 17:15:30.517217083 +0200
Birth: 2023-10-12 17:15:30.517217083 +0200
[newton@hackmachine ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
search lan
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 192.168.1.1
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver fdd8:c401:baf9::1
[newton@hackmachine ~]$ pacman -Qs resolv
local/geoip 1.6.12-2
Non-DNS IP-to-country resolver C library & utils
local/python-resolvelib 1.0.1-1
Resolve abstract dependencies into concrete ones
local/systemd-resolvconf 254.5-1
systemd resolvconf replacement (for use with systemd-resolved)
[newton@hackmachine ~]$ Arch user for 2 years
Still a noob
Offline
That output is now pointless.
When using *only* dhcpcd (not NM!) and the "internet fails", post the outputs of
ip a
ip r
ping -C1 _gateway
ping -C1 192.168.1.1
ping -C1 8.8.8.8
ping -C1 google.comWild guess: disable IPv6, https://wiki.archlinux.org/title/IPv6#Disable_IPv6 "ipv6.disable=1"
Offline
post the outputs of
ip a ip r ping -C1 _gateway ping -C1 192.168.1.1 ping -C1 8.8.8.8 ping -C1 google.comWild guess: disable IPv6, https://wiki.archlinux.org/title/IPv6#Disable_IPv6 "ipv6.disable=1"
disabling IPv6 results in me getting no DHCP lease whatsoever. Here are the command outputs:
[newton@hackmachine ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> 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 noprefixroute
valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether e0:d5:5e:83:7b:06 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.118/24 brd 192.168.1.255 scope global dynamic noprefixroute enp6s0
valid_lft 42887sec preferred_lft 37487sec
inet6 fdd8:c401:baf9::550/128 scope global dynamic noprefixroute
valid_lft 42884sec preferred_lft 42884sec
inet6 fdd8:c401:baf9:0:7c31:957a:259:7a7b/64 scope global mngtmpaddr noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::d223:9b6a:d0b1:a9c5/64 scope link
valid_lft forever preferred_lft forever
[newton@hackmachine ~]$ ip r
default via 192.168.1.1 dev enp6s0 proto dhcp src 192.168.1.118 metric 1002
192.168.1.0/24 dev enp6s0 proto dhcp scope link src 192.168.1.118 metric 1002
[newton@hackmachine ~]$ ping -c1 _gateway
PING _gateway (192.168.1.1) 56(84) bytes of data.
From 192.168.1.118 (192.168.1.118) icmp_seq=1 Destination Host Unreachable
--- _gateway ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
[newton@hackmachine ~]$ ping -c1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.118 icmp_seq=1 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
[newton@hackmachine ~]$ ping -c1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.118 icmp_seq=1 Destination Host Unreachable
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
[newton@hackmachine ~]$ ping -c1 google.com
ping: google.com: Name or service not known
[newton@hackmachine ~]$ Arch user for 2 years
Still a noob
Offline
What is the behaviour of NIC without dedicated r8168 driver?
Could you show logs, more globally?
journalctl -q -b -p 3..3journalctl -q -b -p 4..4ip rI also have The F..g Saint R8168 NIC xD There were problems about 2013. I'm using only r8169 built-in kernel module with systemd-networkd.
Look here: 3.5 and 3.6 section, for IOMMU setting in BIOS:
https://wiki.archlinux.org/title/Networ … 8111/8168B .
Last edited by Fixxer (2023-10-12 17:42:24)
Offline
What is the behaviour of NIC without dedicated r8168 driver?
I used the default driver back when I was a noob at Linux (still am) but then I had the brilliant idea to download the dedicated driver. How can I revert it to use the built-in linux one? just sudo pacman -R r8168?
EDIT: Forgot about google, I'll change it to r8169 and post outcome.
Last edited by NewtonPL (2023-10-12 17:57:38)
Arch user for 2 years
Still a noob
Offline
just sudo pacman -R r8168?
Yes.
I have this revision:
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
Kernel driver in use: r8169
Kernel modules: r8169It's no need to reboot but I will be better to reboot
It's really weird hardware.
Then just try to enable NetworkManager with default settings, etc. Remember to also enable NetworkManager-wait-online.service.
EDIT:
Check system logs as I wrote before.
Last edited by Fixxer (2023-10-12 18:00:16)
Offline
It's no need to reboot but I will be better to reboot
It's re
Then just try to enable NetworkManager with default settings, etc. Remember to also enable NetworkManager-wait-online.service.
Based, after switching said drivers internet is reliable again. Before I mark it as solved, what was the cause of those drivers failing?
Arch user for 2 years
Still a noob
Offline
Check system logs as I wrote before.
I'll supply them tomorrow as right now as I'll have more free time on my hands and I can install the r8168 driver again, because logs now dont contain that internet issue.
Arch user for 2 years
Still a noob
Offline
I don't even try to inquire it. There was a period, don't remember when, that r8169 doesn't work well, so I've tried to use r8168. There was even worse, total freeze, no usb3.0, etc.
Maybe it depends on platform... and chipset revision. I don't know.
Check parameters of interface, R8168 it's gigabit, so check this way - should be 1000Mb/s with full duplex:
sudo ethtool enp6s0Check system logs in case of any errors, as I wrote above.
EDIT:
No, if r8169 works as it should, it's not necessary to install r8168. Just check in several days if current setup with r8169 is stable and doesn't cause strange, any additional errors.
pl_PL.UTF-8
Jak działa to zostaw - jeździć, obserwować ![]()
Last edited by Fixxer (2023-10-12 18:17:51)
Offline
Check parameters of interface, R8168 it's gigabit, so check this way - should be 1000Mb/s with full duplex:
sudo ethtool enp6s0
Here you go mordo:
Settings for enp6s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: slave
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: pumbg
Wake-on: d
Link detected: yesArch user for 2 years
Still a noob
Offline
All is ok, I have the same parameteres.
Jest w porządku, negocjuje max, 1 Gbit - tak ma być.
Offline
r8169 had massive issues in the early 6.4 kernels, https://bugzilla.kernel.org/show_bug.cgi?id=217596 - likely the reason why you went for r8168?
And then the out-of-tree driver has probably fallen behind changes in the 6.5 kernels.
(What's bewildering is the complete silence of the failure, no crash nor any kind of TCP errors…)
Historically, support for the RTL8111/8168/8411 chips is one-off, so be ready to try r8168 if you start getting trouble w/ r8169 in the future and don't hold a grudge ![]()
Offline
likely the reason why you went for r8168?
Nah, it was back when there were 5.x kernels and I had a network speed of Kb/s, as it turned out it was the ISPs issue but I kept the driver
Arch user for 2 years
Still a noob
Offline
The only issue is that CUPS says that "The printer is unreachable at this time"
Arch user for 2 years
Still a noob
Offline
And what is the printers URL?
Can you ping it? Or its IP?
Offline
And what is the printers URL?
Can you ping it? Or its IP?
It's all fine now, solved with a printer reboot
Arch user for 2 years
Still a noob
Offline