I been wondering on how to connect my Macbook and Raspberry Pi together over ethernet ( I do not have access to a crossover atm). I've set up, on the Pi side, by typing

sudo ip add *insert Pi ip here*/24 dev eth0

but when I attempt to use this exact line (changed ip), Macbook doen't connect. At all. Anyone know how to fix this?

  • I will suggest to ask this question on a MAC blog. From Rasbian is easy. Just make sure you have the SSH option enabled on your raspi-config -> Advanced Options.
    – fcm
    Commented Dec 9, 2015 at 2:40
  • Crossover Ethernet cables have not been needed for decades.
    – joan
    Commented Dec 9, 2015 at 9:59
  • If you want an easy way to connect directly to the pi, and you got a usb-serial converter, you can just connect tx and rx on the pi GPIO14 and GPIO15, and usb to mac, than make a serial connection. like screen, or something
    – el3ien
    Commented Dec 9, 2015 at 11:44
  • The following instructables helped me achieve this task using a standard Ethernet cable ... instructables.com/id/…
    – Kolban
    Commented Dec 9, 2015 at 15:11
  • @Kolban Doing that on recent (post May) Raspbian will break things.
    – Milliways
    Commented Dec 9, 2015 at 22:53

1 Answer 1


Recent versions of Raspbian (which use dhcpcd) allow ssh to work over a link-local address and avahai (which is a zeroconf implementation) enables programs to discover hosts running on a local network.

This means you can plug the Pi into a Computer (with an Ethernet cable) or a local network router and connect without knowing the IP address.

You can easily connect from OS X with ssh [email protected] (the default hostname is raspberrypi)

You can use a crossover cable, but you don't need one (most modern interfaces automatically detect).

I think this answers the question I think you are asking. See How do I set up networking/WiFi/static IP address? if you want more detail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.