Raspberry Pi
raspberry_pi_logo-300x282.jpg

The content of this page have been tested for Raspberry Pi 3, Model B (rpi3 hearafter) and MacBook Pro and may not work on other devices/models.

How to Get Started: Quick and Dirty [UI]

If you want to connect to your Raspberry Pi visually through a nice UI quickly:

  • Plugin your ready-to-boot MicroSD card (for example: download&image a copy of Raspberrian via https://www.raspberrypi.org/downloads)
  • Plugin your display device (for example: TV via an HDMI-to-HDMI cable, you can also use VGA adaptors as needed)
  • Power up your rpi3: via plugging in a MicroUSB cable connected to your power source (e.g. outlet)
  • Connect your mouse and keyboard: via USB ports on your rpi3
  • You're in!

How to Get Started: Efficiently [CMD]

If you want to connect to your rpi3 efficiently through a terminal window in your MacBook without using an external keyboard, mouse, and display, you probably want to connect the two via an ethernet (WLAN) cable:

  • Plugin your MicroSD cards to your MacBook via a Card Reader.
  • Find and edit "cmdline.txt" in the root by adding SPACE following by "ip = <your-favorite-new-ip-address>" at the very end of the text, for example: ip=169.254.1.1 [this step is optional!]
  • Create a new file in the root and name it as "ssh" without any extension and content.
  • Eject the MicroSD card from MacBook and plugin back in your rpi3 and power it up.
  • Connect your rpi3 to your MacBook via a WLAN ethernet cable.
  • Open a terminal window and try to access to rpi3 by typing either:
ssh pi@169.254.1.1

or simply with the default ip i.e.
ssh pi@raspberrypi
  • The password is "raspberry" and you get to agree with the terms and conditions by typing "yes" whenever it asks.
  • You're in!

Alternatively, you can get the IP by typing:

hostname -I
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License