Page 1 of 1
Connecting a pi to another computer
Posted: Sun Mar 01, 2015 9:20 pm
by ILikePi99
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...
Re: Connecting a pi to a computer
Posted: Sun Mar 01, 2015 9:40 pm
by davidcoton
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?
Re: Connecting a pi to a computer
Posted: Sun Mar 01, 2015 9:42 pm
by AndyD
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.
Re: Connecting a pi to a computer
Posted: Mon Mar 02, 2015 1:22 am
by stan_w_gifford
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
Re: Connecting a pi to another computer
Posted: Tue Mar 03, 2015 3:50 am
by ILikePi99
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.
Re: Connecting a pi to another computer
Posted: Wed Mar 04, 2015 12:41 am
by ILikePi99
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!!!