These are various tasks I have set-up on Raspberry Pi's.
sudo raspi-config
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
sudo apt-get install python-dev python-setuptools python-pip minicom i2c-tools python-smbus git sudo easy_install --upgrade pytz sudo pip install apscheduler
Configure minicom:
sudo minicom -s
sudo nano /etc/hostname
Change to raspberrypi desired hostname
sudo nano /etc/hosts
Change raspberrypi (on line 127.0.1.1) to desired hostname
sudo nano /etc/network/interfaces
auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 10.0.0.## network 10.0.0.0 netmask 255.255.255.0 gateway 10.0.0.1 wpa-ssid "network" wpa-psk "password"
Release current DHCP leases
sudo rm /var/lib/dhcp/*
Reboot
sudo reboot
sudo nano /etc/network/interfaces
Add this to bottom of file:
interface eth0 static ip_address=10.0.0.### static routers=10.0.0.1 static domain_name_servers=10.0.0.1
Reboot
sudo reboot
HDMI 5" 800x480 Display Backpack - With Touchscreen
sudo nano /boot/config.txt
# uncomment if hdmi display is not detected and composite is being output hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (here we are forcing 800x480!) hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 max_usb_current=1