Connecting to RPi via Ethernet Cable

There are a lot of how-to’s online describing ways to set up a Raspberry Pi without a monitor or keyboard, but none of them are simple or straightforward. This will be.

I’m going to walk through how to do this on a Mac, but something like this should also work on Windows using internet connection sharing and the Event Viewer.

1. Connect an unpowered raspberry pi to your Mac via an ethernet cable.

rpi-ethernet

2. Enable internet connection sharing.

  • Open “Sharing” in system preferences. (You can just type “Sharing” into spotlight.)
  • Click on “Internet sharing.”
  • In the “To computers using:” box, select the adapter you have the ethernet cable from the Raspberry Pi connected to. In my case this is “Thunderbolt ethernet.” Beware: if you are using a USB ethernet adapter, the generically named “USB Ethernet” is probably not what you want. Your USB adapter is will probably have a different name in this list.
  • Check the “On” checkbox for “Internet sharing.”

Screen-Shot-2015-06-17-at-4.30.56-PM

3. Open Console.

You can just type “Console” into spotlight.

Screen-Shot-2015-06-25-at-12.10.44-PM

4. Power-On your Raspberry Pi.

Screen-Shot-2015-06-25-at-12.31.20-PM

5. Watch Console output for DHCP ACK.

Screen_Shot_2015-06-17_at_4_31_57_PM

6. Log on to your Pi.

You can now log onto your Raspberry Pi via ssh using the ip address acquired in the previous step:


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *