Simon Griffee

Connect to Raspberry Pi From an iMac

15 July 2014 · 1 minute read

  1. Install Raspbian OS image into SD card
  2. Slide SD Card into Raspberry Pi, then connect an ethernet cable from the Pi to your router and connect a power cable to the Pi (in my case the power cable is also connected to a USB port in the router for power)
  3. Install nmap on Mac to find out IP address of Pi on network and then SSH into the Pi:

    1. brew install nmap
    2. sudo nmap -sn 192.168.1.0/24

      :::bash
      Starting Nmap 6.40 ( http://nmap.org ) at 2014-07-15 19:27 CEST
      Nmap scan report for 192.168.1.1
      Host is up (0.0021s latency).
      MAC Address: 78:6A:89:42:7A:76 (Unknown)
      Nmap scan report for 192.168.1.3
      Host is up (0.092s latency).
      MAC Address: 00:88:65:3F:94:A8 (Apple)
      Nmap scan report for 192.168.1.4
      Host is up (0.0035s latency).
      MAC Address: B8:27:EB:69:DC:41 (Raspberry Pi Foundation)
      Nmap scan report for 192.168.1.11
      Host is up.
      Nmap done: 256 IP addresses (4 hosts up) scanned in 3.44 seconds
      
  4. ssh -X pi@192.168.1.4

  5. Setup VNC server on the Pi

    1. apt-get install tightvncserver
    2. vncserver
    3. vncserver :1
  6. And on the iMac.

  7. And from any device with a terminal in the same network, including an iPhone with an application such as Prompt: ssh -X pi@192.168.1.4

To be expanded with more details.

What

Share