[SSH] auto disconnect after login attempt

posted in: computer | 0

version:OpenSSH 9.0p1 command:ssh -v <server> error message:Authenticated to <server> ([<ip-adress>]:<port>) using “publickey”.debug1: channel 0: new [client-session]debug1: Requesting no-more-sessions@openssh.comdebug1: Entering interactive session.<…>debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0debug1: channel 0: free: client-session, nchannels … Continued

[SAMBA] Can’t locate JSON.pm in @INC

posted in: computer | 0

version:samba-4.17.1error message:Can’t locate JSON.pm in @INC (you may need to install the JSON module) solution:install the JSON-module in PERLexecute following command as root: cpan JSON

[FreeBSD] zfs: out of temporary buffer space

posted in: computer | 0

system: FreeBSD v13.0-p7 reason: the bootloader is broken (e.g. after update) solution: reinstall the bootloader(s) to your boot disk(s) example: zroot (2-disk zfs-mirror with GPT partition tables) download a bootable FreeBSD-Image(e.g. FreeBSD-13.0-RELEASE-amd64-memstick.img) copy the image-file to a USB-stick (attention: all … Continued

[Howto] upgrade DEBIAN if distribution name has changed

posted in: computer | 0

problem: if the name of the DEBIAN distribution has changed (e.g. testing-version changes from “bullseye” to “bookworm”), aptitude denies the update procedure. It requests a manual command to proceed. solution: execute the command apt-get update –allow-releaseinfo-change (it updates the file … Continued

[Facts] Raspberry Pi + I²C + MCP23017: digital output toggle timespan (Bash, Python, C)

posted in: computer, electronics | 0

purpose: measuring the timespan between rising/falling-edge (=off/on/off-change) of a digital-output-bank (GPA0…GPA7) testing equipment: -Raspberry Pi 3 Modell B-I2C-adress of MCP23017-chip = 0x20-MCP23017 register-adress of 8 digital-outputs: 0x14-Owon SDS7102 digital ocsilloscope conclusion: I²C-baudrate bash Python C 100.000 5,18 ms @ 75 … Continued

[Howto] GTK+ and poppler (minimal example)

posted in: computer | 0

minimal working example, which creates a GTK-window and displays the first page of the given pdf-file.(compile with command: gcc example.c -o example `pkg-config –cflags –libs gtk+-3.0 poppler poppler-glib`) versions: GTK+ 3.24.23-2 and poppler-20.09.0-2