Last active
August 29, 2015 14:10
-
-
Save douglasgoodwin/51acbf36b48af9ff47e1 to your computer and use it in GitHub Desktop.
Raspberry Pi configurations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /boot/config.txt | |
# For more options and information see | |
# http://www.raspberrypi.org/documentation/configuration/config-txt.md | |
# Some settings may impact device functionality. See link above for details | |
# rotate Display | |
display_rotate=1 | |
arm_freq=700 | |
core_freq=250 | |
sdram_freq=400 | |
over_voltage=0 | |
gpu_mem=128 | |
# 1080p at 32bit depth, DMT mode, portrait rotation | |
disable_overscan=1 | |
framebuffer_width=1080 | |
framebuffer_height=1920 | |
framebuffer_depth=32 | |
framebuffer_ignore_alpha=1 | |
hdmi_pixel_encoding=1 | |
hdmi_group=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/hosts | |
127.0.0.1 localhost | |
::1 localhost ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix | |
ff02::1 ip6-allnodes | |
ff02::2 ip6-allrouters | |
127.0.1.1 raspberrypi | |
206.202.171.201 mtatime.metro.net mtatime | |
# now /etc/init.d/ntp restart | |
# set the time zone using the raspberry config UI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# | |
# /etc/rc.local | |
# | |
# This script is executed at the end of each multiuser runlevel. | |
# Make sure that the script will "exit 0" on success or any other | |
# value on error. | |
# | |
# In order to enable or disable this script just change the execution | |
# bits. | |
# | |
# By default this script does nothing. | |
# Print the IP address | |
_IP=$(hostname -I) || true | |
if [ "$_IP" ]; then | |
printf "My IP address is %s\n" "$_IP" | |
fi | |
# ############################### # | |
# set up our crazy proxy | |
# ############################### # | |
echo 'Acquire::http::Proxy "http://mtaweb.metro.net:8118";' > /etc/apt/apt.conf.d/10proxy | |
export all_proxy="http://mtaweb.metro.net:8118/" | |
export ALL_PROXY=$all_proxy | |
export http_proxy=$all_proxy | |
export HTTP_PROXY=$all_proxy | |
export https_proxy="http://mtaweb.metro.net:8118/" | |
export HTTPS_PROXY=$https_proxy | |
export TZ='America/Los_Angeles' | |
alias curl="curl -x mtaweb.metro.net:8118" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment