RPI: Headless USB

From Frotmail Projects
Revision as of 09:23, 5 April 2022 by Eric (talk | contribs) (Created page with "Only works on Raspberry Pi Zero, Zero W and 4b!!! Edit /boot/config.txt in [all] section: dtoverlay=dwc2 cmdline.txt, after rootwait (take care the line does not break up!!) modules-load=dwc2,g_ether g_ether.host_addr=dc:a6:32:xx:xx:xx g_ether.dev_addr=dc:a6:32:xx:xx:yy g_ether.dev_addr is the Pi Zero interface. g_ether.host_addr is the host PC interface. Reboot! Category:RaspberryPiCategory:Linux")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Only works on Raspberry Pi Zero, Zero W and 4b!!!

Edit /boot/config.txt in [all] section:

dtoverlay=dwc2

cmdline.txt, after rootwait (take care the line does not break up!!)

modules-load=dwc2,g_ether g_ether.host_addr=dc:a6:32:xx:xx:xx  g_ether.dev_addr=dc:a6:32:xx:xx:yy 
g_ether.dev_addr is the Pi Zero interface.
g_ether.host_addr is the host PC interface.

Reboot!