From aff8085ea65543fbaf611fd5f9d575c4be67fc33 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sat, 19 Aug 2023 23:30:14 +0200 Subject: [PATCH] adds and updates new/old drafts --- content/equipment/software/cloudlog/index.md | 26 ++++ content/equipment/software/cqrlog/index.md | 35 +++++ content/equipment/software/qlog/index.md | 28 ++++ content/equipment/software/rumlog-ng/index.md | 31 ++++ .../posts/2023-08-10-openbsd-current/index.md | 135 +++++++++++++++++- 5 files changed, 249 insertions(+), 6 deletions(-) create mode 100644 content/equipment/software/cloudlog/index.md create mode 100644 content/equipment/software/cqrlog/index.md create mode 100644 content/equipment/software/qlog/index.md create mode 100644 content/equipment/software/rumlog-ng/index.md diff --git a/content/equipment/software/cloudlog/index.md b/content/equipment/software/cloudlog/index.md new file mode 100644 index 0000000..e33334f --- /dev/null +++ b/content/equipment/software/cloudlog/index.md @@ -0,0 +1,26 @@ ++++ +# vim: ft=markdown +title = 'Cloudlog' +summary = '' +date = '2023-02-10' +# lastmod = '' +#categories = [ 'amateur-radio' ] +#tags = [ 'chameleon', 'portable' ] + +showBreadcrumbs = true +# showDate = false +showReadingTime = false +showWordCount = false +# showPagination = false + +# feed_exclude = true +# site_exclude = true + +draft = true + ++++ + +My default logging “application”. It is used online. + +link: https://www.magicbug.co.uk/cloudlog/ + diff --git a/content/equipment/software/cqrlog/index.md b/content/equipment/software/cqrlog/index.md new file mode 100644 index 0000000..c1acfc9 --- /dev/null +++ b/content/equipment/software/cqrlog/index.md @@ -0,0 +1,35 @@ ++++ +# vim: ft=markdown +title = 'CQRLOG' +summary = '' +date = '2023-02-10' +# lastmod = '' +#categories = [ 'amateur-radio' ] +#tags = [ 'chameleon', 'portable' ] + +showBreadcrumbs = true +# showDate = false +showReadingTime = false +showWordCount = false +# showPagination = false + +# feed_exclude = true +# site_exclude = true + +draft = true + ++++ + +I used this for a while, is very bloated and with it's own database +(running mariadb in the “background”) it is very functional. Lets you +do nearly everything and filter all kind of stuff. + +but it is very complex and sometimes hard to use if you're not doing this +every day. + +For me it is just too junky, bloated with functions that I mostly not even use. +also it sometimes breakes and I'm fed up with the linux-ish way of tinkering and +fixing things to get it working again. mostly the db is causing trouble. + +link: https://www.cqrlog.com/ + diff --git a/content/equipment/software/qlog/index.md b/content/equipment/software/qlog/index.md new file mode 100644 index 0000000..3226583 --- /dev/null +++ b/content/equipment/software/qlog/index.md @@ -0,0 +1,28 @@ ++++ +# vim: ft=markdown +title = 'QLog' +summary = '' +date = '2023-02-10' +# lastmod = '' +#categories = [ 'amateur-radio' ] +#tags = [ 'chameleon', 'portable' ] + +showBreadcrumbs = true +# showDate = false +showReadingTime = false +showWordCount = false +# showPagination = false + +# feed_exclude = true +# site_exclude = true + +draft = true + ++++ + +I've tested this in it's early stage and I don't know about it's actual +progress, but it looked very promising and actively developed by Ladislav +Foldyna, OK1MLG. + +link: https://github.com/foldynl/QLog + diff --git a/content/equipment/software/rumlog-ng/index.md b/content/equipment/software/rumlog-ng/index.md new file mode 100644 index 0000000..25a786f --- /dev/null +++ b/content/equipment/software/rumlog-ng/index.md @@ -0,0 +1,31 @@ ++++ +# vim: ft=markdown +title = 'RUMlogNG' +summary = '' +date = '2023-02-10' +# lastmod = '' +#categories = [ 'amateur-radio' ] +#tags = [ 'chameleon', 'portable' ] + +showBreadcrumbs = true +# showDate = false +showReadingTime = false +showWordCount = false +# showPagination = false + +# feed_exclude = true +# site_exclude = true + +draft = true + ++++ + +For MacOS only. This is one of the best logging applications for MacOS that +I know of. If I'd still had my MacbookPro, I'd still run this Application. + +link: https://dl2rum.de/rumsoft/RUMLog.html + +There is also a version for the iPhone. + +link: https://dl2rum.de/rumsoft/RUMlog2Go.html + diff --git a/content/posts/2023-08-10-openbsd-current/index.md b/content/posts/2023-08-10-openbsd-current/index.md index 910dde0..556a437 100644 --- a/content/posts/2023-08-10-openbsd-current/index.md +++ b/content/posts/2023-08-10-openbsd-current/index.md @@ -3,7 +3,7 @@ title = 'OpenBSD-current' summary = 'Keeping up to date with OpenBSD-current. Some quick notes.' date = '2023-08-11T19:47:56+0000' -lastmod = '2023-08-12T15:22:33+0000' +lastmod = '2023-08-19T21:30:15+0000' categories = [ 'amateur-radio', 'computerstuff' ] tags = [ 'openbsd' ] @@ -60,7 +60,7 @@ Same with `xenocara` and `ports`. $ cd /sys/arch/$(machine)/compile/GENERIC.MP $ doas make obj $ doas make config -$ doas make && make install +$ doas make && doas make install ``` Is this really needed done as root (except install)? @@ -80,19 +80,142 @@ $ doas sysmerge $ cd /dev && doas ./MAKEDEV all ``` -This took on my Lenovo X1 Carbon Gen7 up to 11 hours. + +My Lenovo X1 Carbon Gen7 finishes this step in ~ 12 hours usually. ## Build and install Xenocara (X) ```console $ cd /src/xenocara -doas make bootstrap -doas make obj -doas make build +$ doas make bootstrap +$ doas make obj +$ doas make build ``` Building Xenocara took on my laptop (see above) around 1.5 hours. ## Reboot +Once we built our new system, we want to boot into it. + +## Upgrading the ports + +I do have a packagelist of the manually installed packages in my home folder. That looks +something like this: + +``` +ImageMagick-- +abook-- +adb-- +adwaita-icon-theme-- +aircrack-ng-- +alacritty-- +anacron-- +appstream-glib-- +[...] +``` + +This is of no help to me, so I modified it a bit with sed: + +```console +$ sed s/--// packagelist.txt > localports +``` + +That removes only the two minuses at the end. + +Now I `cd` into `/usr/ports` and I'm looking if the +resulting category/package name fits the ports directory +structure. + +```console +$ for i in `cat ~/localports`; do echo */$i; done | tee localports +``` + +Run the command without the `| tee ...` part to see if any errors occur. + +If the for loop finishes without errors, we can add the `tee` part and +write the new localports file into `/usr/ports`. + +The final file should look like this: + +``` +graphics/ImageMagick +mail/abook +devel/adb +security/aircrack-ng +x11/alacritty +sysutils/anacron +devel/appstream-glib +``` + +Notice, there is already the package `adwaita-icon-theme` misssing +because there is no such port in the ports tree. + +Within `/usr/ports`, we run `dpb`: + +```console +$ doas /usr/ports/infrastructure/bin/dpb -P localports +``` + +That's it. The screen gets filled with all the ports that +are updated at once/in parallel. + +## Creating a release + +There are a few steps needed to create your own installation media. + +First of all, we setup some space that we can mount with +`noperm` options. + +I use an external SSD +which I mount into `/build`. + +```console +$ doas mount -o noperm /dev/sd2a /build +``` + +Set the owner of this directory to build and chmod the directory +with 0700. Read along in [release]\(8). + +[release]: https://man.openbsd.org/release + +I use four directories: `dest`, `release`, `xdest` and `xrelease`. + +`dist` and `xdest` will be used to build the system, while +`release` will hold the tarballs and the final installation media files +when in `xrelease` the Xenocara release files will land. + +{{< alert >}} +Have a look at the **manpage**, permissions and owners are quite important +for these tasks! +{{< /alert >}} + +### It is the base system that we create first + +```console +$ export DESTDIR=/build/dest RELEASEDIR=/build/release +$ cd /usr/src/etc && doas make release +$ cd /usr/src/distrib/sets && doas sh checkflist +$ unset RELEASEDIR DESTDIR +``` + +### We continue with building the X release files + +```console +$ export DESTDIR=/build/xdest RELEASEDIR=/build/xrelease +$ doas make release +$ doas make checkdist +$ unset RELEASEDIR DESTDIR +``` + +### Creating the installation media files + +```console +$ export RELDIR=/build/release RELXDIR=/build/xrelease +$ cd /usr/src/distrib/$(machine)/iso && doas make +$ doas make install +``` + +You'll find your `install73.{img,iso}` files in `$RELDIR`. +