Setup:RPI Raspian

From SingletonMillerWiki
Revision as of 15:48, 23 July 2012 by Martin (Talk | contribs)

Jump to: navigation, search


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

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 (INSERT PIC HERE). 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: YES
  • overscan:
  • configure keyboard:
  • change_pass: yes, enter new password
  • change_locale: en_GB
  • change_timezone: Europe / London
  • memory_split:
  • ssh: yes enable
  • boot_behaviour: boot to CLI
  • update:

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

References

  1. Raspberrry Pi Foundation Downloads
  2. elinux Copying_the_image_to_an_SD_Card_on_Windows