I'm trying to connect Raspberry pi3 via ssh over WIFi. its not working. Raspberry Pi is able to connect to router's wifi but ssh shows error
og@westside:~$ ssh -v [email protected]
OpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.0.145 [192.168.0.145] port 22.
debug1: connect to address 192.168.0.145 port 22: No route to host
ssh: connect to host 192.168.0.145 port 22: No route to host
I'm able to ssh into Pi when its connected direct to router's Ethernet port. but when I try over WiFi(removing Ethernet Cable and connecting Pi to router). Its shows above error message.
wlan0 IP=192.168.0.145-shows error when ssh to it. Raspberry Pi's wifi address.
eth0 IP=192.168.0.103 -ssh successfully - Raspberry Pi's Ethernet address.
- I've saved my Router's details in
wpa_supplicant.conf
file. - I've tried with static and dhcp configuration on raspberry pi's
wlan0
, through editing/etc/dhcpcd.conf
. - My router is TP-Link TL-WR841N / TL-WR841ND
- Laptop: Ubuntu
Is it possible that my router block SSH between two wireless connected devices ? but then again Its not blocking when One wireless connected device(Ubuntu) try to ssh to Pi(connected to router via Ethernet)
Please help me, I've wasted two days searching for this, I'm going nuts.
dhcpcd
file? I assume your Pi is not taking the IP from the router.raspi-config
make sure yourssh
is enabled.