Use your Computer’s Screen & Keyboard for your Raspberry Pi

Posted: April 11, 2013 in Guides, Raspberry Pi
Tags: , , , , , , , ,

Now you can connect to your Raspberry Pi with just a network cable!

No router or hub required, just a computer or laptop with a network port.

You can even configure it directly on your laptop using a SD-Card Reader, so it is great for those times when there isn’t a nearby screen available to use, but you simply have to get your “Pi On”.

Connect and use your Raspberry Pi with just a Network Cable, SDCard and Power!

Connect and use your Raspberry Pi with just a Network Cable, a standard Imaged SD Card and Power!

This creates a direct network link between your Computer and the Raspberry Pi, so you can use SSH and X11 (to run graphical programs on your laptop), VNC and use shared network folders.

See the Guide To…Direct Network Connection for more details.
Or see the cut-down version of the instructions:
In A Nut Shell…Direct Network Connection for more advanced users who won’t need all the details.

Please let me know if the Meltwater Mod doesn’t work for you, or if you have additional questions (I am keen to make this as clear and simple as possible).


UPDATE 16April13: I’ve also added a fix for using Tkinter and PyGame based python scripts with X11-Forwarding!

About these ads
  1. bobHuskey says:

    Didn’t work for me

    • If you send me more details about which part, then I can help you to get it working. Common things I’ve found is when computer has wifi, it can ignore the LAN port until you switch it off (you can switch it back on after), and ensuring the network cable is plugged in to both when powering up the RPi (ensure you wait for your computer to get the IP address set – can take time). If you use a screen and keyboard you can test each step.

  2. Alli Ahmad says:

    Thanks man it was really really great. I am a beginner and this helped me a lot.Your detailed instructions was very clear.Thanks for all the time you spent.

  3. anon says:

    Once i plug in the network cable what do i do/ (I’m a beginner)

    • Ensure you have the IP addresses set (as mentioned in the guide), then you use a program called putty (for windows) which you use the ip address of the RPi, to connect to it. This will allow you to control the RPi via the command line. You can also use Xing or VNC to use programs which use the desktop too.

  4. If anyone is interested, I created a tutorial for doing this using Vista Home and Open DHCP Server. You can read the tutorial here:

  5. guy477 says:

    thank you that helped

  6. raymond says:


    I’m confused?! I have a mac, so I disabled the wifi and then tried to find the ip address, but it said it was not connected?

    So, how do I find out the IP address of my mac if it’s not connected?!

    Sorry, this might sound dumb, but I can’t make sense of this.

    • 1. Ensure your wired LAN adaptor is set to automatic.
      2. Set the Raspberry Pi IP address by editing the cmdline.txt file (to something in the range 169.254.x.x (i.e.
      3. Then connect and power up your Raspberry Pi. It should get allocated an IP address in the range 169.254.x.x
      4. You should then able to connect using SSH as you would when connected to a normal network (since both computers are now on the same address ranges).

      Disabling the wifi just ensures that the computer doesn’t try to use that instead for ssh or pings (sometimes it will pick the first active connection).

      • raymond says:


        Thanks for getting back so quickly! You’re help is much appreciated!

        I have checked the wireless router and it is set to automatic.

        I changed the cmdline.txt by adding ip=

        I am assuming that I then open the Terminal utility on my matchbook pro and type the following:

        ssh -X -2 pi

        I then get a message:

        raymiroberts@‘s password: So I typed in raspberry (default)

        I then get an error:

        Permission denied, please try again.

        Can you suggest what is wrong?!

        Thank you


      • I’m not a mac user, but the command line I think should be “-l pi” that is a lower case L. Otherwise it is trying to log you in with raymiroberts as the user name.

        Sounds like you should be sorted then, as it has the network link to get that far! :)

      • raymond says:

        Thanks meltwater2000, everyting is now working fine, thanks to you!!!



      • Always happy to help. Thanks for providing enough detail that I could easily spot the problem.

  7. thanks for the useful article! I have been browsing for anything like to
    this. ill be following your rss feed so i won’t miss the good things! once again, super blog remember to keep this up! Please excuse me if my english is bad.

  8. ekafitrah says:

    thanks a lot bro

  9. Rishabh says:

    I bought a new raspberry pi b+ model and i tried to connect via ethernet …… but still its not working .. please tell me the whole procedure to install it using windows 7

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s