Toggen Blog
20 years of tech tips
Articles
Latest
WakeOnLAN from Linux / Bash command line
The following sends a magic packet to the subnet broadcast address and wakes up the computer with MAC= MAC Address MAC=80:bc:de:f0:0a:b9 echo -e $(echo $(printf 'f%.0s' {1..12}; printf "$(echo $MAC | sed 's/://g')%.0s" {1..16}) | sed -e...
Stop Dell Display and Peripheral Manager Autostarting
On my generic self-built PC I have some Dell peripherals 2 x 27" monitors and Dell Pro 7 Slim Keyboard and Mouse - KM726 So I installed the Dell Display and Peripheral Manager (DDPM-Setup_2.3.0.9.exe) But the problem is that it keeps auto-starting every login and I...
Elementor Sites – Cannot login to Admin area after recent update
One of my Elementor Pro sites sent an email saying the below. When I tried logging into /wp-admin there was a warning about a critical error, and no login form presented Remove Elementor Plugins I ended up removing the elementor plugins tar -czvf backup.tar.gz...
Ubuntu 26.04 LTS vim goes into visual mode when trying to paste into SSH VIM session
VIM disable mouse I want to be able to paste text into VIM inside an SSH session, but on Ubuntu 26.04 LTS it goes into visual mode and I can't complete the paste. So to disable this behavior (and completely disable mouse in vim) do: # create ~/.vimrc and add the...
OPNsense OpenVPN – Have OpenVPN as the default gateway and exclude some subnets from the tunnel
Newer versions of OPNsense OpenVPN don't have a field for pushing custom routes to the OpenVPN client using CSO's (Client Specific Overrides). So if you have a configuration that redirects all traffic over the OpenVPN tunnel and also want to add some custom routes to...
AllowIPs Calculator for Wireguard
Enables one to exclude IP ranges from going across the Wireguard tunnel as needed. https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator Do it with python >>> import ipaddress >>> n1 = ipaddress.ip_network('0.0.0.0/0')...
