User talk:Martin

From SingletonMillerWiki
Revision as of 15:30, 8 June 2013 by Martin (Talk | contribs) (build from a backup)

Jump to: navigation, search

vanilla pi

Here's my personal list of instructions for setting up a new RaspberryPi on my network.

  1. burn vanilla image to disk
    dd bs=4M if=~/Downloads/2013-05-25-wheezy-raspbian.img of=/dev/sdc
  2. mount the boot partition, edit config.txt, enable HDMItoVGA cable HDMItoVGASetup
  3. plug into Pi, added monitor and keyboard to pi
  4. do first boot setup, expand flash, enable camera, <advanced> enable SSH change host name
  5. reboot
  6. ssh into the Pi
    1. disable screen blanking / timeout Disable_Screen_Blanking
    2. edit /etc/hosts to manually added other network addresses
    3. install LDAP client and setup LDAP_Client_Setup
    4. test LDAP authentication
    5. add LDAP user to sudo
    6. install autofs Accessing_Network_Shares
    7. automount LDAP shares Accessing_Network_Shares#Autofs_for_LDAP
  7. give at least one LDAP user sudo privs AddingUsers:RPi#Raspian
  8. remove 'pi' user AddingUsers:RPi#Consider_removing_Pi_altogether
  9. install autoback script Auto_Update_Backup
  10. test camera Camera_Module_Setup
  11. install codec keys (can have more than on keys so file)

build from a backup

Instructions to rebuild a pi or clone from a previous backup

  1. mount the backup location
  2. cd ~
  3. unzip backup image unzip /media/nfsshares/Public/RPi_autobuild_backup/<backup>.tar.gz
  4. burn the image dd bs=4M if=~/Downloads/2013-05-25-wheezy-raspbian.img of=/dev/sdc
  5. burn vanilla image to disk
    dd bs=4M if=<backup>.img of=/dev/<sdX>
  6. boot the SD in the new Pi
  7. ssh to the new pi as an LDAP user with sudo privs
  8. user raspi-config to use whole SD card and (advanced) change hostname
  9. disabling the autobackup script in /etc/cron.daily.