|
|
(34 intermediate revisions by the same user not shown) |
Line 2: |
Line 2: |
| ! general tasks | | ! general tasks |
| |- | | |- |
| |[[Flash Drives]] - [[Scripts]] - [[Add a user]] | | |[[Flash Drives]] - [[Scripts]] - [[Add a user]] - [[Linux permissions]] |
|
| |
|
| [[Add a drive]] - [[Back up drive]] - [[Check disk speed]] | | [[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] |
|
| |
|
| [[Bash basics]] - [[OS X basics]] - [[DOS basics]] | | [[Add a drive]] - [[Back up drive]] - [[Check disk]] - [[Check disk speed]] |
|
| |
|
| [[SSL certificate instructions]] | | [[Bash basics]] - [[OS X basics]] - [[DOS basics]] - [[Update gentoo kernel]] |
|
| |
|
| [[Linux software raid]] | | [[SSL certificate instructions]] - [[Networking]] |
|
| |
|
| [[udev: Assign unique names to your devices]] | | [[systemd]] - [[udev: Assign unique names to your devices]] |
|
| |
|
| [[Automatically mount and unmount your devices]] | | [[Automatically mount and unmount your devices]] |
|
| |
|
| [[udev: Autorun programs when connecting your devices]] | | [[udev: Autorun programs when connecting your devices]] |
|
| |
| [[Update gentoo kernel]]
| |
|
| |
|
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 31: |
Line 29: |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Fix things after IP changes | | ! Upgrade Ubuntu |
| |-
| |
| | Time Warner seems to keep giving the same IP back to my main linux router/server, as long as the NIC card doesn't change. It also happened when they upgraded my service (and started labeling my IP as dynamic to SpamHaus, fuckers...).
| |
| | |
| If it changes, fix these things:
| |
| * mod evasive has a whitelist, it needs the actual IP, bleh...
| |
| -rw-r--r-- 1 m m 1.1K Mar 28 22:13 /home/m/config/etc/apache2/modules.d/10_mod_evasive.conf
| |
| | |
| Here is the list of things to do to the cablem modem to fully reset it:
| |
| * make sure you have connected the blue cable => onboard NIC of bitpost
| |
| * make sure you have connected the yellow wan cable => addon NIC in bitpost
| |
| * shut it all down
| |
| * restart modem, "wait 5 minutes"
| |
| * restart bitpost
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Ubuntu upgrade from command line
| |
| |- | | |- |
| | To update ubuntu from an i3 terminal: | | | To update ubuntu from an i3 terminal: |
| sudo apt-get update # Fetches the list of available updates | | su - |
| sudo apt-get upgrade # Strictly upgrades the current package | | apt-get update # Fetches the list of available updates |
| sudo apt-get dist-upgrade # Installs updates (new ones) | | apt-get upgrade # Strictly upgrades the current package |
| | apt-get dist-upgrade # Installs updates (new major versions, i think) |
| | update-manager -d # kick off the update manager to migrate to new release when available |
| | Or just call the script that does the same thing: |
| | upgrade_ubuntu |
| | I'm currently migrating everything to 16.04 Xenial Xerus. |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 64: |
Line 51: |
| # and I call this every ten hours to restart the idle timer. | | # and I call this every ten hours to restart the idle timer. |
| * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null | | * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! bash chmod dirs
| |
| |-
| |
| |
| |
| find /path/to/base/dir -type d -exec chmod g+x {} \;
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 157: |
Line 138: |
| --> | | --> |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! OS and software installation | | ! Tips and tricks |
| |- | | |- |
| | | | | |
| {| class="wikitable"
| |
| ! [[Ubuntu 15.10 setup]]
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu set up networking | | ! NO TEARING on Sony driven by nvidia (currently, case) |
| |- | | |- |
| | Install NetworkManager, as the wpagui UI sucks | | |It's not really about Kodi settings, you have to set up nvidia settings, and they are HARD to get to stick because it's "automatic" but broken. |
| * sudo apt-get install network-manager-gnome | | * Ensure nvidia-settings is set to 4k at 60fps refresh rate - YOU HAVE TO DO THIS ON EVERY REBOOT until we set up an xorg.conf FML |
| * YOU MUST remove interfaces from /etc/network/interfaces so wpa gives them up to nm-applet
| | * Ensure Kodi has "sync video to display" turned ON |
| * add nm-applet to startup if needed - i don't think it is needed as it seems to start up automatically now - try rebooting first | |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu install Sublime | | ! Copy from linux nautilus to android "Operation unsupported" |
| |- | | |- |
| | Sublime editor seems way better than anything else out there on linux: | | | Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. |
| * sudo add-apt-repository ppa:webupd8team/sublime-text-3
| |
| * sudo apt-get update
| |
| * sudo apt-get install sublime-text-installer
| |
| * git config --global core.editor "subl -n -w" # to use sublime with -n(ew window) and -w(ait for exit)
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu install Node.js | | ! Fix things after IP changes |
| |- | | |- |
| | Install Node.js using the "Node.js Version Manager" nvm [https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server details] | | | Time Warner seems to keep giving the same IP back to my main linux router/server, as long as the NIC card doesn't change. It also happened when they upgraded my service (and started labeling my IP as dynamic to SpamHaus, fuckers...). |
| * find the [https://github.com/creationix/nvm/releases latest nvm version]
| | |
| * curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash | | If it changes, fix these things: |
| * source ~/.profile | | * Update the IP at 1and1.com for ALL domains, bleh... |
| * nvm ls-remote
| | * mod evasive has a whitelist, it needs the actual IP, bleh... |
| * nvm install ##### # (latest version, eg 5.8.0)
| | -rw-r--r-- 1 m m 1.1K Mar 28 22:13 /home/m/config/etc/apache2/modules.d/10_mod_evasive.conf |
| * MDM I don't need this do I? I'm not running express... npm install -g express # to set the package manager to use a globally shared location
| | * reset cable modem (see specific steps) |
| * nvm alias default stable
| |
| * (update .bashrc to configure node on even non-interactive shells - see another for example) | |
| ** also: nvm use 4.2.1; node -v; nvm ls; nvm alias default 0.11.13; nvm use default
| |
| ** also: You can create an .nvmrc file containing version number in the project root directory and it will default to that version
| |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu install Java | | ! Reset 1020 cable modem so it grants a real IP address (not private) |
| |- | | |- |
| | Install Oracle JDK 8 (9 is scheduled for release in 2016) | | | Resetting things sometimes has to be done in this precise order: |
| su -
| | * cable modem -> blue cable -> **ONBOARD** bitpost NIC |
| add-apt-repository ppa:webupd8team/java
| | * LAN switch -> yellow cable -> **ADDON CARD** bitpost NIC |
| apt-get update
| | * power off bitpost and cable modem |
| apt-get install oracle-java8-installer
| | * power up cable modem |
| apt-get install oracle-java8-set-default
| | * wait 5 minutes |
| ** ctrl-D (back to user) | | * power up bitpost |
| update-alternatives --config java # make note of path
| | * verify that you can ping google.com, LAN works, etc. |
| update-alternatives --config javac # make note of path
| |
| sudo subl /etc/environment
| |
| JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre/bin/java" # actually, use the path from above, of course
| |
| |} | | |} |
| | [[Maintenance of my music collection]] |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Ubuntu and shitty Seiki | | ! Ubuntu and shitty Seiki |
Line 243: |
Line 210: |
| X -logverbose 6 :2 # this crashed my machine but did produce a log first | | X -logverbose 6 :2 # this crashed my machine but did produce a log first |
| scite /var/log/Xorg.2.log & | | scite /var/log/Xorg.2.log & |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Ubuntu repo management
| |
| |-
| |
| | To see what repos Ubuntu is currently using:
| |
|
| |
| cat /etc/apt/sources.list
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Set up a new Pi in 10 minutes
| |
| |-
| |
| | The BEST thing to do is to copy the MicroSD from Carambola (marked with a black 'O'):
| |
| * open a terminal so we can watch the MicroSD /dev/sd{#} assignments
| |
| sudo tail -f /var/log/syslog
| |
| * take the carambola MicroSD card out of the Pi and put it into an Anker hub (gets less hot than the small MicroSD sleeves - and it WILL get hot!)
| |
| * put another new MicroSD card into another Anker hub
| |
| * open another terminal
| |
| dcfldd bs=4M if=/dev/sd{Letter of carambola} of=/dev/sd{Letter of new card}
| |
| * They will get HOT... I don't know how to make sure they don't get TOO hot yet... cross your fingers I guess...
| |
| * Drop the new card into the new Pi, boot, change /etc/hostname and reboot
| |
| |}
| |
| {| class="wikitable"
| |
| ! [[Raspberry Pi Raspbian setup]]
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC multi-boot install
| |
| |-
| |
| | The easiest way is to add a new drive just for OpenElec and install OpenElec to it with the installer. But if you want to SHARE ONE DRIVE with other boots, DO NOT DO THAT :-) Do this instead:
| |
| * On an existing refind-booted system, set up two new ext4 partitions
| |
| ** one about 2GB in size, labeled [SYSTEM], and marked as bootable
| |
| ** the other with 10GB or more, labeled [STORAGE]
| |
| ** [http://wiki.openelec.tv/index.php/Manual_Installation prep the drives] (no journal, ssd trim)
| |
| * download openelec and mount; there are a couple ways:
| |
| ** get the img and install to a thumb
| |
| ** get the img and mount (see below)
| |
| * Set up OE drives to mount in other OSes to /openelec-system and /openelec-storage
| |
| /dev/disk/by-label/SYSTEM /openelec-system ext4 noatime 0 0
| |
| /dev/disk/by-label/STORAGE /openelec-storage ext4 noatime 0 0
| |
| * copy target/KERNEL and target/SYSTEM to SYSTEM
| |
| cp OpenELEC_img/target/KERNEL /openelec-system/
| |
| cp OpenELEC_img/target/SYSTEM /openelec-system/
| |
| * set up UEFI boot
| |
| ** subl /boot/efi/EFI/refind/refind.conf (and add this block)
| |
| # MDM Trying this, from: http://openelec.tv/forum/64-installation/70783-how-to-efi-booting-openelec-on-new-pc-s-nuc-s
| |
| # Only I had to change BOOT to SYSTEM. and quiet to debugging.
| |
| menuentry OpenELEC {
| |
| icon EFI/refind/icons/os_openelec.png
| |
| volume SYSTEM
| |
| ostype Linux
| |
| loader KERNEL
| |
| # options "boot=LABEL=SYSTEM disk=LABEL=STORAGE debugging"
| |
| options "boot=LABEL=SYSTEM disk=LABEL=STORAGE quiet"
| |
| }
| |
| * I THINK you need one or more of these too, not sure!
| |
| cp target/boot/bootx64.efi /openelec-system/BOOT
| |
| cp target/boot/bootx64.efi /boot/efi/EFI/ubuntu/
| |
| cp target/boot/bootx64.efi /boot/efi/EFI/ubuntu/
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! OpenELEC boot from thumb
| |
| |-
| |
| | NOTE: I have the image already on a white stick with red lettering... anyway...
| |
| * Get the latest dev version (stable didn't work for me although this may change)
| |
| * [http://wiki.openelec.tv/index.php/HOW-TO:Installing_OpenELEC/Creating_The_Install_Key dd it onto a thumb]
| |
| * reboot and select to boot to the thumb in BIOS
| |
| * when the boot: line comes up, type "live" to get run a live Kodi rather than run the crufty old installer
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Windows 10 new setup
| |
| |-
| |
| |
| |
| * [http://gnuwin32.sourceforge.net/packages/grep.htm Grep for Windows]
| |
| * Create sublime symbolic links to preferences, typically here:
| |
| C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\User
| |
| * etc.
| |
| |}
| |
| |}
| |
| <!--
| |
|
| |
|
| |
| ===========================================================================================================================================================================================================================================================================================
| |
|
| |
|
| |
| -->
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Cloud and AWS tasks
| |
| |-
| |
| |
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! Cloud and AWS tasks
| |
| |-
| |
| | My primary server at Peace Street
| |
| I had to stuff the goddamned drives right into the case since the rosewill was giving me such shit.
| |
| In hindsight, it might not have been the rosewill at all...
| |
| I am considering restuffing the box with the drives...
| |
| but for now, i have this:
| |
| sda root
| |
| sdb1 tvmind
| |
| sdc1 film
| |
| sdd & sde softraid
| |
| sdf1 spicey
| |
| sdg1 reservoir
| |
| sdh1 plethora
| |
| sdi1 win
| |
| Before it was like this:
| |
| ================================
| |
| BAYS of the bitpost.com Rosewill
| |
| ================================
| |
|
| |
| To figure this stuff out, it was easiest to mount/umount drives and/or just access the mounted files
| |
| (and watch the bay lights, of course)
| |
|
| |
| Disk layout:
| |
|
| |
| 8 7 6 5
| |
| 4 3 2 1
| |
|
| |
| 1) spicey-3g-mel
| |
| 2) reservoir-3g-mel
| |
| 3) tvmind-4g-mel
| |
| 4) newraid1-4tb-bp WD Black installed 2014-10-05
| |
|
| |
| 5) plethora-3tb-bp i hope this was not being used - 3GB Seagate barracuda - mount says some ntfs looking thing with no partitions and unable to mount - so i reformatted ext4
| |
| 6) win-pax09 some old windows drive with lots of game goodies; also has sdf2 swap partition (kill it some day)
| |
| 7) film-6tb-bp WD Green installed 2014-10-05
| |
| 8) newraid2-4tb-bp WD Black installed 2014-10-05
| |
|
| |
| ================================
| |
|
| |
| Before THAT, it was this...
| |
| 8 bay SATA tower houses these drives:
| |
| # 2.0tb archive (sdb right?)
| |
| # 250gb landofthelost circa ABB timeframe /dev/disk/by-label/LandOfTheLost /dev/sdc1
| |
| # 1.5tb raid drive #1 /dev/disk/by-label/d-sp-raid -> ../../sdd1
| |
| # 2.0tb latest /dev/disk/by-label/d-sp-20newmovies -> ../../sde1
| |
| # 1.5tb raid drive #2 (needs label change maybe)
| |
| |-
| |
| | There are also these drive partitions:
| |
| * / /dev/sda4
| |
| * ubuntu root ub_root -> ../../sda5
| |
| * /vista /dev/sda3
| |
| |} | | |} |
| |} | | |} |
Line 400: |
Line 226: |
| ! BOX: bitpost | | ! BOX: bitpost |
| |- | | |- |
| | | | |[[Update gentoo kernel]] |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! drives | | ! drives |
Line 480: |
Line 306: |
| ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages | | ** create a symlink: ln -s .music/Fresh/ELO-Secret\ Messages ELO-Secret\ Messages |
| ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) | | ** close the torrent files (ctrl-k), move the destination (ctrl-o), start again (ctrl-s) |
| |}
| |
| {| 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 569: |
Line 385: |
| | | | | |
| cat /var/lib/misc/dnsmasq.leases | | cat /var/lib/misc/dnsmasq.leases |
| | |} |
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! Updating mediawiki installation | | ! BOX: viper |
| | |- |
| | | 2016 ASUS Republic of Gaming laptop |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! Trackpad |
| |- | | |- |
| | | | | |
| cd /var/www/localhost/htdocs/mediawiki | | * Adjust it so that palms do not interfere! Ideally, require start with finger in center, then use full pad |
| emacs LocalSettings_redirector.php (to hardcode each site) | | # configure trackpad of asus |
| php maintenance/update.php | | su - |
| (repeat for each site)
| | xinput --list |
| emacs LocalSettings_redirector.php (to reset dynamic behavior) | | xinput disable 12 # to turn it off |
| | # to dynamically test the settings... |
| | |
| | |
| |} | | |} |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: wimpy |
| | |- |
| | | My main gaming machine |
| | |
| | P8P67LE mobo Intel i5 quad core |
| | [http://www.asus.com/Motherboards/P8P67_LE/ website] |
| | |
| | * HARDWARE: |
| | ** Plug keyboard/mouse hub into TOP USB SLOT in back or BIOS won't recognize it |
| | ** Make sure you plug Vive usb into a USB 3.0 slot |
| | * ON BOOT: |
| | ** REMOVE USB KVM or the keyboard won't work - most of the time that's ok because we let it go through |
| | ** IF you boot into ubuntu, the USB hub didn't seem to work, i had to plug right into mobo |
| | |
| | * had to install from iso after windows update got stuck FUCK OFF |
| | it TOTALLY WENT ON A DIET |
| | my 148GB drive was only using 34GB AFTER the install and cleanup |
| | WAY better than before |
| | took the time to move EVERYTHING I COULD to fatboy |
| | steam base install, plus games |
| | origin base install, plus games |
| | visual studio ce, plus mobile, c++, game dev |
| | but it sucked up 36GB on "system drive", assholes |
| | they dump android stuff, ios stuff, all this bullshit there |
| | cest la vie |
| | installing: |
| | chrome (like pulling teeth to get it set as default) |
| | steam, games |
| | origin, games |
| | vs ce 2017 edition w/xamarin,c++,games,unity |
| | |
| | OLD NOTES: |
| | |
| | drives and partitions: |
| | * sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old?? |
| | * sdb |
| | ** sdb1 fat32 300MB wimpy-efi |
| | ** sdb2 ntfs 147GB windows10??? |
| | ** sdb3 fat32 287MB /boot/efi |
| | ** sdb4 linux-swap 7GB |
| | ** sdb5 ext4 wimpy-ubuntu-ssd 216GB |
| | ** sdb6 ext4 wimpy-gentoo-ssd 54GB |
| | ** sdb7 ext4 wimpy-openelec 19GB |
| | ** sdb9 fat32 "boot, esp" |
| | |
| | check in windows: |
| | wmic baseboard get product,Manufacturer,version,serialnumber |
| | |
| | boot is in /ubuntu/boot |
| | |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: case |
| | |- |
| | | |
| | === Fixing boot === |
| | Windows Updates tend to clobber the EFI boot setup. |
| | |
| | THen you have to set BIOS to boot with "UEFI+Legacy", and put the UEFI "USB" drive first in front of the "Windows Boot Manager" one. |
| | |
| | THen reboot, you should get grub. |
| | |
| | Go into Ubuntu and reinstall refind. |
| | |
| | Boot back into bios, and set back to UEFI boot. Leave the USB drive first. Reboot and yhou should get refind again. FU Bill. |
| | === Install Ubuntu === |
| | To originally install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter. |
| | |
| | Then I had to use a desktop 1080p monitor - the 4k Sony would not come up for some reason. |
| | |
| | The Seiki is working fine now, go figure. |
| | |} |
| | {| class="mw-collapsible mw-collapsed wikitable" |
| | ! BOX: 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" | | {| class="mw-collapsible mw-collapsed wikitable" |
Line 634: |
Line 568: |
|
| |
|
| |} | | |} |
| {| class="mw-collapsible mw-collapsed wikitable"
| | (dead...) |
| ! Reset 1020 cable modem so it grants a real IP address (not private)
| |
| |-
| |
| | Resetting things sometimes has to be done in this precise order:
| |
| * cable modem -> blue cable -> **ONBOARD** bitpost NIC
| |
| * LAN switch -> yellow cable -> **ADDON CARD** bitpost NIC
| |
| * power off bitpost and cable modem
| |
| * power up cable modem
| |
| * wait 5 minutes
| |
| * power up bitpost
| |
| * verify that you can ping google.com, LAN works, etc.
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: case
| |
| |-
| |
| | To install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter.
| |
| Then I had to use a desktop 1080p monitor - the 4k Sony would not come up for some reason.
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: 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" | | {| class="mw-collapsible mw-collapsed wikitable" |
| ! BOX: tdm | | ! BOX: tdm |
Line 740: |
Line 620: |
| eselect opengl set xorg-x11 | | eselect opengl set xorg-x11 |
| reboot | | reboot |
|
| |
| |}
| |
| {| class="mw-collapsible mw-collapsed wikitable"
| |
| ! BOX: wimpy
| |
| |-
| |
| | My main development workstation
| |
|
| |
| P8P67LE mobo Intel i5 quad core
| |
| [http://www.asus.com/Motherboards/P8P67_LE/ website]
| |
|
| |
| drives and partitions:
| |
| * sda HDD, OLD OSes, need to wipe and reformat to ntfs; sda2 ntfs 1.1TB old??
| |
| * sdb
| |
| ** sdb1 fat32 300MB wimpy-efi
| |
| ** sdb2 ntfs 147GB windows10???
| |
| ** sdb3 fat32 287MB /boot/efi
| |
| ** sdb4 linux-swap 7GB
| |
| ** sdb5 ext4 wimpy-ubuntu-ssd 216GB
| |
| ** sdb6 ext4 wimpy-gentoo-ssd 54GB
| |
| ** sdb7 ext4 wimpy-openelec 19GB
| |
| ** sdb9 fat32 "boot, esp"
| |
|
| |
| check in windows:
| |
| wmic baseboard get product,Manufacturer,version,serialnumber
| |
|
| |
| boot is in /ubuntu/boot
| |
|
| |
|
| |
|
| |
|
| |
| grub menu: /ubuntu/boot/grub/menu.lst
| |
|
| |
| post-kernel tasks:
| |
|
| |
| make sure you update /etc/conf.d/modules for any new modules added
| |
| update-modules
| |
| module-rebuild populate
| |
| module-rebuild rebuild (if you feel brave)
| |
| module-rebuild list (if you want to do it manually)
| |
| emerge nvidia-drivers (etc)
| |
| update-modules
| |
| dispatch-conf
| |
| eselect opengl set nvidia
| |
| reboot
| |
|
| |
| if you break gentoo (or rather, if gentoo devs break gentoo, or open source hacks break gentoo, or whatever... but ultimately, you...)...
| |
| boot into ubuntu
| |
| su -
| |
| ./chroot_to_gentoo
| |
| (chroot) ./setup_chroot
| |
| ** FIX IT **
| |
|
| |
| to install a new kernel that ubuntu will serve up...
| |
| build it in a chroot
| |
| back in ubuntu, copy it:
| |
| cp /mnt/gentoo/usr/src/linux/arch/x86_64/boot/bzImage /boot/linux-blahblbahba
| |
| and update grub. you can change em both or just the second (and rerun grub-mkconfig >/boot/grub/grub.cfg):
| |
| emacs /boot/grub/grub.cfg
| |
| emacs /etc/grub.d/09_gentoo
| |
|
| |
|
| |} | | |} |