Skip to content

Instantly share code, notes, and snippets.

@orendon
Last active September 22, 2016 21:32
Show Gist options
  • Save orendon/8c2dbe75a5cd3c909f43d1e5dbe5d775 to your computer and use it in GitHub Desktop.
Save orendon/8c2dbe75a5cd3c909f43d1e5dbe5d775 to your computer and use it in GitHub Desktop.
Raspberry Pi 3 setup raspi
# sd formatter and overwrite sd card
# https://www.sdcard.org/downloads/formatter_4/eula_mac/
# or gparted on linux
diskutil list
diskutil unmountDisk /dev/disk[2]
sudo dd bs=1m if=~/Downloads/software/iot/2016-05-27-raspbian-jessie.img of=/dev/rdisk[2]
sudo diskutil eject /dev/rdisk[2]
sudo nmap -sN 192.168.0.0/24
ssh [email protected]
raspberry
# more
https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
https://codequs.com/p/B1o9iMnoo/getting-started-with-raspberrypi-without-screen/
#https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
#network={
# ssid="The_ESSID_from_earlier"
# psk="Your_wifi_password"
#}
sudo ifdown wlan0
sudo ifup wlan0
ifconfig wlan0
sudo nano /etc/network/interfaces
#auto wlan0
#allow-hotplug manual
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment