Category: sysadmin
-
Ubuntu 18.04 Netplan!
This was unexpected, but I think I’m coping well. These are my notes on configuring netplan networking on my Ubuntu 18.04 server. systemctl disable NetworkManager.service NetworkManager-wait-online.service systemctl mask NetworkManager-wait-online.service systemctl daemon-reload apt install bridge-utils -y edit /etc/udev/rules.d/70-net.rules SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{dev_id}==”0x0″, ATTR{type}==”1″, ATTR{address}==”c8:70:00:9f:d7:72″, NAME=”eth0″ SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{dev_id}==”0x0″, ATTR{type}==”1″, ATTR{address}==”00:e2:ed:17:09:60″, NAME=”eth1″ SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{dev_id}==”0x0″,…
-
ZFS Rebuild Script
I’ve rebuilt my zfs modules often enough that I’ve written a script to do a clean build that should avoid old kernel modules and old libraries. #!/bin/bash sudo find /lib/modules -depth -type d -iname “spl” -exec rm -rf {} \; sudo find /lib/modules -depth -type d -iname “zfs” -exec rm -rf {} \; sudo find…
-
Pulling 200 Feet of Cable
We wrapped five 200 foot segments of the direct burial line back onto the original spool so we could tape them all together. The paint cans are ballast to keep the spool from sliding around. Our first pull attempt was thwarted by friction. We yanked it back and greased the nose of the cable and…
-
Thoughts on Media Hosting
If the recordings are licensed in the public domain, out of copyright, or creative commons, archive.org provides free audio hosting. http://archive.org/about/faqs.php#224 All of the services listed are not a substitute for an offline cold backup, just a reminder. Site content on Amazon or YouTube can disappear because of copyright dispute claims or policy conflicts like…
-
lsblk trick
Here’s a fun trick to list the serial numbers and sizes of your hard drives: $ lsblk –nodeps -o name,serial,size NAME SERIAL SIZE sda 50026B77640B3E09 223.6G sdb 50026B77640B4B39 223.6G sdc YGGU3EZD 1.8T sdd W1E15D5G 1.8T sde W1E16ACY 1.8T sdf W1E16BJB 1.8T sdg W1E5W99Y 1.8T sdh YFGR1V3A 1.8T
-
Robocopy Notes
Install cmder: It’s the nicest shell I’ve seen for windows. Run your console as Administrator. Otherwise you can’t use the /B backup switch. Also rember you need to do a net use command as administrator. Before you robocopy stuff, setup a dedicated drive letter. The drive letter is only available to the logged in session.…
-
FreeNAS: Installing Dovecot
Various notes on installing dovecot on FreeNAS 11. I understand this has no dovecot security applied. This is a tutorial for a LAN lab environment. If the FreeNAS is a VM, make sure the virtual network adapter permits permiscuous mode. This allows jails to network. Create dataset. Adjust Jails Setting, disable DHCP Create a jail…
-
Ubuntu 14.04 Bonding is Bonkers
It took reading through this launchpad bug to find ideas on how to get a bonding interface working on Ubuntu. This is dumb and why people hate computers: could they at least have provided a more useful syntax or better warning messages? auto eth7 allow-bond0 eth7 iface eth7 inet manual bond-master bond0 mtu 9000 auto…