Update: This is what I use as image customization parameter on the Firmware Selector
- for Raspberry (Zero)
- on 23.05rc3 (might be the useful for all 23.05.xx not tested so far)
Image Selector Installed custom packages (adds the common USB LAN dongle drivers, should be suitable for any Raspberry, not jsut for Zero):
kmod-usb-net-rtl8150 kmod-usb-net-rtl8152 kmod-usb-net-asix kmod-usb-net-asix-ax88179 kmod-usb-net luci-ssl kmod-usb-net-rndis usb-modeswitch usbutils
Image Selector Start Script (Specifically constructed for reconstructing an OpenWRT default network file config on the Raspberry Zero, maybe partly suitable for other RPIs as well: not sure if all Raspberry images miss those parameters in their default set):
#to add up to 2 USB RJ45 dongles, those will then appear as eth0 and eth1, default mapped to LAN and WAN:
#add eth0 to LAN interface:
uci add_list network.@device[-1].ports='eth0'#add back the WAN interface and eth1:
uci set network.wan=interface
uci set network.wan.proto='dhcp'
uci set network.wan.device='eth1'
uci commit
(still planning to investigate PR things in the future, for now just preserving content)