Skip to content

Instantly share code, notes, and snippets.

@chriserik
Last active December 24, 2015 05:49
Show Gist options
  • Select an option

  • Save chriserik/6752998 to your computer and use it in GitHub Desktop.

Select an option

Save chriserik/6752998 to your computer and use it in GitHub Desktop.
Raspberry PI headless configuration using OSX
== 1. Install Raspberry PI on 8GB SD card via official Guide
sudo diskutil unmount /dev/disk1s1
sudo dd bs=1m if=/Users/christian/Downloads/2013-09-25-wheezy-raspbian.img of=/dev/rdisk1
sudo diskutil eject /dev/rdisk1
== 2. Configure WLAN interface settings (recommended TP-Link WLAN dongle)
sudo nano /etc/network/interfaces
change to
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "***"
wpa-psk "***"
== 3. Assign a fixed IP via DD_WRT's DHCP service's manual MAC-address-based assignment (192.168.2.100) to which the ports 80 and 443 get forwarded and reboot raspberry.
== 4. Install required dependencies for RSN deployment target (api and index.html with cdn resources):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment