Difference between revisions of "Raspberry Pi"
Jump to navigation
Jump to search
Glyn.hudson (talk | contribs) |
Glyn.hudson (talk | contribs) |
||
Line 7: | Line 7: | ||
===Raspberry Pi Setup=== | ===Raspberry Pi Setup=== | ||
==== | ====Raspbian Linux Setup==== | ||
#Download [http://www.raspberrypi.org/downloads Raspbian 'Wheezy' SD card image ] ''This guide was made using 18th September 2012 release.'' | #Download [http://www.raspberrypi.org/downloads Raspbian 'Wheezy' SD card image ] ''This guide was made using 18th September 2012 release.'' | ||
#Copy SD card image on SD card using Linux tool "dd" for any other OS see [http://elinux.org/RPi_Easy_SD_Card_Setup Raspberry Pi tutorial] | #Copy SD card image on SD card using Linux tool "dd" for any other OS see [http://elinux.org/RPi_Easy_SD_Card_Setup Raspberry Pi tutorial] | ||
Line 13: | Line 13: | ||
#* Unmount SD card <code>$ umount /dev/sdb1</code> you will need to change sdb to match your SD card drive. If the card has more than one partition un mount that also <code>$ umount /dev/sdb2</code> | #* Unmount SD card <code>$ umount /dev/sdb1</code> you will need to change sdb to match your SD card drive. If the card has more than one partition un mount that also <code>$ umount /dev/sdb2</code> | ||
#* Write the .img to the card <code>$ sudo dd bs=4M if=~/Downloads/2012-09-18-wheezy-raspbian.img of=/dev/sdb</code> again you will need to replace sdb with your SD card device name and modify the location and name of the image as need. | #* Write the .img to the card <code>$ sudo dd bs=4M if=~/Downloads/2012-09-18-wheezy-raspbian.img of=/dev/sdb</code> again you will need to replace sdb with your SD card device name and modify the location and name of the image as need. | ||
# | # Put SD card into Pi and connect network and power | ||
# Find the IP address of the Pi and SSH to it <code>$ SSH [email protected]</code>, default password is 'raspberry' | |||
# Once successfully logged in run Raspbian setup <code>$ sudo raspi-config</code> | |||
#* Select ''Expand root partition to fill SD card'' finish and reboot | |||
#* One rebooted restart SSH connection and run <code>$ sudo raspi-config</code> again | |||
#* Change password for user Pi to something of your choice, make it secure it will be storing your home energy data! | |||
#* If you plan to run the Pi as a headless dataloggin emoncms server as we do then select ''memory-spli'' and choose the first setting a ''240/16'' split, the gives the CPU more memory at the expense of graphics which we're not using | |||
#* We also recommend selecting ''boot behaviour'' and disabling booting straight into a desktop since this increases boot time and wastes system resources. If required a desktop can be loaded with <code>$ startx</code>. | |||
#* Set ''locale'' and ''timezone'' as required | |||
#* Finish and reboot, remember to use your new password when SSH'ing back in! | |||
===Security Setup=== | ===Security Setup=== | ||
====Emoncms Setup==== | ====Emoncms Setup==== |
Revision as of 21:03, 22 October 2012
RFM12Pi
Overview
Design Files & Part List
Raspberry Pi Setup
Raspbian Linux Setup
- Download Raspbian 'Wheezy' SD card image This guide was made using 18th September 2012 release.
- Copy SD card image on SD card using Linux tool "dd" for any other OS see Raspberry Pi tutorial
- Insert SD card
$ df -h
to view mounted partition, make note of SD card device name, for me this was 'sdb' - Unmount SD card
$ umount /dev/sdb1
you will need to change sdb to match your SD card drive. If the card has more than one partition un mount that also$ umount /dev/sdb2
- Write the .img to the card
$ sudo dd bs=4M if=~/Downloads/2012-09-18-wheezy-raspbian.img of=/dev/sdb
again you will need to replace sdb with your SD card device name and modify the location and name of the image as need.
- Insert SD card
- Put SD card into Pi and connect network and power
- Find the IP address of the Pi and SSH to it
$ SSH [email protected]
, default password is 'raspberry' - Once successfully logged in run Raspbian setup
$ sudo raspi-config
- Select Expand root partition to fill SD card finish and reboot
- One rebooted restart SSH connection and run
$ sudo raspi-config
again - Change password for user Pi to something of your choice, make it secure it will be storing your home energy data!
- If you plan to run the Pi as a headless dataloggin emoncms server as we do then select memory-spli and choose the first setting a 240/16 split, the gives the CPU more memory at the expense of graphics which we're not using
- We also recommend selecting boot behaviour and disabling booting straight into a desktop since this increases boot time and wastes system resources. If required a desktop can be loaded with
$ startx
. - Set locale and timezone as required
- Finish and reboot, remember to use your new password when SSH'ing back in!