Updates / Reboot keeps removing Ethernet network driver

I always do my updates with: yay -Syyu.

Once updates are finished and I reboot, EndOS has no internet connection and no Ethernet driver installed.

To Fix: After every update I need to ./autorun.sh the Ethernet driver and re-install, and then there is internet connection.

Is there a way to prevent this from happening? Also why is this happening? happens every single time.

Thank you

Are you manually installing the ethernet driver? Which driver and where did you get it from?

Hi Dalto,

Yes I am manually installing the driver. When I first installed EndOS there was no ethernet interface so I had to search for the driver and install manually. Ever since then I need to do it after every update.

I got it from here
https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

Can we see the output of inxi -Fxxxz

He needs the AUR package if it’s the realtek 2.5 Ghz Ethernet.

Edit: r8125-dkms

System:    Kernel: 5.10.56-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Xfce 4.16.0 
           tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 dm: LightDM 1.30.0 
           Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Desktop Mobo: Gigabyte model: B550I AORUS PRO AX v: x.x serial: <filter> 
           UEFI: American Megatrends v: F10 date: 09/18/2020 
CPU:       Info: 6-Core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3 rev: 0 cache: 
           L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 88641 
           Speed: 2177 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2177 
           2: 2181 3: 2188 4: 2186 5: 2178 6: 2514 7: 2188 8: 2188 9: 2192 10: 2185 11: 2193 
           12: 2300 
Graphics:  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti] driver: nvidia v: 470.57.02 
           bus-ID: 08:00.0 chip-ID: 10de:2486 class-ID: 0300 
           Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-1:2 
           chip-ID: 046d:0825 class-ID: 0102 serial: <filter> 
           Display: x11 server: X.org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: loaded: nvidia 
           unloaded: fbdev,modesetting,vesa alternate: nouveau,nv 
           resolution: <missing: xdpyinfo> 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: NVIDIA GA104 High Definition Audio driver: snd_hda_intel v: kernel 
           bus-ID: 08:00.1 chip-ID: 10de:228b class-ID: 0403 
           Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel 
           v: kernel bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403 
           Device-3: SteelSeries ApS SteelSeries Arctis 1 Wireless type: USB 
           driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2:2 chip-ID: 1038:12b3 
           class-ID: 0300 
           Device-4: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-1:2 
           chip-ID: 046d:0825 class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k5.10.56-1-lts running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.33 running: no 
Network:   Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8125 v: 9.005.01-NAPI 
           port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8125 class-ID: 0200 
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: f000 bus-ID: 07:00.0 
           chip-ID: 8086:2723 class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-8:4 
           chip-ID: 8087:0029 class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled rfk-block: 
           hardware: no software: no address: see --recommends 
Drives:    Local Storage: total: 1.36 TiB used: 180.03 GiB (12.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 500GB size: 465.76 GiB 
           speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: 2B2QEXE7 temp: 36.9 C 
           scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Crucial model: CT1000P5SSD8 size: 931.51 GiB 
           speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: P4CR311 temp: 44.9 C 
           scheme: GPT 
Partition: ID-1: / size: 456.88 GiB used: 180.02 GiB (39.4%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 511 MiB used: 280 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 32.4 C mobo: 16.8 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 261 Uptime: 20m wakeups: 0 Memory: 15.61 GiB used: 1.52 GiB (9.8%) 
           Init: systemd v: 249 Compilers: gcc: 11.1.0 Packages: pacman: 895 Shell: Bash 
           v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.05

Don’t forget to wrap the output with code tags here as it makes it easier to read.

Try installing this from AUR

https://aur.archlinux.org/packages/r8125-dkms/

A dkms module will be much easier to manage.

Thank you for your help dalto. Much appreciated.