Installing kmod-usb-net-8152 on a RPi Zero

Hello everybody,

I have a RPi Zero W with a Waveshare USB/ETH hat. The USB-ports are recognized, but the ethernet port isn't. I need to have the option of the USB network card (RTL8152) for that. But I don't know how to install it, specifically because I cannot download it because there is nog ethernet card available.

What is the easiest way to make the ethernet port work, so I can continu setting up the Openwrt installation.

Gaston

Use the image builder to add it directly to your image, or copy the package to the SD card, before you put it in the RPi. Install the package using opkg, once you've booted the RPi.

1 Like

Building the image with the driver👍

I was indeed thinking of copying the package, but I don't know the right steps to do this.

This is what I am trying now. My first build. I will let you know the outcome.
Thanks.

Package is here https://downloads.openwrt.org/releases/21.02.3/targets/bcm27xx/bcm2708/packages/ (if you're running 21.02.3, if not, edit the URL).

DL it, save it to the SD card, and install it by running opkg install kmod-usb-net-rtl8152_5.4.188-1_arm_arm1176jzf-s_vfp.ipk once you've booted openwrt.

1 Like

That worked also, although you need to download and install the dependencies of this package too (kmod-usb-net and kmod-mii).
Thanks!

Yeah, you can see the dependencies at https://openwrt.org/packages/pkgdata/kmod-usb-net-rtl8152, click on kmod-usb-net to see it's depencies.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.