Removing networkmanager-openvpn caused wired connections to not work

Hello all, on a fresh install of Endeavour with KDE i have removed the OpenVPN package, however after removing that it seems like no wired connection work. It has only removed this package which seemed to have no dependencies.
What is the default config for Endeavour with network connections? Is there a guide? on Arch Wiki i can find how to setup many different things, however i would like to restore default config for Endeavour and find out what i broke.
Can someone please guide me in the right direction?

Trying to get it up via CLI:
nmcli connection show
NAME UUID TYPE DEVICE
Wireless 78b83914-a546-46f2-bdb2-cb86f7c9882a wifi wlan0
Wired connection 1 91fa4eae-598e-3766-9b9b-68bbd8f81239 ethernet –

nmcli connection up “Wired connection 1”
Error: Connection activation failed: No suitable device found for this connection (device enp7s0 not available because device has no carrier).

Look in /var/log/pacman.log to verify exactly which packages changed.

Removing networkmanager-openvpn should not affect anything other than OpenVPN support in Network Manager, which means that something else changed.

It did do an kernel update, here is the log file:

Blockquote
[2021-10-05T09:42:57+0300] [PACMAN] Running ‘pacman -S -y -u --config /etc/pacman.conf --’
[2021-10-05T09:42:57+0300] [PACMAN] synchronizing package lists
[2021-10-05T09:42:58+0300] [PACMAN] starting full system upgrade
[2021-10-05T09:43:10+0300] [ALPM] running ‘60-mkinitcpio-remove.hook’…
[2021-10-05T09:43:10+0300] [ALPM] transaction started
[2021-10-05T09:43:10+0300] [ALPM] upgraded systemd-libs (249.4-1 → 249.4-2)
[2021-10-05T09:43:10+0300] [ALPM] upgraded ca-certificates-mozilla (3.70-1 → 3.71-1)
[2021-10-05T09:43:10+0300] [ALPM] upgraded fribidi (1.0.10-1 → 1.0.11-1)
[2021-10-05T09:43:10+0300] [ALPM] upgraded systemd (249.4-1 → 249.4-2)
[2021-10-05T09:43:10+0300] [ALPM] upgraded libsoup3 (3.0.0-2 → 3.0.1-1)
[2021-10-05T09:43:10+0300] [ALPM] upgraded eos-apps-info (1.1-1 → 1.1-2)
[2021-10-05T09:43:10+0300] [ALPM] upgraded nss (3.70-1 → 3.71-1)
[2021-10-05T09:43:10+0300] [ALPM] upgraded lib32-nss (3.70-1 → 3.71-1)
[2021-10-05T09:43:11+0300] [ALPM] upgraded linux (5.14.8.arch1-1 → 5.14.9.arch2-1)
[2021-10-05T09:43:12+0300] [ALPM] upgraded linux-headers (5.14.8.arch1-1 → 5.14.9.arch2-1)
[2021-10-05T09:43:12+0300] [ALPM] upgraded networkmanager-openvpn (1.8.14-1 → 1.8.16-1)
[2021-10-05T09:43:12+0300] [ALPM] upgraded r8168 (8.049.02-23 → 8.049.02-25)
[2021-10-05T09:43:12+0300] [ALPM] upgraded systemd-sysvcompat (249.4-1 → 249.4-2)
[2021-10-05T09:43:13+0300] [ALPM] transaction completed
[2021-10-05T09:43:13+0300] [ALPM] running ‘20-systemd-sysusers.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-catalog.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-daemon-reload.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-hwdb.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-sysctl.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-tmpfiles.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-udev-reload.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-05T09:43:13+0300] [ALPM] running ‘40-update-ca-trust.hook’…
[2021-10-05T09:43:14+0300] [ALPM] running ‘60-depmod.hook’…
[2021-10-05T09:43:15+0300] [ALPM] running ‘90-mkinitcpio-install.hook’…
[2021-10-05T09:43:15+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘default’
[2021-10-05T09:43:15+0300] [ALPM-SCRIPTLET] → -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2021-10-05T09:43:15+0300] [ALPM-SCRIPTLET] ==> Starting build: 5.14.9-arch2-1
[2021-10-05T09:43:15+0300] [ALPM-SCRIPTLET] → Running build hook: [base]
[2021-10-05T09:43:15+0300] [ALPM-SCRIPTLET] → Running build hook: [udev]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [autodetect]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [modconf]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [block]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [keyboard]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [keymap]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [resume]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [filesystems]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] → Running build hook: [fsck]
[2021-10-05T09:43:16+0300] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] ==> Image generation successful
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘fallback’
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] → -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] ==> Starting build: 5.14.9-arch2-1
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] → Running build hook: [base]
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] → Running build hook: [udev]
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] → Running build hook: [modconf]
[2021-10-05T09:43:17+0300] [ALPM-SCRIPTLET] → Running build hook: [block]
[2021-10-05T09:43:18+0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2021-10-05T09:43:18+0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2021-10-05T09:43:18+0300] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2021-10-05T09:43:19+0300] [ALPM-SCRIPTLET] → Running build hook: [keyboard]
[2021-10-05T09:43:20+0300] [ALPM-SCRIPTLET] → Running build hook: [keymap]
[2021-10-05T09:43:20+0300] [ALPM-SCRIPTLET] → Running build hook: [resume]
[2021-10-05T09:43:20+0300] [ALPM-SCRIPTLET] → Running build hook: [filesystems]
[2021-10-05T09:43:21+0300] [ALPM-SCRIPTLET] → Running build hook: [fsck]
[2021-10-05T09:43:21+0300] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2021-10-05T09:43:21+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2021-10-05T09:43:21+0300] [ALPM-SCRIPTLET] ==> Image generation successful
[2021-10-05T09:43:21+0300] [ALPM] running ‘dbus-reload.hook’…
[2021-10-05T09:43:21+0300] [ALPM] running ‘eos-reboot-required.hook’…
[2021-10-05T09:43:21+0300] [ALPM-SCRIPTLET] ==> INFO: Reboot is recommended due to the upgrade of core system package(s).
[2021-10-05T09:43:21+0300] [ALPM] running ‘rebuild-detector.hook’…
[2021-10-05T09:43:22+0300] [ALPM] running ‘update-desktop-database.hook’…
[2021-10-05T09:43:36+0300] [PACMAN] Running ‘pacman -R -n -s --config /etc/pacman.conf – networkmanager-openvpn’
[2021-10-05T09:43:38+0300] [ALPM] transaction started
[2021-10-05T09:43:38+0300] [ALPM] removed networkmanager-openvpn (1.8.16-1)
[2021-10-05T09:43:38+0300] [ALPM] transaction completed
[2021-10-05T09:43:38+0300] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-05T09:43:38+0300] [ALPM] running ‘dbus-reload.hook’…

So it upgraded network manager, then i saw that the openvpn package was installed, probably it’s default so i removed it.

On how to setup network manager, i see that many reference this config folder:

/etc/NetworkManager/conf.d

Which for me is empty and the config file NetworkManager.conf is empty too.

Could you post the output of both:

inxi -Naz
ip a

Yep:

[user@Linux]$ inxi -Naz
Network: Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280
Device-2: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: N/A modules: r8169 port: e000 bus-ID: 06:00.0
chip-ID: 10ec:8125 class-ID: 0200
Device-3: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel port: d000 bus-ID: 07:00.0
chip-ID: 8086:1539 class-ID: 0200

[user@Linux]$ 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
valid_lft forever preferred_lft forever
2: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 24:4b:fe:59:d4:1b brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 14:f6:d8:7f:05:c6 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.198/24 brd 192.168.10.255 scope global dynamic noprefixroute wlan0
valid_lft 7162sec preferred_lft 7162sec
inet6 fe80::10c4:e84f:5466:44f5/64 scope link noprefixroute
valid_lft forever preferred_lft forever

So, this one should work without additional drivers - is it connected?

This one looks like one of those awkward ones that sometimes works with r8168 or with r8169. Given this,

either the r8168 driver doesn’t load correctly with 5.14.9.arch2-1 (so try r8168-dkms), or you don’t need it and should remove it so r8169 from the kernel is used instead.

1 Like

Correct, the Intel one should work out of the box, always had.(I dual boot and it’s not a hardware issue)

I tried to install this r8168-dkms and now ethernet works on the realtek card. It conects and works correctly.

However the Intel one still refuses to work for some reason, even though the driver seems to load.

Might have spoken to early. Tried to switch the cable between the cards and as long as i boot with the cable inside rtl card, it works. If i switch the cables then it does not start the detection process again and get an ip.