User avatar
ILikePi99
Posts: 54
Joined: Fri Jan 02, 2015 11:00 pm

Connecting a pi to another computer

Sun Mar 01, 2015 9:20 pm

I've searched and searched but cant figure out how to connect my pi to my computer. I want to use an ethernet cable to ssh to my pi. I plan on doing this offline as a way to access my pi without a screen. What exactly do i need to do? I can try any sugestions on either a windows 8 computer or a Ubuntu linux computer. Any help is appreciated...
I appreciate all help! I'm a self-taught Java/Python programmer and I'm always ready to learn more! :)

Check out my blog at http://coderjoeblog.blogspot.com

User avatar
davidcoton
Posts: 5026
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: Connecting a pi to a computer

Sun Mar 01, 2015 9:40 pm

Which model Pi? A, A+, B, B+ or 2B?

Which bit of the connection is the problem? The physical cable, the Pi software, or the PC software?
Signature retired

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Connecting a pi to a computer

Sun Mar 01, 2015 9:42 pm

Are you trying to get a direct cable connection between your other computer and your Raspberry Pi? If so this appears to be a reasonable tutorial.

stan_w_gifford
Posts: 2
Joined: Tue Feb 24, 2015 9:13 pm

Re: Connecting a pi to a computer

Mon Mar 02, 2015 1:22 am

This was my solution using a Mac - however the same principles should apply.
BTW - I wanted to end up with the Pi completely headless - I succeeded.

Step 1 - Install Noobs - I used a hdmi to my mac monitor and a USB mouse and KB. (and network cable)

Step 2. In raspi_config enable SSH

Step 3 - connect from Mac to Pi via ssh

Step 3b - remove Keyboard, Mouse and HDMI from Pi - although I kept the HDMI cable in the monitor for subsequent testing of media centre!

Step 4 - install VNC client on Pi (Google for it - that s what I did)

Step 5 - Install vnc on Mac - google again

Step 6 - start session on Pi to display :1 (which does not exist)

Step 7 - connect from Mac to Pi via VNC

Step 8 - open large can of applause.

Stan

User avatar
ILikePi99
Posts: 54
Joined: Fri Jan 02, 2015 11:00 pm

Re: Connecting a pi to another computer

Tue Mar 03, 2015 3:50 am

thanks for the replies. Im using a B. The problem is that the computer wont connect to the pi. Not sure if the problem is software or hardware. I'll take a look at the tutorial and try a few things and get back later.
I appreciate all help! I'm a self-taught Java/Python programmer and I'm always ready to learn more! :)

Check out my blog at http://coderjoeblog.blogspot.com

User avatar
ILikePi99
Posts: 54
Joined: Fri Jan 02, 2015 11:00 pm

Re: Connecting a pi to another computer

Wed Mar 04, 2015 12:41 am

Ok! i got it working! So i used Xming on a windows 8 computer as well as putty. I edited the config file on the pi sd card to give it a ip address. Then after connecting the computer and pi via ethernet cable i ran putty and Xming. I got putty to connect to the pi and then entered lxsession to get a GUI going! Thanks for all the help!!!
I appreciate all help! I'm a self-taught Java/Python programmer and I'm always ready to learn more! :)

Check out my blog at http://coderjoeblog.blogspot.com

Return to “Advanced users”