Skip to content

Instantly share code, notes, and snippets.

kralo /
Last active April 12, 2024 09:05

Obsolete, fresh ubuntu 24.04 should work out of the box with gnome-remote-desktop: 46.0-2.

If you enabled gnome-remote-desktop in ubuntu 24.04 (ubuntu noble nombat), and cannot connect and see these errors in journalctl

gnome-remote-desktop-daemon[2650]: [22:04:03:071] [2650:4874] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
gnome-remote-desktop-daemon[2650]: [22:04:03:172] [2650:4874] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
gnome-remote-desktop-daemon[2650]: [22:04:03:172] [2650:4874] [ERROR][com.winpr.sspi.NTLM] - Message Integrity Check (MIC) verification failed!
gnome-remote-desktop-daemon[2650]: [22:04:03:172] [2650:4874] [WARN][com.winpr.sspi] - CompleteAuthToken status SEC_E_MESSAGE_ALTERED [0x8009030F]
kralo /
Last active March 28, 2024 21:01
completely disable/uninstall snap on ubuntu 24.04 (ubuntu noble numbat) and install firefox from .deb only
# completely disable/uninstall snap on ubuntu 24.04 (ubuntu noble numbat) and install firefox from .deb only
sudo snap remove --purge firefox
sudo snap remove --purge snap-store
sudo snap remove --purge gnome-42-2204
sudo snap remove --purge gtk-common-themes
sudo snap remove --purge snapd-desktop-integration
sudo snap remove --purge bare
sudo snap remove --purge firmware-updater
kralo /
Last active March 28, 2024 21:03
NORDAC frequency converter changes/differences in parameters between 5xxE and 5xxP series

There are some subtle differences between Nord frequency converters from the 500e and 500p series. I.e. changing from 530e to NORDAC PRO 550p needs different register. Unfortunately I had no changelog from the manufacturer.

The reference documents are BU 0500 and BU 0600 respectively. I found no good way discerning the models apart from reading the parameter 742 = Data base version.

s= Supervisor
P= Parameter Set dependant
Arr = Array Parameter
V = Simple (V)alue, i.e. word/dblword
kralo / channels.xspf
Created October 22, 2023 15:25
Astra 19.2E channels.xspf for Linux DVB-S2 watching with vlc. Created with `w_scan_cpp -fs -sS19E2 -c DE -L -E 0 > channels.xspf`
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="" xmlns:vlc="">
<title>DVB Playlist Astra 19.2E 2023-10-22, only free-to-air channels</title>
kralo /
Created July 18, 2023 14:22
Build kernel for raspberrypi and archive as tar for easy installation
# inspired by the github-actions build-script
# on the pi, can be installed like so # SKIP_BACKUP=1 SKIP_DOWNLOAD=1 rpi-update
set -x
kralo /
Created December 30, 2022 16:59
RICOH SP 230SFNw Printer/Scanner Linux

RICOH SP 230SFNw Printer/Scanner Linux

It's a dream come true! This machine works out of the box on ubuntu 22.10 !

printing works, scanning works!

cups printer

kralo /
Last active February 4, 2024 11:26
FTTH GPON Latency and throughput in european residential home networks


Expect the following latencies to the "first hop":

ADSL         19 ms (depends on interleaving times)
VDSL50       24 ms (without Vectoring, no detail data in this report)
VDSL50        4 ms (with Vectoring)
GPON Fiber  1.5 ms (nearly the same in France & Germany)
COAX Docsis 7.5 ms (line is not stable unfortunately)
kralo /
Created May 11, 2022 07:18
Live Callmonitor for Tetracontrol - Tetra Funkgespräche mit Details (in kleinem always-on-top Windows Fenster anzeigen geht mit Electron)

Live Tetra (Group-)Callmonitor für Tetracontrol


Hiermit lassen sich aktive Gespräche, die von TetraControl erfasst werden, live über Webtechnologien anzeigen.

Sehr hilfreich bei mehreren Funkkreisen und Arbeitsplätzen mit viel Bildschirmplatz, die ein kleines weiteres Fenster anzeigen können.

Es werden bis zu 4 Funkkreise unterstütz, mit Klick auf den blauen Text lassen die sich einfach verstecken/anzeigen.

kralo /
Created December 14, 2021 20:47
Wireguard re-resolve dns script for dynamic endpoints (dyndns)

This is a script I use on windows for dynamic DNS endpoints ("servers").

The big upside is that it supports multiple configurations and does not need hard-coded endpoints or "ping-endpoints".

I have tested this in win7 and win10. You might add it to the task scheduler and run this every 3 minutes or so.

Some care has to be taken as to know which user is running the script. The encrypted dpapi-binary file can only be read by the same user that created/saved the tunnels, i.e. \system.

kralo /
Created September 10, 2021 09:22
wireguard client on windows unprivileged user restart tunnel

Howto install wireguard as tunnel-Service when user is not local administrator.

See the setup .bat for setup. Key here is to set the service rights, so that anyone can restart the service.

See the restart script for how to restart. this is especially useful if the tunnel is "broken", because the peer is behind a dynamic dns service.