PiSnips

From Custard
Jump to: navigation, search

Contents

Raspberry Pi Snips

Setting up WIFI

/etc/network/interfaces

auto lo wlan0

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
        wpa-driver wext
        wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet dhcp

/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="my_ssid"
        auth_alg=OPEN
        pairwise=CCMP TKIP
        group=CCMP TKIP
        key_mgmt=WPA-PSK
        proto=WPA2
        psk="my_passphrase"
}

Installing CGMiner

  • git clone https://github.com/ckolivas/cgminer.git
  • cg cgminer
  • sudo apt-get install pkg-config libtool
  • sudo apt-get install autoconf automake
  • sudo apt-get install libcurl4-openssl-dev
  • sudo apt-get install libudev-dev
  • ./autogen.sh
  • ./configure --enable-icarus

Raspberry PI as Wireless Access Point

RiscOS

Creating a RiscOS disk image on SD in Mac OSX.

  • sudo -s
  • bash-3.2# dd bs=1m if=~/projects/RaspberryPi/riscos-2012-11-01-RC6/ro519-rc6-1876M.img of=/dev/rdisk7

Perl modules

FPGA

Resources

Personal tools