You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raspberry Pi devices (especially Pi 5, but also Pi 4, Zero, etc.) support USB gadget mode for network connectivity via the USB-C port, but this is not documented for these platforms. This would provide a static IP address for initial configuration without needing to scan the network.
Use Case
From issue #330: User suggested adding a static network interface over the USB controller (USB Type-C port) with a static IP, making initial configuration much easier without needing nmap to discover the device.
Current State
USB gadget networking is already documented for allwinner/licheerv in configs/allwinner/licheerv/README.md
The licheerv config provides a good template showing:
Host machine setup (NetworkManager and iptables methods)
Device-side configuration
IP address customization
Connection sharing setup
Proposed Documentation
Add similar USB gadget networking documentation to Raspberry Pi configs, specifically:
Problem
Raspberry Pi devices (especially Pi 5, but also Pi 4, Zero, etc.) support USB gadget mode for network connectivity via the USB-C port, but this is not documented for these platforms. This would provide a static IP address for initial configuration without needing to scan the network.
Use Case
From issue #330: User suggested adding a static network interface over the USB controller (USB Type-C port) with a static IP, making initial configuration much easier without needing
nmapto discover the device.Current State
configs/allwinner/licheerv/README.mdProposed Documentation
Add similar USB gadget networking documentation to Raspberry Pi configs, specifically:
For Raspberry Pi 5, 4, Zero, etc.
Enable USB gadget drivers:
dwc2kernel module/etc/modulesor kernel cmdlineg_etheror similar gadget moduleDevice-side configuration:
Host machine setup:
Where to place overrides:
Implementation Details
From #330 discussion, this involves:
modules=sd-mod,usb-storage,ext4,dwc2,g_etherin cmdline.txt/etc/modulesin root overlayBenefits
Location
This documentation should go in:
configs/pi/README.md- add new section "USB Gadget Networking"Related
configs/allwinner/licheerv/README.md