I very recently got a Pi Zero and would really like to start using it. I, unfortunately, do not seem to be able to connect to it. I installed Raspbian on the SD card, attached a Wi-Fi dongle, and installed PuTTy (I'm using it for my Linux class as well, so it works fine). I watched a YouTube video, where in the cmdline.txt document, they set the IP address at the end of the document... ip= I did exactly this, waited a minute, and attempted to use PuTTy to connect, which timed out. Twice.

Is this an acceptable way to connect? Does the IP address need to be something in particular, or should any number (with the correct number of digits) work?

My cmdline.txt is now as follows...

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1
root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline
fsck.repair=yes rootwait ip=

2 Answers 2

4 is a fallback address range which hosts can use when they don't get a reply from the DHCP server.

If you force the pi to use, you'll have to add a 169.254.x.x address to your PC

Usually it's easier to use DHCP. Most people these days have a modem or router that is capable of DHCP server duties.

  • Thank you, that's exactly what I was looking for! If you happen to know, does this mean that I should not assign the IP address, and instead try to find it on the network via the router? Commented Mar 15, 2016 at 13:42

If your access point is configured with a password (and I cannot imagine why it would not be) you can also preconfigure that. Just search for "raspberry pi wifi_supplicant.conf." (I could find nothing here but you will find plenty of links.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.