I have a Raspberry Pi 3 B+ and I'm trying to use it to run some servos. I'm brand new to the hardware and networking part of this setup - I only have experience with programming, but not this part.

I want to set up the Raspberry Pi so I can program on it using my laptop.

I'm using this guide. But I'm stuck on the part where I SSH into the Pi.

I flashed the recommended Raspian download + other software to an SD card and inserted it into the Pi. I saved the blank ssh file to the boot folder, as well as a wpa_supplicant.conf file that has this inside:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

I found the IP of the Pi by plugging it into my router and using the Fing app to see the IP was When I try to SSH into that address using Putty, it gives me a network error and says the connection timed out.

I try to ping the Pi from my laptop and it says destination host unreachable.

Any ideas?

  • Have you activated sshd? It's not active by default. – Dougie Jan 19 at 21:25
  • 1
    @Dougie I don't think so. I thought that's what the ssh file was for. When I search for how to activate SSH, all the guides assume I'm already using a terminal, but I have to SSH into it first before I can use a terminal. – pez Jan 19 at 21:37
  • What do you mean by »boot folder«? It should be a partition. Could you check if the ssh file is gone? – jake Jan 19 at 21:49
  • 1
    You should verify that the IP ADDR is your RPi Ethernet port: – Seamus Jan 19 at 23:03
  • 1
    Possible duplicate of How do I set up networking/WiFi/static IP address?. Please tell us what step of the tutorial fails for you. – Ingo Jan 20 at 12:12

You should verify that the IP ADDR is your RPi Ethernet port. From your PC/Mac/Linux/whatever:

arp -a | grep --ignore-case b8:27:eb   

You should get something that looks like this:

? ( at b8:27:eb:.... on en0 ifscope [ethernet] 

Note that the first three octets (b8:27:eb) of the MAC address are important. All Raspberry Pis use these octets, so if you've got something different, then this is not a Raspberry Pi at this IP address.

Finding the IP address of your RPi is sort of tedious, but here's one way to do it.

The other way to do it is to let the "zero configuration networking" work its magic via avahi, and whatever corresponding app available for your PC/Mac/whatever. There are other Q&A here that can help with that.


I would confirm a few things first, before assuming it’s all wrong.

  • is the empty ssh file inside the main sd card folder? Also known as the root folder.
  • remember that when you boot once, the ssh file disappears unless you enable ssh through raspi-config
  • is the IP really the one you say it is?
  • do you have a cat5e or cat6 cable and an available port on your router?

The first two are self explanatory, however in order to find and configure the pi for headless boot, I would strongly recommend to connect to the network the old fashioned way first. Connecting an ethernet cable, it ensures it connects to the local network without a hitch and provides it with an IP faster and more reliably.

I do this every time I set up a Pi. Connect to ethernet, place the file and boot. I also use fing to find the IP addresses but I would recommend to run it before you plug it in, make note of the ip’s present then boot the PI and run fing again, the different IP should he obvious and then try to ssh.

From there run sudo raspi-config FIRST! And enable ssh. Otherwise youre going to have to keep adding the ssh file through the sd card.

Finally you can add the wifi settings by modifying the wpa_supplicant using nano or vim.

Hope this helps you debug your issues with your Pi

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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