My setup PI 3B+ OS : Raspian

Trying to connect the pi headless using my laptop. Both Pi and Laptop are connected to same wireless router.

Added the below config in wpa_supplicant.conf with correct credentials

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
country=<Insert country code here>

 ssid="<Name of your WiFi>"
 psk="<Password for your WiFi>"

Also added ssh file to boot folder fo SD card.

On bootup can see Pi is connected to Wifi, router lists the Pi with IP address( When I try to ping the Pi from Laptop using this IP, get below error

Pinging with 32 bytes of data:
Reply from Destination host unreachable.

please help in setting the Pi in headless mode correctly. Thanks


1 Answer 1


Thanks guys for the comments.

I got a clue from Ingo's comment. Issue was with the router configuration which was blocking clients to ping each other. Changed the router config and am able to ssh to my pi board

Special thanks to Ingo :) cheers :)

  • That security setting on the router was exactly my guess :-)
    – Ingo
    Mar 26, 2020 at 9:34

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.