Raish
Posts: 9
Joined: Wed Mar 13, 2013 10:26 am

SSH Local network

Fri Mar 15, 2013 9:35 am

Hi,

I'm as student of Belgium and for my internship I have to work with the RPi. I'm just a starter in the RPi world, and I have a question about SSH...

I'm having my RPi connected straight through the ethernet of the school with an extern monitor so I can see on a GUI what I'm doing on my RPi...
Now a teacher ask me to control my RPi via my personal laptop (which is connected to the same ethernet from the school but wireless). Now I want to do this via Putty... but I can't connected to Putty because he said "Network error: Connection timed out"

How I'm going to work:
1. plug in the ethernet cable form the school straight to my Pi
2. seen I'm having connection to the internet (ifconfig in terminal)
3. Having connection, shows me my IP-address which is 10.16.2.123
4. installing putty on my laptop via http://www.chiark.greenend.org.uk/~sgta ... nload.html
5. Putty installed, type in the IP-adress of my RPi in putty and click on open...

Then I get the error I said earlier "Network error: Connection timed out"
What the problem? Or what did I do wrong?

I'm working with Raspbian on my RPi

Thanks!

Glenn

SuPeRMiNoR2
Posts: 2
Joined: Wed Dec 19, 2012 1:13 am

Re: SSH Local network

Fri Mar 15, 2013 6:02 pm

There are lots of things that could be going wrong, but here are some things to check.
1. Is your laptop conected to the same LAN? -Never mind abought this one :S Derp
2. Is the ssh server enabled on your RPi? (If not run sudo raspi-config, and go to ssh, enable it, and restart.)

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

Re: SSH Local network

Fri Mar 15, 2013 9:31 pm

FWIW in case it's your PuTTY setup there are a few examples within my webpages at http://www.cpmspectrepi.webspace.virgin ... aspPi.html . Assuming the Pi does have its ssh server running (it normally does on a "clean" raspbian image) it's possible that the wired part of your schools network is on a different "subnet" to the WiFi part eg, your WiFi'd computer address is something like 10.16.2.123 and the (Pi's) wired one may be something like 10.16.1.234 (assuming that's allowed for the "non-internet" LAN addresses beginning with 10. - I use the 192.168... series). Another possibility is that the Pi may get its address by DHCP which may have changed from the one you may have noted down if it has been re-booted in the meantime. HTH, 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

Return to “Beginners”