Rtl8152 kmod package incompatible OpenWrt 22.03.2

On the weekend I upgraded from 21.02.3 to 22.03.2 ext4 on my Raspberry Pi4. I didn't realise it was destructive and so lost my Yamon install (have since found the configuration tab where one can set folders to keep....so next time...)

Anyways, I lost Internet since the USB ethernet was not being recognised. I then happened upon this post which eventually let me figure out how to install packages manually without Internet.
Whilst the dependencies installed fine, I kept getting an architecture error on the main file.

* pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-net-rtl8152 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-net-rtl8152.

I got the packages from here https://downloads.openwrt.org/releases/22.03.2/targets/bcm27xx/bcm2711/packages/ with the OpenWRT home page telling me
Target Platform bcm27xx/bcm2711

In the end swapped over to a 2nd SD card that I'd installed 22.03.02 directly to and (luckily) had installed the USB drivers when it was connected to the Internet.

Was I following the correct path and is this a bug, or am I missing some step (in case it happens again).

ok. since I had the install running one a 2nd device, I reset the interface to DHCP to gain Internet through the live OpenWRT.

Now it seems theres a firmware missing. But I'm not seeing that in the package list I linked before

Is the file missing from the list, or should I be looking somewhere else for that file?

Here:

https://downloads.openwrt.org/releases/22.03.2/packages/aarch64_cortex-a72/base/r8152-firmware_20220411-1_aarch64_cortex-a72.ipk

1 Like

Out of interest, is there a way to preserve these drivers through upgrades?

use the online image builder.
create a customized image, with the additional packages.

The attended sysupgrade luci app, use that.