From: Matt Birkholz Date: Mon, 12 Jan 2026 17:08:07 +0000 (-0700) Subject: Update README.html. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=773640cb8f97cf7a121c6b62257c5b852e2b0a10;p=Network.git Update README.html. --- diff --git a/README.html b/README.html index bba7d67..b70adf5 100644 --- a/README.html +++ b/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Birchwood Abbey Networks @@ -24,8 +24,8 @@ idiosyncrasies. The roles herein are abbey specific, emphasized by the abbey- prefix on their names. These roles are applied after the generic institutional roles (again, documented here).

-
-

1. Overview

+
+

1. Overview

A Small Institute makes security and privacy top priorities but @@ -64,7 +64,7 @@ map is very similar, with differences mainly in terminology, philosophy, attitude.

-
+
                 |                                                   
                 =                                                   
               _|||_                                                 
@@ -103,8 +103,8 @@ philosophy, attitude.
 
-
-

2. The Abbey Particulars

+
+

2. The Abbey Particulars

The abbey's public particulars are included below. They are the @@ -117,7 +117,7 @@ domain_name: birchwood-abbey.net full_name: Birchwood Abbey -front_addr: 159.65.75.60 +front_addr: 138.68.252.171

@@ -134,8 +134,8 @@ into private_ex/vars-abbey.yml.

-
-

3. The Abbey Front Role

+
+

3. The Abbey Front Role

Birchwood Abbey's front door is a Digital Ocean Droplet configured as @@ -144,8 +144,8 @@ with Apache2, spooling email with Postfix and serving it with Dovecot-IMAPd, and hosting a VPN with WireGuard™.

-
-

3.1. Install Emacs

+
+

3.1. Install Emacs

The monks of the abbey are masters of the staff (bo) and Emacs. @@ -160,8 +160,8 @@ The monks of the abbey are masters of the staff (bo) and Emacs.

-
-

3.2. Configure Public Email Aliases

+
+

3.2. Configure Public Email Aliases

The abbey uses several additional email aliases. These are the public @@ -201,8 +201,8 @@ from there, forwarding sysadm to a real person.

-
-

3.3. Configure Git Daemon on Front

+
+

3.3. Configure Git Daemon on Front

The abbey publishes member Git repositories with git daemon. If @@ -247,7 +247,7 @@ rsync -av --del small.institute.org:Public/foo/ ~/Public/foo/ The git daemon is run by SystemD per the git-daemon.service file. The git-daemon(1) manual page explains the options in detail. The --base-path option should agree with $projectroot in the -/etc/gitweb.conf file installed here. +/etc/gitweb.conf file installed here.

@@ -280,15 +280,22 @@ like gitd-tasks and gitd-handlers.

-gitd-tasks
- name: Install git.
+gitd-tasks
- name: Install git.
   become: yes
   apt: pkg=git
 
+- name: Add Monkey to Staff.
+  user:
+    name: monkey
+    append: yes
+    groups: staff
+
 - name: Create /var/www/git/.
   become: yes
   file:
     path: /var/www/git
     state: directory
+    owner: monkey
     group: staff
     mode: u=rwx,g=srwx,o=rx
 
@@ -357,7 +364,7 @@ like gitd-tasks and gitd-handlers.
 
-gitd-handlers

+gitd-handlers

 - name: Reload systemd.
   become: yes
   systemd:
@@ -373,8 +380,8 @@ like gitd-tasks and gitd-handlers.
 
-
-

3.4. Configure Gitweb on Front

+
+

3.4. Configure Gitweb on Front

The abbey provides an HTML interface to members' public Git @@ -401,8 +408,7 @@ lists the repositories found in /var/www/git/.

-apache-gitweb

-Alias /gitweb-static/ /usr/share/gitweb/static/
+apache-gitweb
Alias /gitweb-static/ /usr/share/gitweb/static/
 <Directory "/usr/share/gitweb/static/">
     Options MultiViews
 </Directory>
@@ -465,7 +471,7 @@ web site /favicon.ico.
 
-gitweb-tasks
- name: Enable Apache2 rewrite module for Gitweb.
+gitweb-tasks
- name: Enable Apache2 rewrite module.
   become: yes
   apache2_module: name=rewrite
   notify: Restart Apache2.
@@ -475,7 +481,7 @@ web site /favicon.ico.
   apache2_module: name=cgid
   notify: Restart Apache2.
 
-- name: Install libcgi-pm-perl for Gitweb.
+- name: Install libcgi-pm-perl.
   become: yes
   apt: pkg=libcgi-pm-perl
 
@@ -508,7 +514,7 @@ web site /favicon.ico.
 
-gitweb-handlers
- name: Restart Apache2.
+gitweb-handlers
- name: Restart Apache2.
   become: yes
   systemd:
     service: apache2
@@ -518,8 +524,8 @@ web site /favicon.ico.
 
-
-

3.5. Configure Apache for Abbey Documentation

+
+

3.5. Configure Apache for Abbey Documentation

Some of the directives added to the -vhost.conf file are needed by @@ -537,7 +543,7 @@ filename suffixes.

-apache-abbey
<Directory {{ docroot }}/Abbey/>
+apache-abbey
<Directory {{ docroot }}/Abbey/>
     AllowOverride Indexes FileInfo
     Options +Indexes +FollowSymLinks
 </Directory>
@@ -560,8 +566,8 @@ AddType text/plain private pub public_vpn req rev sample txt yml
 
-
-

3.6. Configure Photos URLs on Front

+
+

3.6. Configure Photos URLs on Front

Some of the directives added to the -vhost.conf file map the abbey's @@ -573,8 +579,7 @@ matching configurations for accurate previews and tests.

-apache-photos

-RedirectMatch /Photos$ /Photos/
+apache-photos
RedirectMatch /Photos$ /Photos/
 RedirectMatch /Photos/(20[0-9][0-9])_([0-9][0-9])_([0-9][0-9])$ \
               /Photos/$1_$2_$3/
 AliasMatch /Photos/(20[0-9][0-9])_([0-9][0-9])_([0-9][0-9])/(.+)$ \
@@ -586,10 +591,48 @@ AliasMatch /Photos/$ {{ docroot }}/Photos/index.html
 
-
-

3.7. Configure Apache on Front

+
+

3.7. Configure Tellurion Expiration on Front

+The abbey's tellurion.png is updated every 15 minutes on the quarter +hour, and should expire soon thereafter. To accomplish this, Apache's +expires module is enabled inside the /Tellurion/ directory and the +tellurion.png uploaded there. +

+ +
+apache-tellurion
<Directory {{ docroot }}/Tellurion/>
+    ExpiresActive On
+    ExpiresByType image/png "modification plus 15 minutes"
+</Directory>
+
+
+ +

+Apache's Expires module must be enabled before the above directives +will be accepted. +

+ +
+=roles_t/abbey-front/tasks/main.yml

+<<tellurion-tasks>>
+
+
+ +
+tellurion-tasks
- name: Enable Apache2 expires module.
+  become: yes
+  apache2_module: name=expires
+  notify: Restart Apache2.
+
+
+
+
+
+

3.8. Configure Apache on Front

+
+

The abbey needs to add some Apache2 configuration directives to the virtual host listening for HTTPS requests to birchwood-abbey.net. Luckily there is support for this in the institutional configuration. @@ -598,11 +641,11 @@ The abbey simply creates a birchwood-abbey.net-vhost.conf file in

-The following task adds the apache-abbey, apache-photos, and -apache-gitweb directives described above to the -vhost.conf file, -and includes options-ssl-apache.conf from /etc/letsencrypt/. The -rest of the Let's Encrypt configuration is discussed in the following -Install Let's Encrypt section. +The following task adds the apache-gitweb, apache-abbey, +apache-photos, and apache-tellurion directives described above to +the -vhost.conf file, and includes options-ssl-apache.conf from +/etc/letsencrypt/. The rest of the Let's Encrypt configuration is +discussed in the following Install Let's Encrypt section.

@@ -613,9 +656,13 @@ rest of the Let's Encrypt configuration is discussed in the following docroot: /home/www copy: content: | + <<apache-gitweb>> + <<apache-abbey>> + <<apache-photos>> - <<apache-gitweb>> + + <<apache-tellurion>> IncludeOptional /etc/letsencrypt/options-ssl-apache.conf dest: /etc/apache2/sites-available/birchwood-abbey.net-vhost.conf @@ -624,9 +671,9 @@ rest of the Let's Encrypt configuration is discussed in the following
-
-

3.8. Configure Apache Log Archival

-
+
+

3.9. Configure Apache Log Archival

+

These tasks hack Apache's logrotate(8) configuration to rotate weekly, keep a couple weeks, and email each week's log to root. @@ -649,8 +696,10 @@ The replacement logrotate-mailer does, and includes it in a path: /etc/logrotate.d/apache2 regexp: "{{ item.regexp }}" line: "{{ item.line }}" + insertbefore: "^ *}" loop: - - { regexp: '^ *daily', line: "\tweekly" } + - regexp: '^ *(hourly|daily|weekly|monthly|yearly)' + line: "\tweekly" - { regexp: '^ *rotate', line: "\trotate 2" } - name: Configure Apache log email. @@ -659,7 +708,7 @@ The replacement logrotate-mailer does, and includes it in a path: /etc/logrotate.d/apache2 regexp: "{{ item.regexp }}" line: "{{ item.line }}" - insertbefore: " *}" + insertbefore: "^ *}" firstmatch: yes loop: - { regexp: "^\tmail ", line: "\tmail webmaster" } @@ -759,9 +808,9 @@ encrypting and sending to sendmail.

-
-

3.9. Install Let's Encrypt

-
+
+

3.10. Install Let's Encrypt

+

The abbey uses a Let's Encrypt certificate to authenticate its public web site and email services. Initial installation of a Let's Encrypt @@ -769,7 +818,7 @@ certificate is a terminal session affair (with prompts and lines entered as shown below).

-
+
 $ sudo apt install python3-certbot-apache
 $ sudo certbot --apache -d birchwood-abbey.net
 ...
@@ -894,9 +943,9 @@ be restarted manually.
 
-
-

3.10. Restart servers caching the Let's Encrypt certificate.

-
+
+

3.11. Restart servers caching the Let's Encrypt certificate.

+
roles_t/abbey-front/tasks/main.yml

 - name: Install Certbot hook.
@@ -924,9 +973,9 @@ server certificate.
 
-
-

3.11. Rotate Let's Encrypt Log

-
+
+

3.12. Rotate Let's Encrypt Log

+

The following task arranges to rotate Certbot's logs files.

@@ -953,9 +1002,9 @@ The following task arranges to rotate Certbot's logs files.
-
-

3.12. Archive Let's Encrypt Data

-
+
+

3.13. Archive Let's Encrypt Data

+

A backup copy of Let's Encrypt's data (/etc/letsencrypt/) is sent to root@core in OpenPGP encrypted email every time it changes. Changes @@ -1033,8 +1082,8 @@ imported into root@front's GnuPG key file.

-
-

4. The Abbey Core Role

+
+

4. The Abbey Core Role

Birchwood Abbey's core is a mini-PC (System76 Meerkat) configured as A @@ -1044,8 +1093,8 @@ with Postfix and Dovecot, and providing essential localnet services: NTP, DNS and DHCP.

-
-

4.1. Include Abbey Variables

+
+

4.1. Include Abbey Variables

In this abbey specific document, most abbey particulars are not @@ -1064,8 +1113,8 @@ directory, playbooks/.

-
-

4.2. Install Additional Packages

+
+

4.2. Install Additional Packages

The scripts that maintain the abbey's web site use a number of @@ -1085,8 +1134,8 @@ The house task list uses JQuery.

-
-

4.3. Configure Private Email Aliases

+
+

4.3. Configure Private Email Aliases

The abbey uses several additional email aliases. These are the campus @@ -1127,13 +1176,13 @@ e.g. mythtv@mythtv.birchwood.private, locally.)

-
-

4.4. Configure Git Daemon on Core

+
+

4.4. Configure Git Daemon on Core

These tasks are identical to those executed on Front, for similar Git services on Front and Core. This allows changes to be tested on Core -before they are pushed to Front. See 3.3 +before they are pushed to Front. See 3.3 for more information.

@@ -1150,13 +1199,13 @@ for more information.
-
-

4.5. Configure Gitweb on Core

+
+

4.5. Configure Gitweb on Core

These tasks are identical to those executed on Front, for similar Gitweb services on Front and Core. This allows changes to be tested -on Core before they are pushed to Front. See Configure Gitweb on +on Core before they are pushed to Front. See Configure Gitweb on Front for more information.

@@ -1173,14 +1222,30 @@ Front for more information.
-
-

4.6. Configure Apache on Core

+
+

4.6. Configure Tellurion Expiration on Core

+The apache-tellurion directives are defined here and included in the +Apache configuration below. The tellurion-tasks are defined here +and included by the following code block. +

+ +
+=roles_t/abbey-core/tasks/main.yml

+<<tellurion-tasks>>
+
+
+
+
+
+

4.7. Configure Apache on Core

+
+

The Apache2 configuration on Core specifies three web sites (live, test, and campus). The live and test sites must operate just like the -site on Front. Their configurations include the same apache-abbey, -apache-photos, and apache-gitweb used on Front. +site on Front. Their configurations include the same apache-gitweb, +apache-abbey, apache-photos, and apache-tellurion used on Front.

-
-

4.7. Configure Documentation URLs

-
+
+

4.8. Configure Documentation URLs

+

The institute serves its /usr/share/doc/ on the house (campus) web site. This is a debugging convenience, making some HTML documentation more accessible, especially the documentation of software installed on Core and not on typical desktop clients. Also included: the Apache2 -directives that enable user Git publishing with Gitweb (defined here). +directives that enable user Git publishing with Gitweb (defined here).

@@ -1235,6 +1308,7 @@ directives that enable user Git publishing with Gitweb (defined mode: u=rw,g=r,o=r @@ -1243,9 +1317,9 @@ directives that enable user Git publishing with Gitweb (defined -

4.8. Install Apt Cacher

-
+
+

4.9. Install Apt Cacher

+

The abbey uses the Apt-Cacher:TNG package cache on Core. The apt-cacher domain name is defined in private/db.domain. @@ -1260,9 +1334,9 @@ The abbey uses the Apt-Cacher:TNG package cache on Core. The

-
-

4.9. Use Cloister Apt Cache

-
+
+

4.10. Use Cloister Apt Cache

+

Core itself will benefit from using the package cache, but should contact https repositories directly. (There are few such cretins @@ -1283,9 +1357,9 @@ so caching their packages is not a priority.)

-
-

4.10. Configure NAGIOS

-
+
+

4.11. Configure NAGIOS

+

A small institute uses nagios4 to monitor the health of its network, with an initial smattering of monitors adopted from the Debian @@ -1298,9 +1372,9 @@ another customized check_sensors plugin (abbey_pisensors

-
-

4.10.1. Monitoring The Home Disk

-
+
+

4.11.1. Monitoring The Home Disk

+

The abbey adds monitoring of the space remaining on the volume at /home/ on Core. (The small institute only monitors the space @@ -1354,9 +1428,9 @@ RAID-5 array under /home/.

-
-

4.10.2. Custom NAGIOS Monitor abbey_pisensors

-
+
+

4.11.2. Custom NAGIOS Monitor abbey_pisensors

+

The check_sensors plugin is included in the package monitoring-plugins-basic, but it does not report any readings. The @@ -1450,9 +1524,9 @@ recognizable temperature in the sensors output.

-
-

4.10.3. Stolen NAGIOS Monitor check_mdstat

-
-
-

4.10.4. Configure NAGIOS Monitoring of The Cloister

-
+
+

4.11.4. Configure NAGIOS Monitoring of The Cloister

+

The abbey adds monitoring for more servers: Dantooine and Kessel. They are abbey-cloister servers, so they are configured as small @@ -1553,9 +1627,9 @@ The configurations for these servers are very similar to Gate's, but are idiosyncratically in flux.

-
-
4.10.4.1. Cloister Network Addresses
-
+
+
4.11.4.1. Cloister Network Addresses
+

The IP addresses of all three hosts are nice to use in the NAGIOS configuration (to avoid depending on name service) and so are @@ -1570,9 +1644,9 @@ kessel_addr: 10.84.138.10

-
-
4.10.4.2. Install NAGIOS Configurations
-
+
+
4.11.4.2. Install NAGIOS Configurations
+

The following task installs each host's NAGIOS configuration.

@@ -1590,9 +1664,9 @@ The following task installs each host's NAGIOS configuration.
-
-
4.10.4.3. NAGIOS Monitoring of Dantooine
-
+ -
-
4.10.4.4. NAGIOS Monitoring of Kessel
-
+
+
4.11.4.4. NAGIOS Monitoring of Kessel
+
roles_t/abbey-core/templates/nagios-kessel.cfg
define host {
     use                     linux-server
@@ -1709,9 +1783,9 @@ The following task installs each host's NAGIOS configuration.
 
-
-

4.11. Install Munin

-
+
+

4.12. Install Munin

+

The abbey is experimenting with Munin. NAGIOS is all about notifying the Sys. Admin. of failed services. Munin is more about tracking @@ -1814,9 +1888,9 @@ next task configures libsensors to ignore them.

-
-

4.12. Install Analog

-
+
+

4.13. Install Analog

+

The abbey's public web site's access and error logs are emailed regularly to webmaster, who saves them in /Logs/apache2-public/ @@ -1891,9 +1965,9 @@ at http://www/doc/analog/.

-
-

4.13. Add Monkey to Web Server Group

-
+
+

4.14. Add Monkey to Web Server Group

+

Monkey needs to be in www-data so that it can run /WWW/live/Photos/Private/cronjob to publish photos from multiple @@ -1914,9 +1988,9 @@ user cloud accounts, found in files owned by www-data, files like

-
-

4.14. Install netpbm For Photo Processing

-
+
+

4.15. Install netpbm For Photo Processing

+

Monkey's photo processing scripts use netpbm commands like jpegtopnm. @@ -1932,8 +2006,8 @@ Monkey's photo processing scripts use netpbm commands like

-
-

5. The Abbey Gate Role

+
+

5. The Abbey Gate Role

Birchwood Abbey's gate is a $110 µPC configured as A Small Institute @@ -1945,8 +2019,8 @@ allows access to the Abbey's IoT appliances: a HomeAssistant and an Ecowitt hub.

-
-

5.1. The Abbey Gate's Network Interfaces

+
+

5.1. The Abbey Gate's Network Interfaces

The abbey gate's lan interface is the PC's built-in Ethernet @@ -1967,27 +2041,27 @@ The MAC address of each interface is set in private/vars.yml (see

-
-

5.2. The Abbey's IoT Network

+
+

5.2. The Abbey's IoT Network

To allow masquerading between the private subnets and wild, the following iptables(8) rules are added. They are very similar to the nat and filter table rules used by a small institute to masquerade -its lan to its isp (see the UFW Rules of a Small Institute). +its lan to its isp (see the UFW Rules of a Small Institute). The campus WireGuard™ subnet is not included because the campus Wi-Fi hosts should be routing to the wild subnet directly and are assumed to be masquerading as their access point(s).

-iot-nat
-A POSTROUTING -s {{   private_net_cidr }} -o wild -j MASQUERADE
+iot-nat
-A POSTROUTING -s {{   private_net_cidr }} -o wild -j MASQUERADE
 -A POSTROUTING -s {{ public_wg_net_cidr }} -o wild -j MASQUERADE
 
-iot-forward
-A ufw-user-forward -i lan -o wild -j ACCEPT
+iot-forward
-A ufw-user-forward -i lan -o wild -j ACCEPT
 -A ufw-user-forward -i wg0 -o wild -j ACCEPT
 
@@ -1998,12 +2072,12 @@ The second rule includes the campus VPN.

-
-

5.3. Configure UFW for IoT

+
+

5.3. Configure UFW for IoT

The following tasks install the additional rules in before.rules -and user.rules (as in Configure UFW). +and user.rules (as in Configure UFW).

@@ -2035,8 +2109,8 @@ and user.rules (as in Configur
-
-

5.4. The Abbey's Starlink Configuration

+
+

5.4. The Abbey's Starlink Configuration

The abbey connects to Starlink via Ethernet, and disables Starlink's @@ -2084,8 +2158,8 @@ at least our local network traffic out of view of our ISPs.

-
-

5.5. Alternate ISPs

+
+

5.5. Alternate ISPs

The abbey used to use a cell phone on a USB tether to get Internet @@ -2130,8 +2204,8 @@ service, using a 60-isp.yaml file similar to the lines below.

-
-

6. The Abbey Cloister Role

+
+

6. The Abbey Cloister Role

Birchwood Abbey's cloister is a small institute campus. The campus @@ -2146,7 +2220,7 @@ tasks, namely configuration required on Raspberry Pi OS machines.

Wireless clients are issued keys for the cloister VPN by the ./abbey client command which is currently identical to the ./inst client -command (described in The Client Command). The wireless, cloistered +command (described in The Client Command). The wireless, cloistered hosts never roam, are not associated with a member, and so are "campus" clients, issued keys with commands like this:

@@ -2156,8 +2230,8 @@ hosts never roam, are not associated with a member, and so are S+6HaTnOwwhWgUGXjSBcPAvifKw+j8BDTRfq534gNW4=
-
-

6.1. Use Cloister Apt Cache

+
+

6.1. Use Cloister Apt Cache

The Apt-Cacher:TNG program does not work well on the frontier, so is @@ -2189,13 +2263,13 @@ local host.

-
-

6.2. Configure Cloister NRPE

+
+

6.2. Configure Cloister NRPE

Each cloistered host is a small institute campus host and thus is already running an NRPE server (a NAGIOS Remote Plugin Executor -server) with a custom inst_sensors monitor (described in Configure +server) with a custom inst_sensors monitor (described in Configure NRPE of A Small Institute). The abbey adds one complication: yet another check_sensors variant, abbey_pisensors, installed on Raspberry Pis (architecture aarch64) only. @@ -2234,8 +2308,8 @@ Raspberry Pis (architecture aarch64) only.

-
-

6.3. Install Munin Node

+
+

6.3. Install Munin Node

Each cloistered host is a Munin node. @@ -2310,8 +2384,8 @@ them.

-
-

6.4. Install Emacs

+
+

6.4. Install Emacs

The monks of the abbey are masters of the staff and Emacs. @@ -2327,8 +2401,8 @@ The monks of the abbey are masters of the staff and Emacs.

-
-

7. The Abbey Weather Role

+
+

7. The Abbey Weather Role

Birchwood Abbey now uses Home Assistant to record and display weather @@ -2355,8 +2429,8 @@ entities. These were labeled and organized on an "Abbey" dashboard.

-
-

8. The Abbey DVR Role

+
+

8. The Abbey DVR Role

The abbey uses AgentDVR to record video from PoE IP HD security @@ -2364,8 +2438,8 @@ cameras. It runs as user agentdvr and keeps all of its configuration and recordings in /home/agentdvr/.

-
-

8.1. Install AgentDVR

+
+

8.1. Install AgentDVR

AgentDVR is installed according to the iSpy web site's latest @@ -2389,8 +2463,8 @@ executes several sudo commands. These commands can be run by the agentdvr account if it has (temporary) authorization.

-
-

8.1.1. Prepare for AgentDVR Installation

+
+

8.1.1. Prepare for AgentDVR Installation

The following commands are manually executed to create the agentdvr @@ -2418,8 +2492,8 @@ sudo mv ~/01agentdvr /etc/sudoers.d/

-
-

8.1.2. Execute AgentDVR Installation

+
+

8.1.2. Execute AgentDVR Installation

With the above preparations, the system administrator can get a shell @@ -2440,8 +2514,8 @@ Ansible is run again.

-
-

8.1.3. Complete AgentDVR Installation

+
+

8.1.3. Complete AgentDVR Installation

When Ansible is run a second time, after the installation script, it @@ -2464,8 +2538,8 @@ sudo rm /etc/sudoers.d/01agentdvr

-
-

8.2. Configure User agentdvr

+
+

8.2. Configure User agentdvr

AgentDVR runs as the system user agentdvr, which is configured here. @@ -2504,8 +2578,8 @@ restoration of AgentDVR.)

-
-

8.3. Test For AgentDVR/

+
+

8.3. Test For AgentDVR/

The following task probes for the /home/agentdvr/AgentDVR/ @@ -2528,8 +2602,8 @@ remaining installation steps are skipped unless

-
-

8.4. Create AgentDVR Service

+
+

8.4. Create AgentDVR Service

This service definition came from the template downloaded (from here) @@ -2592,8 +2666,8 @@ by install.sh.

-
-

8.5. Create AgentDVR Storage

+
+

8.5. Create AgentDVR Storage

The abbey uses a separate volume to store surveillance recordings, @@ -2627,8 +2701,8 @@ location do not fail.

-
-

8.6. Install Custom NAGIOS Monitor abbey_dvr

+
+

8.6. Install Custom NAGIOS Monitor abbey_dvr

DVR hosts install a custom NRPE plugin named abbey_dvr to monitor @@ -2661,11 +2735,11 @@ the storage available on /DVR/.

-
-

8.7. Configure IP Cameras

+
+

8.7. Configure IP Cameras

-A new security camera is setup as described in Cloistering, after +A new security camera is setup as described in Cloistering, after which the camera should be accessible by name on the abbey networks. Assuming ping -c1 new works, the camera's web interface will be accessible at http://new/. @@ -2688,8 +2762,8 @@ protocol) is nice but optional.

-
-

8.8. Configure AgentDVR's Cameras

+
+

8.8. Configure AgentDVR's Cameras

After Ansible has configured and started the AgentDVR service, its web @@ -2728,8 +2802,8 @@ AgentDVR's Live View.

-
-

8.9. Configure AgentDVR's Default Storage

+
+

8.9. Configure AgentDVR's Default Storage

AgentDVR's web interface is also used to configure a default storage @@ -2741,8 +2815,8 @@ pressed before the task is complete.

-
-

8.10. Configure AgentDVR's Recordings

+
+

8.10. Configure AgentDVR's Recordings

After a default storage location has been configured, AgentDVR's @@ -2773,8 +2847,8 @@ parameters are set (in the Recording and Storage tabs).

-
-

8.11. Restore AgentDVR

+
+

8.11. Restore AgentDVR

When restoring /home/ from a backup copy, the user accounts are @@ -2790,8 +2864,8 @@ installs the system service configuration file and starts the service.

-
-

9. The Abbey TVR Role

+
+

9. The Abbey TVR Role

The abbey has a few TV tuners and a subscription to Schedules Direct @@ -2806,14 +2880,14 @@ configured to serve MythTV pages at e.g. http://new/mythweb/.

-A new TVR machine needs only Cloistering to prepare it for +A new TVR machine needs only Cloistering to prepare it for Ansible. As part of that process, it should be added to the tvrs group in the hosts file. An existing server can become a TVR machine by adding it to the tvrs group.

-
-

9.1. Include Abbey Variables

+
+

9.1. Include Abbey Variables

Private variables in private/vars-abbey.yml are needed, as in the @@ -2829,8 +2903,8 @@ directory, playbooks/.

-
-

9.2. Manually Build and Install MythTV

+
+

9.2. Manually Build and Install MythTV

Neither Debian nor the MythTV project provide binary packages of @@ -2859,8 +2933,8 @@ sudo apt install mythtv-backend

-
-

9.3. Restore MythTV

+
+

9.3. Restore MythTV

Restoring MythTV from a backup copy to a fresh TVR host: @@ -2888,8 +2962,8 @@ The .mythtv/config.xml file should provide the DB particulars

-
-

9.4. Manually Load DB Timezone Info

+
+

9.4. Manually Load DB Timezone Info

Starting with MythTV version 0.26, the time zone tables must be loaded @@ -2913,8 +2987,8 @@ e.g. 2022-09-13 20:15:41.

-
-

9.5. Create MythTV Storage Area

+
+

9.5. Create MythTV Storage Area

The backend does not have a default storage area for its recordings. @@ -2938,8 +3012,8 @@ creates that directory and ensures it has appropriate permissions.

-
-

9.6. Configure MythTV Backend

+
+

9.6. Configure MythTV Backend

With MythTV built and installed, the post-installation tasks @@ -2955,12 +3029,12 @@ at http://new:6544 and make the following selections.

-
-

9.7. Configure Tuner

+
+

9.7. Configure Tuner

The abbey has a Silicon Dust Homerun HDTV Duo (with two tuners). It -is setup as described in Cloistering, after which the tuner is +is setup as described in Cloistering, after which the tuner is accessible by name (e.g. new) on the cloister network. Assuming ping -c1 new works, the tuner should be accessible via the hdhomerun_config_gui command, a graphical interface contributed to @@ -2971,8 +3045,8 @@ tuner's domain name or IP address can also be entered.

-
-

9.8. Add HDHomerun and Mr.Antenna

+
+

9.8. Add HDHomerun and Mr.Antenna

In MythTV Setup: @@ -3015,8 +3089,8 @@ any case, do not run mythfilldatabase.

-
-

9.9. Scan for New Channels

+
+

9.9. Scan for New Channels

In MythTV Backend, the website on Core's port 6544, e.g. @@ -3037,8 +3111,8 @@ In MythTV Backend, the website on Core's port 6544, e.g.

-
-

9.10. Configure XMLTV

+
+

9.10. Configure XMLTV

The xmltv package, specifically its tv_grab_zz_sdjson program, is @@ -3073,7 +3147,7 @@ the list of "inputs" available in a postal code typically ends with the OTA (over the air) broadcasts.

-
+
 $ tv_grab_zz_sdjson --configure --config-file .mythtv/Mr.Antenna.xml
 Cache file for lineups, schedules and programs.
 Cache file: [/home/mythtv/.xmltv/tv_grab_zz_sdjson.cache]
@@ -3123,8 +3197,8 @@ backend is running, so it is not run until then.
 

-
-

9.11. Debug XMLTV

+
+

9.11. Debug XMLTV

If the mythfilldatabase command fails or expected listings do not @@ -3163,14 +3237,14 @@ Running a similar command (without --quiet) might be more revealing

-
-

9.12. Change Broadcast Area

+
+

9.12. Change Broadcast Area

The abbey changes location almost weekly, so its HDTV broadcast area changes frequently. At the start of a long stay the administrator uses the MythTV Setup program to scan for the new area's channels, as -described in Scan for New Channels. +described in Scan for New Channels.

@@ -3188,7 +3262,7 @@ program as user mythtv.

The program will prompt for the zip code and offer a list of "inputs" -available in that area, as described in Configure XMLTV. +available in that area, as described in Configure XMLTV.

@@ -3202,14 +3276,14 @@ Lastly, the administrator runs an immediate update (again as the

-If the command fails, consult Debug XMLTV. Else, the listings appear +If the command fails, consult Debug XMLTV. Else, the listings appear in MythTV Backend's "Program Guide" page.

-
-

10. The Ansible Configuration

+
+

10. The Ansible Configuration

The abbey's Ansible configuration, like that of A Small Institute, is @@ -3236,7 +3310,7 @@ specific versions.

-NOTE: if you have not read at least the Overview of A Small Institute +NOTE: if you have not read at least the Overview of A Small Institute you are lost.

@@ -3266,8 +3340,8 @@ rest are built up piecemeal by (tangled from) this document, README.org, and Institute/README.org.

-
-

10.1. ansible.cfg

+
+

10.1. ansible.cfg

This is much like the example (test) institutional configuration file, @@ -3284,22 +3358,19 @@ except the roles are found in Institute/roles/ as well as roles/.

-
-

10.2. hosts

+
+

10.2. hosts

-hosts
all:
+hosts
all:
   vars:
     ansible_user: sysadm
     ansible_ssh_extra_args: -i Secret/ssh_admin/id_rsa
   hosts:
     # The Main Servers: Front, Gate and Core.
     droplet:
-      ansible_host: 159.65.75.60
-      ansible_become_password: "{{ become_droplet }}"
-    debdrop:
       ansible_host: 138.68.252.171
-      ansible_become_password: "{{ become_debdrop }}"
+      ansible_become_password: "{{ become_droplet }}"
     anoat:
       ansible_host: anoat.birchwood.private
       ansible_become_password: "{{ become_anoat }}"
@@ -3314,7 +3385,7 @@ except the roles are found in Institute/roles/ as well as roles/.
       ansible_host: dantooine.birchwood.private
       ansible_become_password: "{{ become_dantooine }}"
     ord-mantell:
-      ansible_host: ord-mantell-w.birchwood.private
+      ansible_host: ord-mantell.birchwood.private
       ansible_become_password: "{{ become_ord_mantell }}"
     # Notebooks
     felucia:
@@ -3333,7 +3404,6 @@ except the roles are found in Institute/roles/ as well as roles/.
     front:
       hosts:
         droplet:
-        debdrop:
     gate:
       hosts:
         anoat:
@@ -3372,8 +3442,8 @@ except the roles are found in Institute/roles/ as well as roles/.
 
-
-

10.3. playbooks/site.yml

+
+

10.3. playbooks/site.yml

This playbook provisions the entire network by applying first the @@ -3414,17 +3484,17 @@ institutional roles, then the liturgical roles.

-
-

11. The Abbey Commands

+
+

11. The Abbey Commands

The ./abbey script encodes the abbey's canonical procedures. It -includes The Institute Commands and adds a few abbey-specific +includes The Institute Commands and adds a few abbey-specific sub-commands.

-
-

11.1. Abbey Command Overview

+
+

11.1. Abbey Command Overview

Institutional sub-commands: @@ -3453,8 +3523,8 @@ and _architecture for all hosts.

-
-

11.2. Abbey Command Script

+
+

11.2. Abbey Command Script

The script begins with the following prefix and trampolines. @@ -3478,7 +3548,7 @@ The script begins with the following prefix and trampolines. The small institute's ./inst command expects to be running in Institute/, not ./, but it only references public/, private/, Secret/ and playbooks/check-inst-vars.yml, and will find the abbey -specific versions of these. The roles_path setting in ansible.cfg +specific versions of these. The roles_path setting in ansible.cfg effectively merges the institutional roles into the distinctly named abbey specific roles. The roles likewise reference files with relative names, and will find the abbey specific private/ @@ -3501,8 +3571,8 @@ code block "duplicates" the action of the institute's

-
-

11.3. The Upgrade Command

+
+

11.3. The Upgrade Command

The script implements an upgrade sub-command that runs apt update @@ -3567,8 +3637,8 @@ a limit pattern. For example:

-
-

11.4. The Reboots Command

+
+

11.4. The Reboots Command

The script implements a reboots sub-command that looks for @@ -3599,8 +3669,8 @@ The script implements a reboots sub-command that looks for

-
-

11.5. The Versions Command

+
+

11.5. The Versions Command

The script implements a versions sub-command that reports the @@ -3627,8 +3697,8 @@ operating system version of all abbey managed machines.

-
-

11.6. The Facts Command

+
+

11.6. The Facts Command

The script implements a facts sub-command to collect the Ansible @@ -3648,8 +3718,8 @@ The script implements a facts sub-command to collect the Ansible

-
-

11.7. The TZ Command

+
+

11.7. The TZ Command

The abbey changes location almost weekly, so its timezone changes @@ -3728,8 +3798,8 @@ last host in the previous play.

-
-

11.8. Abbey Command Help

+
+

11.8. Abbey Command Help

abbey
my $ops = ("config,new,old,pass,client,"
@@ -3740,8 +3810,8 @@ last host in the previous play.
 
-
-

12. Cloistering

+
+

12. Cloistering

This is how a new machine is brought into the cloister. The process @@ -3750,8 +3820,8 @@ narrows down to the common preparation of all machines administered by Ansible.

-
-

12.1. IoT Devices

+
+

12.1. IoT Devices

A wireless IoT device (smart TV, Blu-ray deck, etc.) cannot install @@ -3767,8 +3837,8 @@ given a private domain name as described in the following steps.

@@ -3778,12 +3848,12 @@ last step:

-
-

12.2. Raspberry Pis

+
+

12.2. Raspberry Pis

The abbey's Raspberry Pi runs the Raspberry Pi OS desktop off an NVMe @@ -3804,8 +3874,8 @@ Ethernet, and power up.

  • new username: sysadm
  • new password: <password>
  • -
  • Add to Core DHCP
  • -
  • Create Wired Domain Name
  • +
  • Add to Core DHCP
  • +
  • Create Wired Domain Name
  • Launch the desktop.
  • If the desktop is running on a USB HD (thumb drive) or μSD card, use the Raspberry Pi Imager app in Accessories in the main menu. Choose @@ -3815,16 +3885,9 @@ installation questions again.
  • Right click on the desktop (background) and choose Preferences. In the Control Centre choose Interfaces in the left side bar and toggle SSH on.
  • - -
  • Run sudo raspi-config and use the following menu items. -
      -
    • S4 Hostname (Set name for this computer on a network): new
    • -
    • I1 SSH (Enable/disable remote command line access using SSH): enable
    • -
    • A1 Expand Filesystem (Ensures that all of the SD card is available)
    • -
  • -
  • Update From Cloister Apt Cache
  • -
  • Authorize Remote Administration
  • -
  • Configure with Ansible
  • +
  • Update From Cloister Apt Cache
  • +
  • Authorize Remote Administration
  • +
  • Configure with Ansible
  • @@ -3833,14 +3896,14 @@ steps are taken.

    -
    -

    12.3. PCs

    +
    +

    12.3. PCs

    Most of the abbey's machines, like Core and Gate, are general-purpose @@ -3853,12 +3916,12 @@ follows. to a USB drive and connect it to the PC.

  • Connect an HDMI monitor, a USB keyboard/mouse, and the cloister Ethernet, and power up. Choose to boot from the USB drive.
  • -
  • Add to Core DHCP
  • -
  • Create Wired Domain Name
  • +
  • Add to Core DHCP
  • +
  • Create Wired Domain Name
  • Answer first-boot installation questions as detailed in the preparation of A Test Machine for a Small Institute.
  • Log in as sysadm on the console.
  • -
  • Update From Cloister Apt Cache
  • +
  • Update From Cloister Apt Cache
  • Install openssh-server, unless it was included in the distribution. Run the following if unsure. @@ -3866,8 +3929,8 @@ distribution. Run the following if unsure.

     sudo apt install openssh-server
     
  • -
  • Authorize Remote Administration
  • -
  • Configure with Ansible
  • +
  • Authorize Remote Administration
  • +
  • Configure with Ansible
  • @@ -3876,14 +3939,14 @@ steps are taken.

    -
    -

    12.4. Add to Core DHCP

    +
    +

    12.4. Add to Core DHCP

    When a new machine is connected to the cloister Ethernet, its MAC @@ -3943,12 +4006,12 @@ reporting 1 packets transmitted, 1 received, 0% packet loss....

    -
    -

    12.5. Create Wired Domain Name

    +
    +

    12.5. Create Wired Domain Name

    A wired device is assigned an IP address when it is added to Core's -DHCP configuration (as in Add to Core DHCP). A private domain name is +DHCP configuration (as in Add to Core DHCP). A private domain name is then associated with this address. If the device is intended to operate wirelessly, the name for its address is modified with a -w suffix. Thus new-w.small.private would be the name of the new @@ -3991,8 +4054,8 @@ resolvectl query 192.168.56.4

    -
    -

    12.6. Update From Cloister Apt Cache

    +
    +

    12.6. Update From Cloister Apt Cache

    • Log in as sysadm on the console.
    • @@ -4014,8 +4077,8 @@ sudo reboot
    -
    -

    12.7. Authorize Remote Administration

    +
    +

    12.7. Authorize Remote Administration

    To remotely administer new-w, Ansible must be authorized to login as @@ -4049,11 +4112,11 @@ key.

    -
    -

    12.8. Configure with Ansible

    +
    +

    12.8. Configure with Ansible

    -With remote administration authorized and tested (as in Authorize +With remote administration authorized and tested (as in Authorize Remote Administration), and the machine connected to the cloister Ethernet, the configuration of new-w can be completed by Ansible. Note that if the machine is staying on the cloister Ethernet, its @@ -4061,7 +4124,7 @@ domain name will be new (having had no -w suffix added

    -First new-w is added to Ansible's inventory in hosts. A new-w +First new-w is added to Ansible's inventory in hosts. A new-w section is added to the list of all hosts, and an empty section of the same name is added to the list of campus hosts. If the machine uses the usual privileged account name, sysadm, the ansible_user key is @@ -4109,8 +4172,8 @@ configuration files.

    -
    -

    12.9. Connect to Cloister Wi-Fi

    +
    +

    12.9. Connect to Cloister Wi-Fi

    On an IoT device, or a Debian or Android "desktop", the cloister Wi-Fi @@ -4151,8 +4214,8 @@ desktop connected to the Wi-Fi using the following ping command.

    -
    -

    12.10. Connect to Cloister VPN

    +
    +

    12.10. Connect to Cloister VPN

    Wireless devices (with the cloister Wi-Fi password) can get an IP @@ -4165,14 +4228,14 @@ however, are not accessible except via the cloister VPN.

    Connections to the cloister VPN are authorized by the ./abbey -client... command (aka The Client Command), which registers a new +client... command (aka The Client Command), which registers a new client's public key and installs new WireGuard™ configurations on the servers. Private keys are kept on the clients (e.g. in /etc/wireguard/private-key).

    -
    -

    12.10.1. Campus Desktops and Servers

    +
    +

    12.10.1. Campus Desktops and Servers

    Wireless Debian desktops (with NetworkManager) as well as servers @@ -4258,8 +4321,8 @@ sudo systemctl enable wg-quick@wg0

    -
    -

    12.10.2. Private Desktops

    +
    +

    12.10.2. Private Desktops

    Member notebooks are private machines not remotely administered by the @@ -4371,8 +4434,8 @@ password is included in Secret/become.yml.

    -
    -

    12.10.3. Android

    +
    +

    12.10.3. Android

    Android phones and tablets are authorized to connect to the cloister @@ -4409,8 +4472,8 @@ public VPN.

    -
    -

    12.11. Create Wireless Domain Name

    +
    +

    12.11. Create Wireless Domain Name

    A wireless machine is assigned a Wi-Fi address when it connects to the @@ -4465,7 +4528,7 @@ be added to private/db.campus_vpn.)

    Author: Matt Birkholz

    -

    Created: 2026-01-02 Fri 15:07

    +

    Created: 2026-01-12 Mon 09:55

    Validate