neoccccc
Posts: 7
Joined: Tue Apr 21, 2020 8:53 pm

can not connect to Pi using putty/ssh

Tue Apr 21, 2020 9:07 pm

Hello,

I am trying to use putty/ssh to connect to my pi. I have a desktop running win10 that is connected to the my router via ethernet connection. I also have a google wifi that's providing wireless connection to pi.

I was not able to reach Pi using my desktop. The only way to get it work is to connect my desktop to wireless network as well and then do an ssh.

Is there any ways for me to perform ssh to my pi without making my desktop to connect to the wireless as well?

Thanks!

pcmanbob
Posts: 9298
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: can not connect to Pi using putty/ssh

Wed Apr 22, 2020 9:11 am

So what IP addresses to do you from for your pi connected to the google wifi and your win 10 desktop connected to your broadband router ?

I suspect that they are 2 different networks... or that you have wifi isolation.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

neoccccc
Posts: 7
Joined: Tue Apr 21, 2020 8:53 pm

Re: can not connect to Pi using putty/ssh

Thu Apr 23, 2020 3:46 am

pcmanbob wrote:
Wed Apr 22, 2020 9:11 am
So what IP addresses to do you from for your pi connected to the google wifi and your win 10 desktop connected to your broadband router ?

I suspect that they are 2 different networks... or that you have wifi isolation.
Thanks for the tip! I check my router, my desktop is at 192.168.0.10 and my google wifi's address is 192.168.86.1. So they are at different networks? Is there any way to visit both networks? Thanks!

pcmanbob
Posts: 9298
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: can not connect to Pi using putty/ssh

Thu Apr 23, 2020 8:58 am

I assume the google wifi device is plugged in to your broadband router, If not then the following will not apply.

Does you google wifi device allow you to turn off its own internal DHCP server and use the routers one instead for all devices ?

If that's not possible then does your google wifi device allow you to do port forwarding ?
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

neoccccc
Posts: 7
Joined: Tue Apr 21, 2020 8:53 pm

Re: can not connect to Pi using putty/ssh

Fri Apr 24, 2020 8:06 pm

pcmanbob wrote:
Thu Apr 23, 2020 8:58 am
I assume the google wifi device is plugged in to your broadband router, If not then the following will not apply.

Does you google wifi device allow you to turn off its own internal DHCP server and use the routers one instead for all devices ?

If that's not possible then does your google wifi device allow you to do port forwarding ?
Thank you for the reply.

I don't think I can turn off the DHCP and use the router one since I will have to change it to bridge mode and loss wifi mesh. However, I google wifi can do port forwarding.

drgeoff
Posts: 10676
Joined: Wed Jan 25, 2012 6:39 pm

Re: can not connect to Pi using putty/ssh

Fri Apr 24, 2020 8:31 pm

I don't know the details of Google Wi-Fi but I can't think of any justifiable technical reason for bridge mode to necessitate loss of mesh operation. Certainly I know other makes of mesh Wi-F that don't have such a limitation.

pcmanbob
Posts: 9298
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: can not connect to Pi using putty/ssh

Sat Apr 25, 2020 8:16 am

Then on google wifi just port forward the external address of the google wifi ( this will be a local address on the routers wired LAN I assume )
and point it at your pi.

You will have to port froward each port you need to use such as 22 for ssh, VNC 5900 you might want to check this one.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

neoccccc
Posts: 7
Joined: Tue Apr 21, 2020 8:53 pm

Re: can not connect to Pi using putty/ssh

Sun Apr 26, 2020 8:58 pm

pcmanbob wrote:
Sat Apr 25, 2020 8:16 am
Then on google wifi just port forward the external address of the google wifi ( this will be a local address on the routers wired LAN I assume )
and point it at your pi.

You will have to port froward each port you need to use such as 22 for ssh, VNC 5900 you might want to check this one.
Thanks I will give it a shot. By the way, is there any way to make my pi to be visible as if it is in the same network as my router? I might not only need ssh, but also other applications(printers, scanners, nas servers etc)

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5590
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: can not connect to Pi using putty/ssh

Sun Apr 26, 2020 9:49 pm

neoccccc wrote:
pcmanbob wrote:
Sat Apr 25, 2020 8:16 am
Then on google wifi just port forward the external address of the google wifi ( this will be a local address on the routers wired LAN I assume )
and point it at your pi.

You will have to port froward each port you need to use such as 22 for ssh, VNC 5900 you might want to check this one.
Thanks I will give it a shot. By the way, is there any way to make my pi to be visible as if it is in the same network as my router? I might not only need ssh, but also other applications(printers, scanners, nas servers etc)
W.r.t. to your (ISP provided?) router does it only have one ethernet port? (mine has 4 + it's own WiFi so i can use either for quite a few devices :) )
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

pcmanbob
Posts: 9298
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: can not connect to Pi using putty/ssh

Sun Apr 26, 2020 11:40 pm

neoccccc wrote:
Sun Apr 26, 2020 8:58 pm

Thanks I will give it a shot. By the way, is there any way to make my pi to be visible as if it is in the same network as my router? I might not only need ssh, but also other applications(printers, scanners, nas servers etc)
Trying to make you pi visible from all possible network connections on a home network is not going to be easy , because you basically have an unmanaged network switch in your router, and in your google wifi ( google wifi does not actually have a switch as all connections are wifi) so you cant do any local network routing.

So you basically have 2 networks one being managed by your router and one being managed by google wifi and no easy way of routing traffic between them.

It would be nice to know exactly what this google wifi device actually is then we could look up its operating manual, or you could just post a link to its manual.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

neoccccc
Posts: 7
Joined: Tue Apr 21, 2020 8:53 pm

Re: can not connect to Pi using putty/ssh

Sat May 02, 2020 10:47 pm

pcmanbob wrote:
Sun Apr 26, 2020 11:40 pm
neoccccc wrote:
Sun Apr 26, 2020 8:58 pm

Thanks I will give it a shot. By the way, is there any way to make my pi to be visible as if it is in the same network as my router? I might not only need ssh, but also other applications(printers, scanners, nas servers etc)
Trying to make you pi visible from all possible network connections on a home network is not going to be easy , because you basically have an unmanaged network switch in your router, and in your google wifi ( google wifi does not actually have a switch as all connections are wifi) so you cant do any local network routing.

So you basically have 2 networks one being managed by your router and one being managed by google wifi and no easy way of routing traffic between them.

It would be nice to know exactly what this google wifi device actually is then we could look up its operating manual, or you could just post a link to its manual.
Thank you so much for your help!
google wifi manual is kinda hard to find, essentially all I can find useful is this: https://support.google.com/wifi/topic/9 ... ic=6246470

my other router is CODA-4582, and this is the manual: https://www.midco.com/contentassets/a8f ... a-4582.pdf

neoccccc
Posts: 7
Joined: Tue Apr 21, 2020 8:53 pm

Re: can not connect to Pi using putty/ssh

Sun May 03, 2020 6:12 am

FTrevorGowen wrote:
Sun Apr 26, 2020 9:49 pm
neoccccc wrote:
pcmanbob wrote:
Sat Apr 25, 2020 8:16 am
Then on google wifi just port forward the external address of the google wifi ( this will be a local address on the routers wired LAN I assume )
and point it at your pi.

You will have to port froward each port you need to use such as 22 for ssh, VNC 5900 you might want to check this one.
Thanks I will give it a shot. By the way, is there any way to make my pi to be visible as if it is in the same network as my router? I might not only need ssh, but also other applications(printers, scanners, nas servers etc)
W.r.t. to your (ISP provided?) router does it only have one ethernet port? (mine has 4 + it's own WiFi so i can use either for quite a few devices :) )
Trev.
Hello! Yes, the router is ISP provided. It has 4 ethernet port, and my google wifi is connected to one of the port to provide wireless connections around the house. And I turned off the ISP provided router's wireless, only leaving wired connection for my desktop. :)

Return to “Beginners”