Posts

Setting up a zero tier bridge on a raspberry pi

Image
    1  sudo apt-get update     2  sudo apt-get update && sudo apt-get upgrade     3  sudo apt-get update && sudo apt-get -y upgrade     4  sudo apt-get update     5  sudo apt-get update && sudo apt-get upgrade     6  sudo apt-get -f upgrade     7  sudo apt update && sudo apt -y full-upgrade     8  sudo reboot     9  sudo apt-get update    10  sudo apt-get upgrade    11  curl -s https://install.zerotier.com | sudo bash    12  sudo zerotier-cli join abc4567890123456    13  sudo apt update && sudo apt -y full-upgrade    14  ifconfig    15  ifconfig    16  sudo zerotier-cli show    17  sudo zerotier-cli info    18  sudo zerotier-cli listnetworkw    19  sudo zerotier-cli listnetworks    20  sudo zerotier-cli set abc4567890123456 allowManaged=0    21  sudo zerotier-cli listnetworks    22  ifconfig    23  ZF_IF=ztmjfjl72z    24  sudo zerotier-cli listnetworks    25  sudo apt remove --purge --auto-remove dhcpcd5 fake-hwclock ifupdown isc-dhcp-client isc-

Allow WSL to talk with Hyper-V VMs

 Enter this command in powershell to enable forwarding: Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose Credits goes to this link (thanks!)  https://automatingops.com/allowing-windows-subsystem-for-linux-to-communicate-with-hyper-v-vms

Installing pikvm on raspberry pi zero 2 w

Image
It turns out that Raspberry Pi Zero 2 W is an excellent platform for PiKVM in the wild. Given the right components, you can just plug in HDMI and USB into a target device, and you will be able to remotely view and control the device through a web interface. No need for external power! Components to buy: - HDMI to CSI-2 (i used the model from Geekworm with SKU: 100202, but site refers to https://www.aliexpress.com/item/4000102166176.html - perhaps it's the same) - microSDXC card (i used SanDisk Ultra microSDXC UHS-I Card 128GB) The HDMI to CSI-2 contained both a printboard with HDMI slot as well as a cable. Follow the steps: 1. Download https://pikvm.org/download/ , select the version named "Raspberry Pi Zero 2 W, v2 platform" 2. Follow the steps at https://docs.pikvm.org/flashing_os/ Which for my setup amounts to: 2.1 Download RPi Imager 2.2 Choose Custom image at the button 3. Then follow the steps here for adding a  3.1 Unplug the SD-card and put it back in. 3.2 Add a f

Keyboard shortcuts in DK

 Here is a good guide https://blog.pc-geeks.dk/post/41434204543/typing-special-characters-on-a-danish-mac

RemoteApp displays black window

Image
 When setting up RemoteApp for accessing an application on a remote server, you may find that some applications or subprocesses will display as "black windows". In order to "fix" this, you should be able to modify the group policies for the Host server. Type "gpedit.msc" in Run. Locate Admistraive Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment. Then find the value "Use advanced RemoteFX graphics for Remote App" and disable it as shown below.

Backup restore

Brave/browser password list Hosts file (sql connection) Arq license? - Run backup first remote folder Stablebit Clouddrive license? Copy ProgramID (maybe also folder) Notepad++ open documents (find in folder?) TuneBlade license Wireguard config files? xca - certs / CA certs eID key file Reinstall: Vox launcher (http://www.wox.one/ , https://github.com/Wox-launcher/Wox/releases) Everything (https://github.com/Wox-launcher/Wox/releases/) X410 Wireguard Ultimaker Cura Tightvnc xca RoslynPad Winscp Winmerge WinDirStat Screen2Gif Remap keyboard shortcuts in Visual Studio (there are 2 other existing keyboard shortcuts you need to remove, that uses CTRL+W also, for it to work as well). https://stackoverflow.com/questions/32735755/visual-studio-shortcut-to-close-window-not-working