Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
(58 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! General tasks | ||
|- | |- | ||
|[[ | | | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! MIGRATION IN PROGRESS: config distro machine migration | |||
|- | |||
|Start to revamp config from [machine]/[distro] to [distro]/[machine] to match scripts. It's not hard even though it's dangerous. You can do each machine separately from others. Get on it! | |||
# DO THIS ALL IN ONE SESSION, do not log out | |||
cd development/config | |||
mkdir -p distro # prolly not needed | |||
git mv machine/distro distro/machine | |||
setup_stow.sh # repeat until it doesn't fail; check each failure to make sure it is a symlink, and simply rm them as you go | |||
|} | |||
[[Maintenance of my music collection]] | |||
[[Restarting everything]] | |||
[[Add a new VM to melange]] - [[Clone a melange VM]] - [[Linux barebones quickstart]] | |||
[[Scripts]] - [[Add a user]] - [[Linux permissions]] - [[DNS]] | |||
[[Tune linux performance]] | |||
[[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] | [[Turn off ubuntu gnome screenlock]] - [[Set ubuntu default browser]] | ||
Line 40: | Line 60: | ||
upgrade_ubuntu | upgrade_ubuntu | ||
I'm currently migrating everything to 16.04 Xenial Xerus. | I'm currently migrating everything to 16.04 Xenial Xerus. | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 63: | Line 72: | ||
smartctl -t long /dev/sdf | smartctl -t long /dev/sdf | ||
watch -n 3 smartctl -l selftest /dev/sdf # takes about 5 minutes | watch -n 3 smartctl -l selftest /dev/sdf # takes about 5 minutes | ||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Increase max open file handles | |||
|- | |||
| I do it here: | |||
~/development/config/common/etc/sysctl.d/20_MDM_sysctl.conf | |||
That basically sets the user max when I do my stow thing. Alternatively, you can set it directly in | |||
/etc/sysctl.conf | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
Line 130: | Line 147: | ||
|} | |} | ||
|} | |} | ||
<!-- | |||
=========================================================================================================================================================================================================================================================================================== | |||
--> | |||
=== Boxes === | |||
[[Bitpost]] - [[Melange]] - [[Cast]] - [[Bluto]] - [[Cobra]] - [[Case]] - [[Viper]] - [[Wimpy]] | |||
=== Melange VMs === | |||
[[AbtDev1]] - [[Positronic]] - [[Morosoph]] - [[Glam]] - [[Hive]] - [[Bandit]] - [[Matryoshka]] - [[Hoard]] - [[Tornados]] - [[Matcha]] - [[Windozer]] | |||
=== Devices and Hardware === | |||
[[My server rack]] | |||
Cable Modem - [https://www.sony.com/electronics/support/televisions-projectors-lcd-tvs/xbr-65x800b/specifications Sony 65" TV] - [https://www.tcl.com/us/en/products/home-theater/p-series/tcl-55-class-p-series-4k-uhd-hdr-roku-smart-tv-55p605 TCL 55' TV] - [https://www.asus.com/us/Networking/RT-ACRH13/ProductPrint/ ASUS router] | |||
IOTs: [[lime]] - [[carambola]] - [[Arduino]] | |||
[[Flash Drives]] - [[Stadia controller]] - [[Logitech F710 Controller]] | |||
[[Aeron chair]] - [[Jetson Electric Bike]] | |||
=== Third Party Services === | |||
[[Cloudflare]] | [[LetsEncrypt]] | [[Sendgrid]] | |||
<!-- | <!-- | ||
Line 138: | Line 183: | ||
--> | --> | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Hardware notes | ||
|- | |- | ||
| | | | ||
Line 153: | Line 198: | ||
| Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. | | Weird assed linux prevents "SMB to USB" copies, FUCKOFF. Workaround is to copy to local drive, then copy to phone. Wow that is sickening. | ||
|} | |} | ||
|} | |||
<!-- | |||
=========================================================================================================================================================================================================================================================================================== | |||
--> | |||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Old notes and dead boxes | ||
|- | |- | ||
| | | | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! Oontz turn on dual pairing | ||
|- | |- | ||
| | | Turn them both on. One should be paired with your phone, the other should be flashing blue, trying to connect. | ||
On the Play Control Speaker (speaker with solid Blue Light) press and hold down the Play/Pause button for 5 seconds until the flashing White Light appears and the speaker says “Dual Pairing”. - The Play Control Speaker will then connect to the second speaker. | |||
There is NO WAY you can guess this. You'll be back here to re-learn... | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Ubuntu and shitty Seiki | ! Ubuntu and shitty Seiki | ||
Line 211: | Line 253: | ||
scite /var/log/Xorg.2.log & | scite /var/log/Xorg.2.log & | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Fix things after IP changes | |||
|- | |||
| 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: | |||
* Update the IP at 1and1.com for ALL domains, bleh... | |||
* 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 | |||
* reset cable modem (see specific steps) | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! | ! 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" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! BOX: bitpost | ! BOX: bitpost | ||
Line 454: | Line 507: | ||
|- | |- | ||
| | | | ||
* | * Toggle on/off: | ||
# | toggle_trackpad.sh | ||
* Dynamically adjust: | |||
xinput list # recently, "Elan Touchpad" is #14 | |||
xinput list-props 14 | |||
xinput --set-prop 14 "Trackpad Sensitivity" 55 # speed (55 good, 75 faster) | |||
xinput --set-prop 14 "Trackpad Touch Pressure" 6 1 # finger (6 1) vs thumb (12 1) | |||
* Persist settings here (note they kinda match up but diff names, sigh): | |||
/etc/X11/xorg.conf.d/60-synaptics.conf | |||
|} | |} | ||
|} | |} | ||
Line 518: | Line 574: | ||
|- | |- | ||
| | | | ||
''' Fixing boot ''' | |||
Windows Updates tend to clobber the EFI boot setup. | Windows Updates tend to clobber the EFI boot setup. | ||
Line 528: | Line 584: | ||
Boot back into bios, and set back to UEFI boot. Leave the USB drive first. Reboot and yhou should get refind again. FU Bill. | 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. | To originally install ubuntu, I had to add [... --- nomodeset] to the boot line in the grub booter. | ||
Line 623: | Line 679: | ||
** Add bluetooth stack - or not - i think i ended up back at the default Windows | ** Add bluetooth stack - or not - i think i ended up back at the default Windows | ||
** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe | ** keyboard driver to get function key working: /spiceflow/softraid/software/OS/windows/macbook_windows10_drivers/AppleKeyboardInstaller64.exe | ||
Then one day... it just stopped booting... Ten-Plus says the main board has a bad power circuit or something... sad day, MOVE ON. | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! BOX: tdm | ! BOX: tdm |
Latest revision as of 14:59, 31 August 2024
General tasks | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Maintenance of my music collection Add a new VM to melange - Clone a melange VM - Linux barebones quickstart Scripts - Add a user - Linux permissions - DNS Turn off ubuntu gnome screenlock - Set ubuntu default browser Add a drive - Back up drive - Check disk - Check disk speed Bash basics - OS X basics - DOS basics - Update gentoo kernel SSL certificate instructions - Networking systemd - udev: Assign unique names to your devices Automatically mount and unmount your devices udev: Autorun programs when connecting your devices
|
Boxes
Bitpost - Melange - Cast - Bluto - Cobra - Case - Viper - Wimpy
Melange VMs
AbtDev1 - Positronic - Morosoph - Glam - Hive - Bandit - Matryoshka - Hoard - Tornados - Matcha - Windozer
Devices and Hardware
Cable Modem - Sony 65" TV - TCL 55' TV - ASUS router
IOTs: lime - carambola - Arduino
Flash Drives - Stadia controller - Logitech F710 Controller
Aeron chair - Jetson Electric Bike
Third Party Services
Cloudflare | LetsEncrypt | Sendgrid
Hardware notes | ||||
---|---|---|---|---|
|
Old notes and dead boxes | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|