Handy! RasPi Guide To…Direct Network Connection from Meltwater’s Raspberry Pi Hardware Blog:
No keyboard or screen available for your Raspberry Pi, but you have a laptop?
There are often times when a HDMI monitor is not available to use with your Raspberry Pi. In those circumstances it can be very useful to remote connect using a nearby network and a laptop (see the Guide to…Remote Connections). However, sometimes there isn’t a network available either!
So how can we make use of a laptop screen and keyboard when there is no network?
As discussed previously (in the Guide to…Remote Connections), there is the option of using a (console) TTL-serial cable, however this only provides rather slow access. The serial connection won’t support X11 (which as we have seen, allows us to run graphical programs too), and you won’t be able use VNC or shared folders if you have them setup.
The answer is a simple network cable!
It is advisable to set this up before you need it so you can be sure that it is configured and working correctly. As long as you have an SD-Card reader available, you can switch between the configurations using a laptop (or directly on the Raspberry Pi if you have a screen/keyboard at the time).
Remember if you need the wired network for your computer (i.e. to get internet) then you shall have to make a choice about which one you wish to use (or get an extra network port by adding a USB network dongle). If you use wireless connections, then you can still have both!
Any standard network cable should be suitable (needs to have a male RJ45 connector on each end), most cables available will be fine for our needs.
Note: You can use a normal network cable since the Raspberry Pi LAN chip is smart enough to reconfigure itself for direct network connections (in the past older computers would have needed a special “cross-over” cable)….
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.
We now have Raspberry Pi Model B with 512MB RAM in stock and shipping now!