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 microcomputer 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. Share Internet through a Host Computer

  1. Launch “System Preferences” and click “Sharing”
  2. Click “Internet Sharing” in “Sharing” panel
  3. Select Wi-Fi in the pull-down menu: Sharing your connection from
  4. Check Ethernet in the box below the pull-down menu
  5. Click the checkbox besides “Internet Sharing” entry
  6. Select “Start” in a confirmation window
  7. Open a terminal and run the command “arp -a | grep -E ‘192.168.*bridge'” (Don’t forget the single quotation mark)
  8. Write down the first IP address which is the key to access the Raspberry Pi

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

  1. Open a terminal and execute the command “ssh pi@ip_addr” (Replace ip_addr with the IP address you wrote down in the previous step)
  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. Access the Raspberry Pi through Graphic User Interface (GUI)

  1. Access the Raspberry Pi through CLI first and extra configurations are needed to access it through GUI
  2. Run command “sudo raspi-config” and you should see a blue screen with options in a grey box in the center
  3. Select “Interfacing Options” (Use up and down arrow keys to navigate between vertical options and use the enter key to select)
  4. Select “VNC” in the submenu and select “Yes” (Use right and left arrow keys to nativate between horizontal options)
  5. Hit “OK” in the confirmation page and it will return back to the main menu
  6. Use Tab key to switch to horizontal options and use the right key to select “Finish”
  7. Download and install VNC software, such as realvnc and tightvnc, from the internet
  8. Luanch a VNC viewer and type the IP address in and hit connect
  9. Use the same user name and password to login