I have now a lot of custom things in my x86 “router” so I don’t want to upgrade it to a newer version and start everything from the zero (custom scripts, rclone mounts, docker, samba, printer share, etc, etc) but I’m using now a realtek usb3 ethernet adapter for WAN what is not so reliable so I ordered a “M.2 A+E 2.5G Ethernet Adapter 2.5G/1G/100M Multi-Gigabit M.2 Network Card 8125B COM” adapter (the router machine is a HP Prodesk 600 G2 DM so it is fit there).
But there is no kmod-r8125 package and what I’m found for example in the ImmortalWRT downloads there is with newer kernel only. So it is not going up onto my machine.
So my specs is: root@OpenWrt:~# uname -a Linux OpenWrt 5.4.154 #0 SMP Sun Oct 24 09:01:35 2021 x86_64 GNU/Linux root@OpenWrt:~# cat /etc/openwrt_release DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='21.02.1' DISTRIB_REVISION='r16325-88151b8303' DISTRIB_TARGET='x86/64' DISTRIB_ARCH='x86_64' DISTRIB_DESCRIPTION='OpenWrt 21.02.1 r16325-88151b8303' DISTRIB_TAINTS=''
Can somebody help me to get that driver for that OpenWrt version?
Then that "somebody" would need to intentionally travel backwards to 5.4.154 in their build system correcting all the kernel patches backward etc.
Much more likely that you end up doing it by yourself.
Note that you need the kmod module built with exactly same kernel config symbols are your currently running build. the other "somebody" will likely not have that.