FAQ | Contact Us  |  Register  |  Login


UC Davis Center for Integrated Computing and STEM Education (C-STEM) --- Research and Outreach
Home > C-STEMbian > Access from Mac OS X

Access from Mac OS X

A Raspberry Pi can run stand alone, connected with a monitor, keyboard, and mouse. However, C-STEM Studio on Raspberry Pi can also be accessed through Windows, Mac, or Chromebook computers  using existing peripheral devices through Virtual Network Computing.

In order to set up your Raspberry Pi for remote access, follow these steps

1. Connect your Raspberry Pi to your laptop using an Ethernet Cable for network access and Micro-USB for power.

  • Mac laptops do not have ethernet ports, so you must use an ethernet to USB adaptor (shown in picture below).

Raspberry Pi to Mac laptop configuration

 

2a. Access the Raspberry Pi through Command Line Interface (CLI)

  1. Open a terminal and execute the command “ssh pi@raspberrypi.local”
  2. Type “yes” and hit enter if asking for authorication
  3. Type in the login password “raspberry”
  4. You may change the password by typing the command “passwd”.

2b. (Optional) If you will be using multiple Raspberry Pis in one room at the same time, change the host name of your Raspberry Pi through CLI.

  1. Log into the Pi through command line interface
  2. Run the command “sudo raspi-config” (without quotation marks). You should see a blue screen with options in a grey box in the center
  3. Select “Hostname” (Use up and down arrow keys to navigate between vertical options and use the enter key to select)
  4. Read the rules for a valid hostname and hit “OK”
  5. Remove the default hostname “raspberrypi” and type in a unique hostname, e.g. harry-rpi.
  6. Use the new hostname.local, e.g. harry-rpi.local, to access the Pi (2a step 1)

2c. Access the Raspberry Pi through Graphic User Interface (GUI)

  1. Download and install VNC software, such as realvnc and tightvnc, from the internet
  2. Launch a VNC viewer and type hostname.local, e.g. harry-rpi.local. (hostname is the one you set in section 3b) and hit connect
  3. Use the same user name and password to login