

These instructions were for a specific adapter talking to my Apple router. Once connected over WiFi, the next thing you should do is run some updates: sudo apt-get update -y Then try connecting via ssh (using the new hostname and password!). Do that from a wall adapter so that you can prove that the Pi Zero is now wireless. Plug your WiFi Adapter into the USB OTG cable and plug the other end into the data / peripheral port on your Pi Zero (see picture above). Shutdown the Pi Zero by executing the following at the command line: sudo poweroff When you are done, save the file (Ctr-X, Yes, Enter). Source-directory /etc/network/interfaces.d # Include files from /etc/network/interfaces.d:

Because there is only one USB port, you need to look at a few options.Įven though it would be convenient to have the adapter plugged in while you set it up, that's not completely necessary. Later, if you need a more compact design you can buy a Tiny OTG Adapter.īefore you can get the WiFi to work, you need to connect to the Pi Zero so that you can edit a file. The cable is handy for testing and plugging in various devices.

Miniature WiFi (802.11b/g/n) Module: For Raspberry Pi and more.You can buy it separately or as part of the Pi Zero budget pack.

The white cable in the picture above is a Micro-USB adapter. To connect my Pi Zero 1.3 over WiFi I ordered an adapter from AdaFruit. If you have a Pi Zero W, see: Setup Pi Zero W Headless Wifi These instructions are for a Pi Zero 1.3. UPDATE: Some instructions were updated for later versions of Raspbian.
