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.
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.
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.