From 151af16a6ef97eb42f495a9355e43e2fd87f8d37 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 30 Dec 2024 00:06:05 +0200 Subject: Update content for gemtext --- gemfeed/atom.xml | 1400 +++++++++++++++++++++++++++--------------------------- 1 file changed, 700 insertions(+), 700 deletions(-) (limited to 'gemfeed/atom.xml') diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index ea33e0a8..4f7ec903 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2024-12-18T23:28:38+02:00 + 2024-12-29T23:48:55+02:00 foo.zone feed To be in the .zone! @@ -243,9 +243,9 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
[paul@earth]~/Downloads% sudo dd \
-  if=FreeBSD-14.1-RELEASE-amd64-bootonly.iso \
-  of=/dev/sda conv=sync
+
[paul@earth]~/Downloads% sudo dd \
+  if=FreeBSD-14.1-RELEASE-amd64-bootonly.iso \
+  of=/dev/sda conv=sync
 

Next, I plugged the Beelinks (one after another) into my monitor via HDMI (the resolution of the FreeBSD text console seems strangely stretched, as I am using the LG Dual Up monitor), connected Ethernet, an external USB keyboard, and the FreeBSD USB stick, and booted the devices up. With F7, I entered the boot menu and selected the USB stick for the FreeBSD installation.
@@ -271,9 +271,9 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # freebsd-update fetch
-root@f0:~ # freebsd-update install
-root@f0:~ # freebsd-update reboot
+
root@f0:~ # freebsd-update fetch
+root@f0:~ # freebsd-update install
+root@f0:~ # freebsd-update reboot
 

I also added the following entries for the three FreeBSD boxes to the /etc/hosts file:
@@ -281,11 +281,11 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # cat <<END >>/etc/hosts
-192.168.1.130 f0 f0.lan f0.lan.buetow.org
-192.168.1.131 f1 f1.lan f1.lan.buetow.org
-192.168.1.132 f2 f2.lan f2.lan.buetow.org
-END
+
root@f0:~ # cat <<END >>/etc/hosts
+192.168.1.130 f0 f0.lan f0.lan.buetow.org
+192.168.1.131 f1 f1.lan f1.lan.buetow.org
+192.168.1.132 f2 f2.lan f2.lan.buetow.org
+END
 

After install


@@ -296,7 +296,7 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # pkg install helix doas zfs-periodic uptimed
+
root@f0:~ # pkg install helix doas zfs-periodic uptimed
 

Helix editor


@@ -313,7 +313,7 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # cp /usr/local/etc/doas.conf.sample /usr/local/etc/doas.conf
+
root@f0:~ # cp /usr/local/etc/doas.conf.sample /usr/local/etc/doas.conf
 

https://man.openbsd.org/doas
@@ -326,24 +326,24 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # sysrc daily_zfs_snapshot_enable=YES
-daily_zfs_snapshot_enable:  -> YES
-root@f0:~ # sysrc daily_zfs_snapshot_pools=zroot
-daily_zfs_snapshot_pools:  -> zroot
-root@f0:~ # sysrc daily_zfs_snapshot_keep=7
-daily_zfs_snapshot_keep:  -> 7
-root@f0:~ # sysrc weekly_zfs_snapshot_enable=YES
-weekly_zfs_snapshot_enable:  -> YES
-root@f0:~ # sysrc weekly_zfs_snapshot_pools=zroot
-weekly_zfs_snapshot_pools:  -> zroot
-root@f0:~ # sysrc weekly_zfs_snapshot_keep=5
-weekly_zfs_snapshot_keep:  -> 5
-root@f0:~ # sysrc monthly_zfs_snapshot_enable=YES
-monthly_zfs_snapshot_enable:  -> YES
-root@f0:~ # sysrc monthly_zfs_snapshot_pools=zroot
-monthly_zfs_snapshot_pools:  -> zroot
-root@f0:~ # sysrc monthly_zfs_snapshot_keep=6
-monthly_zfs_snapshot_keep: 2 -> 6
+
root@f0:~ # sysrc daily_zfs_snapshot_enable=YES
+daily_zfs_snapshot_enable:  -> YES
+root@f0:~ # sysrc daily_zfs_snapshot_pools=zroot
+daily_zfs_snapshot_pools:  -> zroot
+root@f0:~ # sysrc daily_zfs_snapshot_keep=7
+daily_zfs_snapshot_keep:  -> 7
+root@f0:~ # sysrc weekly_zfs_snapshot_enable=YES
+weekly_zfs_snapshot_enable:  -> YES
+root@f0:~ # sysrc weekly_zfs_snapshot_pools=zroot
+weekly_zfs_snapshot_pools:  -> zroot
+root@f0:~ # sysrc weekly_zfs_snapshot_keep=5
+weekly_zfs_snapshot_keep:  -> 5
+root@f0:~ # sysrc monthly_zfs_snapshot_enable=YES
+monthly_zfs_snapshot_enable:  -> YES
+root@f0:~ # sysrc monthly_zfs_snapshot_pools=zroot
+monthly_zfs_snapshot_pools:  -> zroot
+root@f0:~ # sysrc monthly_zfs_snapshot_keep=6
+monthly_zfs_snapshot_keep: 2 -> 6
 

https://github.com/ross/zfs-periodic
@@ -356,9 +356,9 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # cp /usr/local/mimecast/etc/uptimed.conf-dist \
-  /usr/local/mimecast/etc/uptimed.conf 
-root@f0:~ # hx /usr/local/mimecast/etc/uptimed.conf
+
root@f0:~ # cp /usr/local/mimecast/etc/uptimed.conf-dist \
+  /usr/local/mimecast/etc/uptimed.conf 
+root@f0:~ # hx /usr/local/mimecast/etc/uptimed.conf
 

In the Helix editor session, I changed LOG_MAXIMUM_ENTRIES to 0 to keep all uptime entries forever and not cut off at 50 (the default config). After that, I enabled and started uptimed:
@@ -367,8 +367,8 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
root@f0:~ # service uptimed enable
-root@f0:~ # service uptimed start
+
root@f0:~ # service uptimed enable
+root@f0:~ # service uptimed start
 

To check the current uptime stats, I can now run uprecords:
@@ -377,15 +377,15 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
 root@f0:~ # uprecords
-     #               Uptime | System                                     Boot up
-----------------------------+---------------------------------------------------
-->   1     0 days, 00:07:34 | FreeBSD 14.1-RELEASE      Mon Dec  2 12:21:44 2024
-----------------------------+---------------------------------------------------
-NewRec     0 days, 00:07:33 | since                     Mon Dec  2 12:21:44 2024
-    up     0 days, 00:07:34 | since                     Mon Dec  2 12:21:44 2024
-  down     0 days, 00:00:00 | since                     Mon Dec  2 12:21:44 2024
-   %up              100.000 | since                     Mon Dec  2 12:21:44 2024
+
 root@f0:~ # uprecords
+     #               Uptime | System                                     Boot up
+----------------------------+---------------------------------------------------
+->   1     0 days, 00:07:34 | FreeBSD 14.1-RELEASE      Mon Dec  2 12:21:44 2024
+----------------------------+---------------------------------------------------
+NewRec     0 days, 00:07:33 | since                     Mon Dec  2 12:21:44 2024
+    up     0 days, 00:07:34 | since                     Mon Dec  2 12:21:44 2024
+  down     0 days, 00:00:00 | since                     Mon Dec  2 12:21:44 2024
+   %up              100.000 | since                     Mon Dec  2 12:21:44 2024
 

This is how I track the uptimes for all of my host:
@@ -403,17 +403,17 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % ifconfig re0
-re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
-        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
-        ether e8:ff:1e:d7:1c:ac
-        inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
-        inet6 fe80::eaff:1eff:fed7:1cac%re0 prefixlen 64 scopeid 0x1
-        inet6 fd22:c702:acb7:0:eaff:1eff:fed7:1cac prefixlen 64 detached autoconf
-        inet6 2a01:5a8:304:1d5c:eaff:1eff:fed7:1cac prefixlen 64 autoconf pltime 10800 vltime 14400
-        media: Ethernet autoselect (1000baseT <full-duplex>)
-        status: active
-        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
+
paul@f0:~ % ifconfig re0
+re0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
+        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
+        ether e8:ff:1e:d7:1c:ac
+        inet 192.168.1.130 netmask 0xffffff00 broadcast 192.168.1.255
+        inet6 fe80::eaff:1eff:fed7:1cac%re0 prefixlen 64 scopeid 0x1
+        inet6 fd22:c702:acb7:0:eaff:1eff:fed7:1cac prefixlen 64 detached autoconf
+        inet6 2a01:5a8:304:1d5c:eaff:1eff:fed7:1cac prefixlen 64 autoconf pltime 10800 vltime 14400
+        media: Ethernet autoselect (1000baseT <full-duplex>)
+        status: active
+        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
 

RAM


@@ -424,8 +424,8 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % sysctl hw.physmem
-hw.physmem: 16902905856
+
paul@f0:~ % sysctl hw.physmem
+hw.physmem: 16902905856
 
 

@@ -437,11 +437,11 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % sysctl dev.cpu | grep freq:
-dev.cpu.3.freq: 705
-dev.cpu.2.freq: 705
-dev.cpu.1.freq: 604
-dev.cpu.0.freq: 604
+
paul@f0:~ % sysctl dev.cpu | grep freq:
+dev.cpu.3.freq: 705
+dev.cpu.2.freq: 705
+dev.cpu.1.freq: 604
+dev.cpu.0.freq: 604
 

CPU throttling


@@ -452,14 +452,14 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
paul@f0:~ % doas pkg install ubench
-paul@f0:~ % rehash # For tcsh to find the newly installed command
-paul@f0:~ % ubench &
-paul@f0:~ % sysctl dev.cpu | grep freq:
-dev.cpu.3.freq: 2922
-dev.cpu.2.freq: 2922
-dev.cpu.1.freq: 2923
-dev.cpu.0.freq: 2922
+
paul@f0:~ % doas pkg install ubench
+paul@f0:~ % rehash # For tcsh to find the newly installed command
+paul@f0:~ % ubench &
+paul@f0:~ % sysctl dev.cpu | grep freq:
+dev.cpu.3.freq: 2922
+dev.cpu.2.freq: 2922
+dev.cpu.1.freq: 2923
+dev.cpu.0.freq: 2922
 

Idle, all three Beelinks plus the switch consumed 26.2W. But with ubench stressing all the CPUs, it went up to 38.8W.
@@ -910,7 +910,7 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
declare -xr HTML_THEME_DIR=./extras/html/themes/simple
+
declare -xr HTML_THEME_DIR=./extras/html/themes/simple
 

To customize the theme or create your own, simply copy the theme directory and modify it as needed. This makes it also much easier to switch between layouts.
@@ -1431,11 +1431,11 @@ jgs \\`_..---.Y.---.._`//

-

Got sets you up for a challenge


+

God sets you up for a challenge



Gods set you up for a challenge to see how resilient you are. Is getting angry worth the price? If you stay calm then you can find the optimal workaround for the obstacle. Stay calm even with big setbacks. Practice minimalism of negative emotions.

@@ -1535,38 +1535,38 @@ WHOA!! ( o.o ) by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
% traceroute bad.horse
-traceroute to bad.horse (162.252.205.157), 30 hops max, 60 byte packets
- 1  dsldevice.lan (192.168.1.1)  5.712 ms  5.800 ms  6.466 ms
- 2  87-243-116-2.ip.btc-net.bg (87.243.116.2)  8.017 ms  7.506 ms  8.432 ms
- 3  * * *
- 4  * * *
- 5  xe-1-2-0.mpr1.fra4.de.above.net (80.81.194.26)  39.952 ms  40.155 ms  40.139 ms
- 6  ae12.cs1.fra6.de.eth.zayo.com (64.125.26.172)  128.014 ms * *
- 7  * * *
- 8  * * *
- 9  ae10.cs1.lhr15.uk.eth.zayo.com (64.125.29.17)  120.625 ms  121.117 ms  121.050 ms
-10  * * *
-11  * * *
-12  * * *
-13  ae5.mpr1.tor3.ca.zip.zayo.com (64.125.23.118)  192.605 ms  205.741 ms  203.607 ms
-14  64.124.217.237.IDIA-265104-ZYO.zip.zayo.com (64.124.217.237)  204.673 ms  134.674 ms  131.442 ms
-15  * * *
-16  67.223.96.90 (67.223.96.90)  128.245 ms  127.844 ms  127.843 ms
-17  bad.horse (162.252.205.130)  128.194 ms  122.854 ms  121.786 ms
-18  bad.horse (162.252.205.131)  128.831 ms  128.341 ms  186.559 ms
-19  bad.horse (162.252.205.132)  185.716 ms  180.121 ms  180.042 ms
-20  bad.horse (162.252.205.133)  203.170 ms  203.076 ms  203.168 ms
-21  he.rides.across.the.nation (162.252.205.134)  203.115 ms  141.830 ms  141.799 ms
-22  the.thoroughbred.of.sin (162.252.205.135)  147.965 ms  148.230 ms  170.478 ms
-23  he.got.the.application (162.252.205.136)  165.161 ms  164.939 ms  159.085 ms
-24  that.you.just.sent.in (162.252.205.137)  162.310 ms  158.569 ms  158.896 ms
-25  it.needs.evaluation (162.252.205.138)  162.927 ms  163.046 ms  163.085 ms
-26  so.let.the.games.begin (162.252.205.139)  233.363 ms  233.545 ms  233.317 ms
-27  a.heinous.crime (162.252.205.140)  237.745 ms  233.614 ms  233.740 ms
-28  a.show.of.force (162.252.205.141)  237.974 ms  176.085 ms  175.927 ms
-29  a.murder.would.be.nice.of.course (162.252.205.142)  181.838 ms  181.858 ms  182.059 ms
-30  bad.horse (162.252.205.143)  187.731 ms  187.416 ms  187.532 ms
+
% traceroute bad.horse
+traceroute to bad.horse (162.252.205.157), 30 hops max, 60 byte packets
+ 1  dsldevice.lan (192.168.1.1)  5.712 ms  5.800 ms  6.466 ms
+ 2  87-243-116-2.ip.btc-net.bg (87.243.116.2)  8.017 ms  7.506 ms  8.432 ms
+ 3  * * *
+ 4  * * *
+ 5  xe-1-2-0.mpr1.fra4.de.above.net (80.81.194.26)  39.952 ms  40.155 ms  40.139 ms
+ 6  ae12.cs1.fra6.de.eth.zayo.com (64.125.26.172)  128.014 ms * *
+ 7  * * *
+ 8  * * *
+ 9  ae10.cs1.lhr15.uk.eth.zayo.com (64.125.29.17)  120.625 ms  121.117 ms  121.050 ms
+10  * * *
+11  * * *
+12  * * *
+13  ae5.mpr1.tor3.ca.zip.zayo.com (64.125.23.118)  192.605 ms  205.741 ms  203.607 ms
+14  64.124.217.237.IDIA-265104-ZYO.zip.zayo.com (64.124.217.237)  204.673 ms  134.674 ms  131.442 ms
+15  * * *
+16  67.223.96.90 (67.223.96.90)  128.245 ms  127.844 ms  127.843 ms
+17  bad.horse (162.252.205.130)  128.194 ms  122.854 ms  121.786 ms
+18  bad.horse (162.252.205.131)  128.831 ms  128.341 ms  186.559 ms
+19  bad.horse (162.252.205.132)  185.716 ms  180.121 ms  180.042 ms
+20  bad.horse (162.252.205.133)  203.170 ms  203.076 ms  203.168 ms
+21  he.rides.across.the.nation (162.252.205.134)  203.115 ms  141.830 ms  141.799 ms
+22  the.thoroughbred.of.sin (162.252.205.135)  147.965 ms  148.230 ms  170.478 ms
+23  he.got.the.application (162.252.205.136)  165.161 ms  164.939 ms  159.085 ms
+24  that.you.just.sent.in (162.252.205.137)  162.310 ms  158.569 ms  158.896 ms
+25  it.needs.evaluation (162.252.205.138)  162.927 ms  163.046 ms  163.085 ms
+26  so.let.the.games.begin (162.252.205.139)  233.363 ms  233.545 ms  233.317 ms
+27  a.heinous.crime (162.252.205.140)  237.745 ms  233.614 ms  233.740 ms
+28  a.show.of.force (162.252.205.141)  237.974 ms  176.085 ms  175.927 ms
+29  a.murder.would.be.nice.of.course (162.252.205.142)  181.838 ms  181.858 ms  182.059 ms
+30  bad.horse (162.252.205.143)  187.731 ms  187.416 ms  187.532 ms
 

2. ASCII cinema


@@ -1594,20 +1594,20 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
#include <stdio.h>
+
#include <stdio.h>
 
-int main(void) {
-  int array[5] = { 1, 2, 3, 4, 5 };
+int main(void) {
+  int array[5] = { 1, 2, 3, 4, 5 };
 
-  for (int i = 0; i < 5; i++)
-    printf("%d\n", array[i]);
+  for (int i = 0; i < 5; i++)
+    printf("%d\n", array[i]);
 
-  for (int i = 0; i < 5; i++)
-    printf("%d\n", i[array]);
+  for (int i = 0; i < 5; i++)
+    printf("%d\n", i[array]);
 
-  for (int i = 0; i < 5; i++)
-    printf("%d\n", *(i + array));
-}
+  for (int i = 0; i < 5; i++)
+    printf("%d\n", *(i + array));
+}
 

5. Variables with prefix $


@@ -1618,20 +1618,20 @@ http://www.gnu.org/software/src-highlite --> by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> -
#include <stdio.h>
+
#include <stdio.h>
 
-int main(void) {
-  int $array[5] = { 1, 2,