HomeHowTo › Installing Raspbian & Raspberry Notes

Installing Raspbian & Raspberry Notes

Installing Raspbian on the Raspberry PI using MacOS

Download the Raspbian image from http://www.raspberrypi.org/downloads and extract it. On a Macbook Pro with an integrated card reader the image can be copied to an SD card as follows:

  • Insert the SD card into the Mac
  • Open the Disk Utility
  • Select the SD card and format it with FAT
  • Select the SD card and click on the Info button
  • Determine the ID (i.e. disk1)
  • Unmount (deactivate) the UNTITLED partition of the SD card
  • Open the Terminal
  • Type: sudo dd bs=1m if=*raspbian.img of=/dev/diskX (if= being the Raspbian image, of= being the SD card) [this may take up to an hour, unfortunately there’s no progress bar]
  • Eject the SD card

 

Some Notes

Default Credentials

  • username = pi
  • password = raspberry

Basic Configuration

To run the configuration wizard, type sudo raspi-config in the Terminal.Raspberry Configuration Wizard  Raspberry Configuration Wizard

Advanced Configuration

Further tweaking is possible through /boot/config.txt (for example: hdmi_force_hotplug=1 if the connected HDMI display is not detected).

LAN Configuration

By default the LAN interface obtains its IP address via DHCP. If you would like to configure static addresses, follow these steps:

In the file /etc/network/interfaces replace this line:

[cce_bash]
iface eth0 inet dhcp
[/cce_bash]

with this:

[cc]
iface eth0 inet static
address 192.168.0.99
netmask 255.255.255.0
gateway 192.168.0.1
[/cc]

Then add a DNS server to /etc/resolv.conf:

[cce_bash]
nameserver 192.168.0.1
[/cce_bash]

Finally restart the networking interface:

[cce_bash]
sudo ifdown eth0
sudo ifup eth0
[/cce_bash]

Leave a Comment