0

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
update_config=1
country=US
network={
ssid="NETWORK SSID"
psk="YOUR PASSWORD"
key_mgmt=WPA-PSK
}

I found the IP of the Pi by plugging it into my router and using the Fing app to see the IP was 10.10.10.110. 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 10.10.10.110 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
0

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

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

You should get something that looks like this:

? (10.10.10.110) 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.

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.