Raspberry Pi

Downloads
RASPBIAN Debian Wheezy

http://www.raspberrypi.org/downloads/

Installation
https://www.youtube.com/watch?v=G2M1Ev_ShP0

Install an enhanced version of dd to show progress bars...

sudo aptitude install -y dcfldd

Insert the SD card, and check which disk Linux sees...

cat /proc/partitions

Extract the downloaded .zip file...

cd /path/to/download/ unzip 2014-06-20-wheezy-raspbian.zip

Now, as root user, run dcfldd instead of the normal dd...

sudo dcfldd bs=4M if=2014-06-20-wheezy-raspbian.img of=/dev/sdb

Install SSH Server For Remote Access
http://www.raspberrypi.org/documentation/remote-access/ssh/README.md

Customisation With Raspi-Config
Most settings and changes to the system can now be made easily with this new tool called raspi-config.

sudo raspi-config

http://www.raspberrypi.org/documentation/configuration/raspi-config.md

First Boot With Windows Generated SD-Card
The first screen on boot up gives you various options, one of which is to resize the OS to use all of the SD-Card. Do this, then set keyboard, locale etc continue through until you are at a point where you can reboot the system.

Command Line Aliases
Open a terminal and edit the .bashrc file:

Linux Terminal:~$ nano ~/.bashrc

Edit or add the following lines:

nano alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' alias get='get_iplayer/get_iplayer' alias grep='grep --color=auto' alias install='sudo apt-get install' alias l='ls -CF' alias la='ls -A' alias ll='ls -lah' alias ls='ls --color=auto' alias myip='curl ifconfig.me' alias ping='ping -c3 -n -i 0.2 -W1' alias pingg='ping www.google.co.uk' alias pingp='ping www.paully.co.uk' alias rav='rsync -a -v' alias remove='sudo apt-get autoremove' alias rm='rm -iv' alias search='sudo apt-cache search' alias update='sudo apt-get update' alias upgrade='sudo apt-get upgrade' alias uu='sudo apt-get update && sudo apt-get upgrade' alias uuf='sudo apt-get update && sudo apt-get dist-upgrade'

CTRL+O then CTRL+X to save and close the file.

Reload the file:

Linux Terminal:~$ source ~/.bashrc confirm the entries alias

Default Username & Password - Debian
Username: pi Password: raspberry

Default Username & Password - Other Distros
Other Distros

FAQ and other resources
http://www.raspbmc.com/wiki/user/frequently-asked-questions/

http://simonthepiman.com/beginners_guide_to_raspberry_pi_unix.php

http://www.raspberrypi-tutorials.co.uk/set-raspberry-pi-wireless-network/

Hardware Lister (Missing Command Line Utilities)
Linux Terminal $: sudo apt-get install lshw

USB Connected Hardware Lister (Missing Command Line Utilities)
Linux Terminal $: sudo apt-get install usbutils

Switching to root - Debian
Linux Terminal %: sudo su

SD Card Partition Size
http://elinux.org/RPi_Resize_Flash_Partitions

How To Find Out The Actual SD Card Size

dmesg |grep 'SD' cd /sys/class/mmc_host/mmc?/mmc?:* echo "man:$(cat manfid) oem:$(cat oemid) name:$(cat name) hwrev:$(cat hwrev) fwrev:$(cat fwrev)"

Thanks - http://elinux.org/RPi_SD_cards

Font Size In Terminal
sudo dpkg-reconfigure console-setup

Select your font from here to make a permanent change.

HOWTO: FIX: Missing Characters On Either Side Of The Screen
sudo nano /boot/config.txt #disable_overscan=1 overscan_left=30 overscan_right=30

30 is an arbitrary figure, experiment for your own setup.

Wireless Dongle
Bus 001 Device 005: ID 148f:5370 Ralink Technology Corp. RT5370 Wireless Adaptor

https://www.modmypi.com/wireless-usb-1n-nano-adaptor-802.11N-wifi-dongle?filter_name=Wireless

https://www.modmypi.com/blog/how-to-set-up-the-ralink-rt5370-wifi-dongle-on-raspian

...

TP-Link TL-WN725N v.1 - Realtek 8188CUS chipset