-
Download Raspbian Raw image
-
From the OS X command line. Following these eLinux SD Card Setup. To summarize:
diskutil list
- identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1)
diskutil unmountDisk /dev/<disk# from diskutil>
- e.g.
diskutil unmountDisk /dev/disk3
- e.g.
sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil>
- e.g.
sudo dd bs=1m if=2013-09-25-wheezy-raspbian.img of=/dev/disk4
- (This will take some time)
- e.g.
-
Start-up the Raspberry Pi
- Insert the SD Card
- Setup I/O access, using either of two possible options:
- External display
- Connect a keyboard to the RPi USB port
- Plug NTSC/PAL TV into RPi composite port or HDMI monitor to the HDMI Port.
- Turn on when connected with RPi Micro USB port cable. Powered via a computer USB port, or a USB wall charger.
- Terminal Emulator with USB to TTL Serial Cable console cable connected to the RPi GPIO
- Install PL2303 driver on OS X
- Adafruit Connect instructions
- Do NOT plug the micro USB to power on. It's already powered with the console cable.
- External display
-
Follow these Adafruit instructions for post boot setup using Raspi_Config. To summarize:
- Expand the SD card partition to it's full size. (e.g. 16GB)
- Using the Whole Screen
- Changing Timezone
- [optional] Booting into Desktop when using external monitor
- [optional] Change password
- Choose menu item "Advanced Options"
- Change Hostname e.g.
hostname_pi
- Enable the SSH server
- Update Raspi_Config
- Change Hostname e.g.
-
Start with any linux (raspbian) updates
sudo apt-get update
sudo apt-get upgrade
-
Optional
sudo apt-get install vim sudo apt-get install htop
-
I have a few old USB Belkin F5D8053.v4 WiFi which work even if not on the list
-
If Wifi, do WiFi management using WpaSupplicant.
sudo apt-get install wpasupplicant
- Generate a WPA PSK from an ASCII passphrase. Put output into wpasupplicant CONF file
wpa_passphrase "__SSID__"
- Create the
etc/network/interfaces
file (shown below). - Create the
/etc/wpa_supplicant/wpa_supplicant.conf
file (shown below).
-
Avahi-daemon implements the Apple Zeroconf specification, (like bonjour) after this it is easy to
ping hostname_pi.local
from OS X or other Zeroconf configured machine. Secondly, avaih-utils will make it easy to find other RPis on the local network.
sudo apt-get install avahi-daemon avahi-utils
-
Connect using SSH over wifi.
- Disconnect console cable which is connected to the RPi GPIO.
- Disconnect external monitor and keyboard.
- Power with the Micro USB cable.
ssh pi@hostname_pi.local
-
[Optional] Follow the Adafruit instructions to setup and control with desktop UI using VNC.