Raspberry Pi/Installing
(→Installing Image) |
(→Ubuntu) |
||
Line 38: | Line 38: | ||
e.g. sudo dd bs=1M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb1 | e.g. sudo dd bs=1M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb1 | ||
4) eject SD Card | 4) eject SD Card | ||
− | eject /dev/ | + | sudo eject /dev/sdb1 |
====Getting wireless card to work on WEP==== | ====Getting wireless card to work on WEP==== |
Revision as of 17:45, 9 March 2015
Contents |
Download Wheezy
http://www.raspberrypi.org/downloads
Verify SHA1
http://support.apple.com/kb/ht1652
openssl sha1 [full path to file] e.g. openssl sha1 /Users/myaccount/Documents/1024SecUpd2003-03-03.dmg
Installing Image
MAC OSX
http://elinux.org/RPi_Easy_SD_Card_Setup#Using_command_line_tools_.281.29
1) identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1)
diskutil list
2) unmount SD Card
diskutil unmountDisk /dev/<disk# from diskutil> e.g. diskutil unmountDisk /dev/disk4
3) copy image onto SD Card
sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil> e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4
3b) to check status of copy
CRTL+T
4) eject SD Card
sudo diskutil eject <disk# from diskutil> e.g. sudo diskutil eject /dev/rdisk3
Ubuntu
1) identify the disk (not partition) of your SD card. e.g. /dev/sdb
sudo fdisk -l
Look for the Disk which has the correct volume size
i.e. Disk /dev/sdb 15.9 GB
Next look for the Device Boot path listed further down
Device Boot /dev/sdb1
2) unmount SD Card
sudo umount /dev/sdb1
3) copy image onto SD Card
sudo dd bs=1M if=<your image file>.img of=/dev/sdb from fdisk> e.g. sudo dd bs=1M if=2015-02-16-raspbian-wheezy.img of=/dev/sdb1
4) eject SD Card
sudo eject /dev/sdb1
Getting wireless card to work on WEP
http://jeffskinnerbox.wordpress.com/2012/11/05/wifi-support-on-raspberry-pi/
~$ nano /etc/network/interfaces # The loopback network interface< auto lo iface lo inet loopback # The primary (wired) network interface iface eth0 inet dhcp # The wifi (wireless) network interface auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wireless-essid YOUR_SSID wireless-key YOUR_WEP_KEY
PwnPi3.0
download form here
install .img just like you would a normal .img
if the pi fails to boot
download raspberry pi boot files from here
copy the boot directory to the raspberry pi and overwrite any matching files.