Technologic notes

  • Test connection speed with iperf

    Install iperf, for example on Ubuntu or Arch use one these commands: On computer one, run iperf in server mode: On the other, run iperf in client mode: If you want to see the full duplex speed, try this instead: Substitute 192.168.0.10 for the servers IP address

  • Rsync commands

    Sync: Remember the trailing / in the source path. Test:

  • VirtualHere on Linux: enable and disable

    Enable VirtualHere: Disable VirtualHere: Check status:

  • Arch maintenance cheatsheet

    Check the latest news for important update information: https://archlinux.org/ Check failed services: Check log files: Update packages from the main repository and AUR: yay -Syu Delete cached packages not installed in the system: yay -Sc Clean up all unused dependencies:

  • Uninstall gnome-console in Arch

  • Fix Intel I225-V ethernet link after suspend

    Based on info found in: https://wiki.archlinux.org/title/Power_management#Hooks_in_.2Fusr.2Flib.2Fsystemd.2Fsystem-sleep For Arch, create a script in this folder: In Ubuntu you should need to place the script in /lib/systemd/system-sleep/ (I didn’t test this). Place this into the script: Adapt the code to your network interface name (in this example it is called eno1). Make the script executable: Reboot then…

  • Proxmox and Plex Quicksync

    For Mac mini with i5-3210M: Output: The container must be privileged. Edit the container configuration: where ##### is the container ID, and add: Boot the container, if you run “ls -l /dev/dri” from the container you should now see the two devices. For Lenovo H50 with i7-4790 CPU: Output: The container must be privileged. Edit…

  • Disable Nautilus Nextcloud integration

    Edit the file: Comment the following lines:

  • Marvell RAID MSU Utility docker

    https://github.com/stegm/marvell_msu_docker You saved a copy of the driver needed from Lenovo in Backup/Systems/Marvell driver for Proxmox too.

  • Ubuntu udev rule for evdevhook2 and Nintendo Pro Controller over Bluetooth

    Run evdevhook2, if you don’t have the correct permissions to access the controller it will tell you that it can’t access /dev/input/event#, where # is a number. Run this command and change /dev/input/event# with the correct number you just found: The command will display a long list of attributes. Identify the name of the input…

  • Exclude networks from wireguard

    Where ###.###.###.0 is the network you want to exclude and ###.###.###.### is the default gateway of the system local connection used to access internet. Original until 202409 Testing 202409 killswitch Remember to check if iptables is installed One way to test a down tunnel is to delete the IP address from the WireGuard network interface,…

  • Run Teknoparrot in Proxmox VM

    Edit the VM configuration with: Add/edit the settings to reflect these: If you want to add a manufacturer and a system model (you can check it in Windows in System Information), use these settings: Use this table for more smbios customizations: type -smbios field Linux path dmidecode –string=F 0 vendor bios_vendor bios-vendor 0 date bios_date…

  • Proxmox ZFS memory allocation (ARC)

    https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage To determine the size of the ARC, look at /proc/spl/kstat/zfs/arcstats (assuming procfs mounted on /proc, as customary), specifically the values for c, c_max and size.

  • How to reboot after power failure for Mac mini running Ubuntu

    create a file /etc/systemd/system/reboot_on_power_failure.service And run:

  • Fall guys on linux

    Select RunFallGuys.exe instead of FallGuys_game_client.exe as the executable In the game’s settings, select the “Run exe on Prefix” button and choose the EpicOnlineServicesInstaller.exe file

  • Ubuntu 22 persistent force full composition pipeline

    Create a startup command via “Startup applications”: Customize your resolution and refresh rate

  • Fix ClipGrab SSL error with Appimage on Ubuntu 22.04

    Download the yt-dlp file from: https://github.com/yt-dlp/yt-dlp#release-files The yt-dlp file found on that page it’s the first file in the recommended listing column. On your computer: Allow your file manager to show hidden directories/files. Or navigate with the terminal. Navigate to /home/user/.local/share/ClipGrab/ClipGrab/yt-dlp Overwrite the existing file – which will be there but empty – with the…

  • Gnome Boxes and network bridge on Ubuntu 22.04

    Configure Boxes, then install Virtual Machine Manager and connect it to the QEMU/KVM User session. Open the VM settings in Virtual Machine Manager and change the network options from Usermode networking to Bridge device, and set virbr0 (the virtual network device listed by ifconfig) as device name. If you start the VM now, you get…

  • Dolphin file manager on Ubuntu 22.04

    To make it the default system file manager: Check the current default for opening directories: To set Dolphin as default: Run on the terminal as regular user. If you want to set the default to another file manager, install the file manager, and find the correct .desktop file by searching in /usr/share/applications/ on the command-line.…

  • How to Display Login Screen in External Monitor in Ubuntu 22.04

    Configure your monitor setup in Ubuntu Settings. After the configuration is working, use this command and reboot:

  • Change suspend to suspend-then-hibernate on Ubuntu 22.04

    Edit the full unit file as shown below: This will load the current unit file into the editor. Insert in the file the contents of /usr/lib/systemd/system/systemd-suspend-then-hibernate.service When the file is saved, systemctl will create a file at ‘/etc/systemd/system/systemd-suspend.service’. To apply changes made to the unit, execute: Restart the systemd-suspend service to loads the new service…

  • HP Laser 107a on Ubuntu 22.04

    Remove this package: Extra: for Ubuntu 20.04, the package name is ippusbxd If the wget command doesn’t work, download the driver from HP Add the printer via Settings Manually choose the driver for HP Laser 10x Series

  • Fix HTTP2 Header Errors on Nginx Reverse Proxy

    You might get an HTTP2 error from curl and Safari browsers even though the page loads fine on Chrome and Firefox. The issue is the backing service is offering to upgrade an HTTP1 connection but the reverse proxy is using an HTTP2 connection to the actual client. If either the backing service does not offer…

  • Restore hibernation in Fedora 36/37

    Disable secure boot in BIOS Create swap partition (2x ram size) and mount it in /etc/fstab Create the file /etc/dracut.conf.d/resume.conf and paste in it: After we save the file, we must regenerate the existing initramfs. We do it by running the following command: To be sure the “resume” module has been added to the initramfs,…

  • Big Sur on Fedora Boxes

    Put the file OVMF_CODE.fd in /var/lib/libvirt/qemu/nvram/ and reference it in the config file

  • Permanently disable built-in bluetooth and use USB

    You can create a udev rule to disable the internal Bluetooth. First find the idVendor and idProduct for the USB device you wish to disable by running lsusb and locating the right line. Eg, on my system this is the matching line for the adapter I wanted to disable: So then put the following into…

  • Virtual Desktop remote connection with OPNsense

    1. Go to Firewall > Aliases 2. Click on + Add 3. Enter the name VirtualDesktopPorts 4. Change the type to Port(s) 5. Enter the following ports: 38810 38820 38830 38840 6. Hit Save and then Apply Changes 7. Go to Firewall > NAT 8. Click on Outbound 9. Change the mode to Hybrid Outbound…

  • Proxmox LXC mount point permissions

    Add the mount point to the container Or change the container settings Let’s see an example, we want to make uid 1005 accessible in an unprivileged container. First, we have to change the container UID mapping in the file /etc/pve/lxc/1234.conf: Then we have to allow lxc to actually do the mapping on the host. Since…

  • Create NFS export for Proxmox

    Change /directory/to/be/shared with your path and 111.111.111.111 with the client’s IP address

  • Ubuntu 22, Kodi and Plex

    In the “.kodi/addons/script.plex/lib” folder : – backgroundthread.py – main.py – player.py In the “.kodi/addons/script.plex/lib/windows – home.py And in the “.kodi/addons/script.plex/lib/_included_packages/plexnet” folder : – gdm.py – util.py In these files, replace all “isAlive()” by “is_alive()” without quotes

WordPress Appliance - Powered by TurnKey Linux