OpenDNS is my preferred DNS service. This is how you can configure a MikroTik router for OpenDNS using DoH or DNS over HTTPS. Athe actual URL of the server, then, because you have no other […]
Block Adds With MikroTik
Ionut Micu created a cool MikroTik script to block adds by assigning 127.0.0.1 to their hostname, similar to Pihole. This is basically the same I just included a few allow list that I usually use, […]
Capture IP From PING
This is just a simple sed to capture IP address from ping. Note host must allow ICMP. This was tested on sh, bash and zsh. An example:
newsyslog: don’t rotate empty log files
My idea about not to rotate empty log files on FreeBSD has made it to newsyslog, yay 😀 ! Big thanks for Dan Langille who made this happen!
tmutil
tmutil is the command line tool to interact with your Time Machine backups. The graphical user interface is good in most of the cases, but not all, it’s a bit limited; when you need to […]
Docker Won’t Start After Update
I updated docker on CentOS 8 from docker-ce-3:19.03.13-3.el8.x86_64 to docker-ce-3:20.10.1-3.el8.x86_64 and failed to start after update. Oh no, now what? 🙂 Let’s see more details: Turned out the fix was to remove trusted.xml, or better […]
Happy Xmas
macOS WiFi 2.4/5GHz
In case you have the same (B)SSID for 2.4 and 5GHz but you want to force your Mac to one of them it can be easily done with Terminal. First scan the network then using […]
MikroTik Inter-VLAN Access
By default on MikroTik inter-VLAN communication is allowed. There is a chance this isn’t what you want to allow if you are using VLAN’s. This is how you can disable it: create firewall address lists […]
/var/cache/pkg
On FreeBSD /var/cache/pkg can use up a significant amount of space. The good news is the content of this directory is not required. However it is useful if you want to rollback to an older […]