Our guide on Turning your Raspberry Pi Zero into a USB Gadget has been updated by Jay Doscher to include IP Addressing Options for the latest versions of Raspbian.
On newer versions of Raspbian, the IP addressing for all network cards is done on the Pi via the program called dhcpcd. If you just want to set a static IP address, you can edit the /etc/dhcpcd.conf file, but we’re going to take a different approach.
This page in the guide will walk you through:
- Disabling dhcpcd
- Setting your IP address on usb0 manually
- Setting up the l0 and wlan0 interfaces to act normally
- Run your own DHCP server on the usb0 port, so your Pi can provide an address to your Linux or Windows PC or Mac without any additional software on your desktop or laptop.
No comments:
Post a Comment