I have a Raspberry Pi 3 web server connected to a Wi-Fi network and Windows 10 PC connected to that same network. From the PC, I cannot connect to the pi server or use SSH, however, if I connect the Pi to an ethernet cable, I can connect. Even worse, when using Wi-Fi instead of Ethernet, I can't even ping the Raspberry Pi from my PC. Any help is appreciated.
3 Answers
I had this issue also, and it was related to my routers AP Isolation setting in the wireless WAN area. Even though it was off, turning it on and back off fixed my issue. AP Isolation is for allowing separation of "guests" to access the internet without exposing the rest of your internal subnet.
The wifi interface will have a different IP address from the address of the LAN interface. Connect to the LAN interface and use ip a
to show the address on the wlan interface.
-
I made sure to use the IP for wlan0 after unplugging the cable. It still doesn't work. Aug 11, 2018 at 19:40
-
Connect a display to your Raspberry and try pinging the router on the WLAN. Aug 11, 2018 at 19:50
-
-
The run tcpdump on the wlan interface and see whether the ping from the PC arrives. If it doesn't, the problem is not on your PI. Aug 11, 2018 at 20:11
-
3Append it to the question, together with the output from
ip a
andip r
. Aug 11, 2018 at 20:31
Maybe silly, but I encountered this problem when I was connected to VPN... If that's the case, disconnecting from VPN should solve your problem.