Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 246: | Line 246: | ||
|} | |} | ||
|} | |} | ||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Boxes | ! Boxes | ||
Line 301: | Line 297: | ||
================================ | ================================ | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! bitpost LAN IP addresses | |||
|- | |||
| All IP address management happens on bitpost, via dnsmasq, which, rocks. | |||
* Set up machine names in /etc/hosts | |||
* Set up IP leases by MAC address in top of: /etc/dnsmasq.conf | |||
Initially set up bitpost with DHCP as follows: | |||
* emacs /etc/conf.d/net | |||
config_eth0="dhcp" | |||
config_eth1="192.168.22.1/24" | |||
Turn DHCP-assigned IP into static as follows: | |||
* /etc/init.d/net.eth0 restart | |||
dhcpcd[3867]: eth0: carrier acquired | |||
dhcpcd[3867]: DUID 00:01:00:01:1a:c3:6f:da:e0:3f:49:a3:4b:d9 | |||
dhcpcd[3867]: eth0: IAID 49:a3:4b:d9 | |||
dhcpcd[3867]: eth0: rebinding lease of 66.57.227.83 | |||
dhcpcd[3867]: eth0: leased 66.57.227.83 for 86400 seconds | |||
dhcpcd[3867]: eth0: adding route to 66.57.226.0/23 | |||
dhcpcd[3867]: eth0: adding default route via 66.57.226.1 | |||
* emacs /etc/conf.d/net | |||
config_eth0="66.57.227.83/23" | |||
routes_eth0="default via 66.57.226.1" | |||
* /etc/init.d/net.eth0 restart | |||
We will monitor and log success here to see how it goes. | |||
* 2014/05/05 set to static 66.57.227.83/23, gateway 66.57.226.1 | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! view dnsmasq IP leases | |||
|- | |||
| | |||
cat /var/lib/misc/dnsmasq.leases | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Raspberry Pi 2 and 4k | |||
|- | |||
|You can override settings in /flash/config.txt; here's how, from [http://wiki.openelec.tv/index.php/Config.txt here]: | |||
mount -o remount,rw /flash | |||
nano /flash/config.txt | |||
# Make your changes, then ctrl+x to save. | |||
mount -o remount,ro /flash | |||
reboot | |||
Settings for 4k (from [https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=79330&start=25 here])... | |||
disable_overscan=1 | |||
hdmi_ignore_edid=0xa5000080 | |||
hdmi_cvt 3840 2160 30 | |||
framebuffer_width=3840 | |||
framebuffer_height=2160 | |||
hdmi_group=2 | |||
hdmi_mode=87 | |||
hdmi_pixel_freq_limit=400000000 | |||
max_framebuffer_width=3840 | |||
max_framebuffer_height=2160 | |||
I couldn't get 4K to stick in OpenELEC tho (except for the splash screen(!))... | |||
Settings->System->System->Video->Refresh->30Hz | |||
Settings->System->System->Video->Resolution->3840x2160 | |||
(it won't come up, just drops back to 1080p.. just as well, video at 30fps sucks...) | |||
And to overclock the Pi 2 (from [http://haydenjames.io/raspberry-pi-2-overclock/ here]): | |||
# OVERCLOCKING TO 1.1 GHz, EXTREME | |||
# default is 700 | |||
# this will NOT void the warranty :-) | |||
arm_freq=1000 | |||
sdram_freq=500 | |||
core_freq=500 | |||
over_voltage=6 | |||
temp_limit=80 #Will throttle to default clock speed if hit. | |||
# | |||
# there is also the "turbo" thingee (that "voids warranty", hot!!) | |||
#force_turbo=1 | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Updating mediawiki installation | |||
|- | |||
| | |||
cd /var/www/localhost/htdocs/mediawiki | |||
emacs LocalSettings_redirector.php (to hardcode each site) | |||
php maintenance/update.php | |||
(repeat for each site) | |||
emacs LocalSettings_redirector.php (to reset dynamic behavior) | |||
|} | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 452: | Line 527: | ||
|} | |} | ||
|} | |} | ||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Kodi on Ubuntu 14.10 setup | ! Kodi on Ubuntu 14.10 setup |
Revision as of 21:16, 20 September 2015
Expandgeneral |
---|
ExpandOpenELEC |
---|
ExpandUbuntu |
---|
ExpandBoxes |
---|
ExpandKodi on Ubuntu 14.10 setup |
---|
ExpandChroot into gentoo from (say) ubuntu |
---|
ExpandDisabling xscreensaver |
---|
Expandlinux software raid [mdraid] |
---|
ExpandAdding a new drive (with testing) |
---|
ExpandMedia Center drives |
---|
ExpandReset 1020 cable modem so it grants a real IP address (not private) |
---|
Expandthedigitalmachine LAN IP addresses |
---|
ExpandAdding a user to the server |
---|
ExpandCheck disk speed |
---|
ExpandUpdating mediawiki installation |
---|
ExpandCreating a new ssh key pair for no-password access to a remote system |
---|
ExpandBack up a linux system to a second bootable drive |
---|
Expandwallee gentoo networking |
---|
Expandrtorrent keys |
---|
Expandrtorrent fix torrents that didn't move into place properly |
---|