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...
James McDonald
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')...
How many Windows 11 pings was my Synology DS415+ NAS down for after I issued a reboot command from the SSH cli?
Answer: 31 pings
OPNsense automatic Outbound NAT rules not created or created on wrong interface
OPNsense in Azure with DHCP assigned IPv6 and IPv4 interfaces Automatic outbound NAT rules created on the LAN interface Disable the auto-created LAN gateways (Look under System => Gateways => Configuration) (Disable the LAN_DHCP and LAN_DHCP6 Gateways) No...
Limit the number of WordPress revisions
Make wordpress keep a smaller number of revisions # wp-config.php # limit post revisions define('WP_POST_REVISIONS', 5); # put the setting before this comment /* That's all, stop editing! Happy blogging. */ Remove extra revisions DELETE r FROM wp_posts...
OPNsense – You do not have the permission to perform this action.
Problem: Cannot restore a configuration backup using the GUI in OPNsense Error: You do not have the permission to perform this action. Resolution: Remove all access privileges leaving <priv>pages-all</priv> in /conf/config.xml for the root user Doing it with the...
