0

That other question was asking for what my range of options were for SSHing into my RPi from a Mac. Ethernet Gadget is one of several possible solutions. This question is about the specifics of the Ethernet Gadget solution. This question is not a dupe of the other. It's the same as first asking: what kinds of sandwiches do you sell? And then being told that PBJs are one type of sandwich that I could buy, and then me asking a second question about what kind of jelly is used in the PBJ. Two separate questions. Not dupes.


I have a Raspberry Pi 1 Model A here, and a MacBook Pro laptop. I'm trying to follow this Ethernet Gadget tutorial which will allow me to treat my RPi as an ethernet device and SSH into it from my Mac terminal.

It's a great tutorial but leaves me a little vague/fuzzy about the whole order of events. Here's my take on the process:

  1. Plug the SD card into my machine (in reality my Mac doesn't have an SD slot so I need to use a USB-to-SD adapter, but same principle here)
  2. Burn my OS (Raspbian Stretch) to the SD card
  3. Post-burn, edit a config.txt and a cmdline.txt file (as that link explains) that are now on the SD card
  4. Take my SD card out of my Mac and plug it into my RPi
  5. Power my RPi on
  6. Connect my RPi to my Mac via USB ethernet cable (or USB?!?)
  7. I should now be able to SSH into my RPi from my Mac terminal

Can anyone confirm/clarify the sequence of events here? Thanks in advance!

smeeb
  • 645
  • 3
  • 9
  • 22

1 Answers1

4

The tutorial you linked to only works with the Pi Zero and Pi Zero W. It does not seem to be mentioned explicitly in the Adafruit tutorial except in the title, but the original tutorial makes this clear:

To make it clear though, this can only work with the Raspberry Pi Zero.

If you do get a Pi Zero numbers 5 and 6 in your question can be accomplished by plugging a USB cable into your Mac and the Pi's USB port (no power cable needed). The following from the linked tutorial makes this clear.

That's two whole ways of being able to connect to your Pi zero just by plugging in a micro B cable! You don't even need to power your Pi seperately, as power is provided from your computer.

Steve Robillard
  • 34,988
  • 18
  • 106
  • 110