Skip to content

Instantly share code, notes, and snippets.

@kralo
kralo / howto-securepointssl-nscerttype-error.md
Created April 1, 2020 11:50
securepoint ssl client openvpn require nsCertType=SERVER

If you experience this error VERIFY nsCertType ERROR: CN=server, require nsCertType=SERVER

try to update your Securepoint SSL VPN Client Version.

V. 2.0.18 did not work, V 2.0.28 did work.

Securepoint SSL Client 2.0.18 == not working
Try to start OpenVPN connection <redacted>
# supposed to be CMT-120FPS-OV9281-C411 "Global Shutter, Black/White Image, 120FPS High Frame Rate, USB Camera Module with OV9281 sensor"
# v4l2-ctl
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : USB Camera: USB Camera
Bus info : usb-0000:00:1a.0-1.5
Driver version: 4.15.18
Capabilities : 0x84200001
Video Capture
Streaming
@kralo
kralo / a_raspberry-pi4-cmio-ov9281-dual.md
Last active October 18, 2023 00:27
Raspberry Pi 4 CMIO with 2 ov9281 camera sensors

Raspberry Pi 4 CMIO with 2 ov9281 camera sensors

THIS HAS CHANGED!

Now, all you need to do is add the following lines to your /boot/config.txt:

dtoverlay=ov9281
dtoverlay=ov9281,cam0
@kralo
kralo / linux_v4l2-ctl_example_usage.txt
Created January 26, 2021 13:52
Example usage how to get rough timing debug information
$ v4l2-ctl --stream-mmap --stream-count=2 --verbose
VIDIOC_QUERYCAP: ok
VIDIOC_REQBUFS: ok
VIDIOC_QUERYBUF: ok
VIDIOC_QBUF: ok
VIDIOC_QUERYBUF: ok
VIDIOC_QBUF: ok
VIDIOC_QUERYBUF: ok
VIDIOC_QBUF: ok
VIDIOC_QUERYBUF: ok
@kralo
kralo / a_electron_auto-resize_window_to_content.md
Last active August 15, 2021 18:16
electron_auto-resize_window_to_content

resize the electron app to match the content. Might be used for web-based Asterisk BLI-Pages or other unobstrusive notifications.

Window is always on top on Ubuntu/Windows

@kralo
kralo / a_Wireguard_Windows_Client_Unprivileged.md
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.

@kralo
kralo / a_reresolve-dns-windows-powershell.md
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
kralo / a_TetraControl_Live_Web_Callmonitor.md
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

screenshot2

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
kralo / a_gpon_fiber_latency_ftth.md
Last active February 4, 2024 11:26
FTTH GPON Latency and throughput in european residential home networks

Summary

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
kralo / a_rico_sp230sfnw_printer_scanner_linux.md
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