Skip to content

Raspberry Pi

Kevin Siwoff edited this page Apr 19, 2018 · 12 revisions

Helpful resources for working with Raspberry Pi and Openframeworks

Before you get started, these apps are invaluable setup utilities for the rPi

How to ssh into your rPi from Windows:

Need to back up or restore your rPi image?

Logging into enterprise wifi, you'll need a couple terminal commands:

#on your local computer
#This terminal command generates a PW HASH
echo -n 'YOUR_NYU_PASSWORD' | iconv -t utf-16LE | openssl md4

#add this string to PiBakery
echo "network={\n ssid=\"nyu\"\n proto=RSN\n key_mgmt=WPA-EAP\n pairwise=CCMP TKIP\n group=CCMP TKIP\n identity=\"YOUR_NETID\"\n password=hash:YOUR_PW_HASH\n phase1=\"peaplabel=0\"\n phase2=\"auth=MSCHAPV2\"\n }" << /etc/wpa_supplicant/wpa_supplicant.conf

Want to work with a USB or flash drive storage?

Helpful Linux terminal commands for working with the rPi:

  • Find all Pis on local network:
arp -na | grep -i b8:27:eb
#All raspberry devices MAC addresses started with B8:27:EB
  • Reboot your Pi
sudo reboot
  • Shutdown the Pi before unplugging power
sudo shutdown -h now
  • Automatically mount any usb drive
sudo apt-get install usbmount

OpenFrameworks

// in main.cpp
#include "ofAppNoWindow.h"
ofAppNoWindow window;
ofSetupOpenGL(&window,1024,768,OF_WINDOW);
Clone this wiki locally