Blog by Max Ammann

Setup the Ethernet gadget of PI Zero with dnsmasq

Sometimes it makes sense to connect to the PI Zero by using the g_ether kernel module. This connection is way more reliable than the WiFi connection in certain environments.

The setup is quite simple. dnsmasq will provide a local DHCP and DNS server.

After a reboot of the PI you should see that the Ethernet Gadget on the connected USB host.

If you have trouble connecting it check the following:

Additional information on OTG:

Do you have Questions? Send an E-Mail to