RNDIS Gadget
Portable computer with Flash drive size:
RNDIS Ethernet Gadget
config.txt dtoverlay=dwc2
cmdline.txt
modules-load=dwc2,g_ether
sudo nano /etc/dhcpcd.conf
usb0 internet 192.168.7.1
Windows 10 share
RNDIS Ethernet IPv4: Gateway 192.168.7.1
interface usb0
static ip_address=192.168.2.2/24
static routers=192.168.2.1
static domain_name_servers=8.8.8.8