Setup:RPI Raspian

From SingletonMillerWiki
Jump to: navigation, search


As of July '12 Raspian is the recommended operating installation for the Raspberry Pi.[1]

Contents

Installation

Flash your RPi with a vanilla build of Raspian using [2].

Connect to your TV, keboard, mouse, network cable and apply power to the RPi micro USB.

First Boot

Raspian will boot to an installation screen
Raspian First Boot Config Screen
.

Here you can scroll up and down using the keyboard arrows and select a menu item using the Enter key.

Navigate through each menu item and select the options and preferences depending on your requirements.

Here's mine. No value means I didn't enter the menu and left the defaults as is.

  • info:
  • expand_rootfs: see note below
  • overscan:
  • configure keyboard:
  • change_pass:
  • change_locale:
  • change_timezone:
  • memory_split:
  • ssh: yes enable
  • boot_behaviour: boot to CLI
  • update:
  1. Normally expanding the root partition Expand Image to fill SD card is an obvious thing to do, not doing this doesn't make you SD card backups any smaller Backup SD Image.

You can rerun the Raspian configure script using sudo raspi-config at any time to change your settings

SSH

I mostly connect to my RPi via SSH from another Linux PC.

I previously used the same PC to SSH in this RPi when it had a different distribution, attempting to connect to the new install highlighted that the SSH key no longer matched.

pi@192.168.0.20
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
fe:86:2e:6a:85:33:ee:e5:20:ca:0d:a4:db:e3:91:da.
Please contact your system administrator.

If you see this message, just follow the instructions to remove the old keys and then retry the connection to generate new valid keys.

ssh-keygen -f "/home/jack/.ssh/known_hosts" -R 192.168.0.20

Other Tasks

Consider the following.

  1. AddingUsers:RPi
  2. Installing EW-7811Un WifiDongle
  3. Updating the RPi Software Updating_RPi_Firmware Note the script for the wifi dongle does this automatically.
  4. Backup SD Image
  5. Accessing Network Shares

References

  1. Raspberrry Pi Foundation Downloads
  2. elinux Copying_the_image_to_an_SD_Card_on_Windows
Personal tools