ItisIAgain
Posts: 6
Joined: Thu Oct 25, 2012 9:06 am

Networking

Fri Jan 11, 2013 12:55 pm

I would like to connect to the pi from my pc. Guessing this must be possible, just don't know how
Is there some share I can connect to ?

And when I connect a USB HD to the pi, how to connect to this device ?

Thanks a lot !

User avatar
Polydnj
Posts: 25
Joined: Wed Oct 10, 2012 1:59 am
Contact: Website

Re: Networking

Fri Jan 11, 2013 2:09 pm

I think you first need a wired or wireless router, you can then get into your pi using an application like Bitvise SSH Tunnelier or Putty. You do not need a router, but it helps because logging into your router administration page will tell you the internet protocol address of you raspberrypi under its connected devices page. Then using the secure file transfer software you can log in using the given internet protocol address of the pi. That will only connect to a terminal user interface, is that what is needed?

Cromarty
Posts: 64
Joined: Thu Jan 03, 2013 5:03 pm
Location: Godalming, South-east UK
Contact: Website

Re: Networking

Fri Jan 11, 2013 2:21 pm

The later images of Raspbian have SSH enabled out-of-the-box, so if you know the IP address of your Raspi you can connect with an SSH terminal program like PuTTY or Tera-Term.

Look on your router's management page for connected devices. You will probably see 'raspberrypi' (assuming you have successfully booted and the Pi is wired to your network with a working cable.

When you see 'raspberrypi' on your router page, the easiest way to get the IP address is to type 'ping raspberrypi' into the command prompt on Windows. Some routers may not let you refer to it by name though because they don't contain local DNS.

If you see 'reply from ' several times coming back and don't see 'destination host unreachable', the IP address will be shown.

You can then use this address, or possibly just 'raspberrypi' to connect with SSH.
--
Michael Ray
Analyst/Programmer
Surrey, UK
4xB, 1xB+,
Creator and admin of:
raspberry-vi@freelists.org
Ham radio call: G4XBF
'Suddenly I am become death, destroyer of SD cards'

User avatar
Jim JKla
Posts: 2218
Joined: Sun Jan 29, 2012 11:15 pm
Location: Newcastle upon Tyne UK

Re: Networking

Fri Jan 11, 2013 2:30 pm

There's a page here http://elinux.org/RPi_A_Method_for_ssh_blind_login in the wiki thats an atempt to be a noob proof description of an ssh connection. ;)
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek ;)

If you find a solution please post it in the wiki the forum dies too quick

ItisIAgain
Posts: 6
Joined: Thu Oct 25, 2012 9:06 am

Re: Networking

Fri Jan 11, 2013 4:25 pm

Thanks, it worked

windy54
Posts: 86
Joined: Sat Dec 29, 2012 3:37 pm

Re: Networking

Wed Jan 23, 2013 10:25 am

I have been struggling trying to connect my laptop direct to the PI.

I have followed several sets of instructions from the web and am getting nowhere.

Here is the current situation:
1) I have set a static IP address of 192.168.1.150 on my PI. When I boot the PI and type in "ip a" text is displayed which leads me to believe it has taken the static address. ( cant copy the output as I am writing this on my PC).

2) when I connect an ethernet cable to the PI from my laptop all the leds on the PI are illuminated.

3)My laptop is running Windows VISTA.

4) when I ping the PI using "ping 192.168.1.150" I get a message
"Reply from 192.168.1.3: destination host unreachable"
As 192.168.1.3 is my laptops address I am assuming this is just telling me the laptop cant contact the PI.

5) I have disabled the firewall and that makes no difference and I have also used a crossover cable.

6) the ethernet card on my laptop is okay because I can ping my WIFI router when I cable to it.

7) To prove the cable I connected the laptop to a netbook running windows 7. In this configuration the netbook can ping the laptop but not vice-versa.

8) I have also pinged the PI from the netbook and that does not work.

Very confused, any ideas what to try next ?

User avatar
Jim JKla
Posts: 2218
Joined: Sun Jan 29, 2012 11:15 pm
Location: Newcastle upon Tyne UK

Re: Networking

Wed Jan 23, 2013 2:50 pm

I am going to set up my RPi with a direct link tonight to research this for you and get back to you as soon as I can.

My only worry is my test machines are XP Pro and XP Home and not Vista (spit) ;)
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek ;)

If you find a solution please post it in the wiki the forum dies too quick

User avatar
cyrano
Posts: 714
Joined: Wed Dec 05, 2012 11:48 pm
Location: Belgium

Re: Networking

Wed Jan 23, 2013 5:07 pm

windy54 wrote:I have been struggling trying to connect my laptop direct to the PI.
...
Very confused, any ideas what to try next ?
I suppose your laptop has a wireless connection to the router/Internet and the PI is on the ethernet port? That's what I read from the above...

I think you need to enable ICS (Internet Connection Sharing). How to do that on Vista, I don't know. With ICS the Raspberry doesn't need a static ip, since ICS will enable an internal DHCP server on the ethernet port. Configure it to share the wireless connection over Ethernet and it should work.

windy54
Posts: 86
Joined: Sat Dec 29, 2012 3:37 pm

Re: Networking

Tue Jan 29, 2013 3:59 pm

I am all sorted now, thanks to Neil-black.co.uk

I needed to set a static IPV4 address on my laptop with no gateway, static address on the PI with no gateway and ensure that when I am using "ip a" on the PI the Ethernet is connected to the PC. Otherwise no IP address is shown. As it was set to static I expected to see the address.

I have managed to remote login to the PI from my laptop using putty, so time to crack on with the next issue.

Thanks for the comments

Steve

Return to “Beginners”