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

mikrotik

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 […]

Sort Processes by Memory Usage

FreeBSD *Use zfs-stats to check how much is zfs using from your memory Linux ps -eo size,pid,user,command –sort -size | awk ‘{ hr=$1/1024 ; printf(“%13.2f Mb “,hr) } { for ( x=4 ; x<=NF ; […]

https://mikrotik…

mikrotik

… or how to enable www-ssl on MikroTik? By default on MikroTik devices only HTTP tcp/80 is enabled. The traffic going through this protocol is not encrypted and shouldn’t be used where authentication happens. RouterOS […]

yum history

On RHEL/CentOS, yum history is not well-known but is a nice way to undo package installs, including dependencies, or updates. Usage is self-explanatory. I provided some examples below: If you really want you can undo […]

Visual Studio Code – Edit Multiple Lines

Visual Studio Code is a free and awesome editor from Microsoft for Mac, Windows and Linux. I recently discovered that you can select multiple lines at the same time. I was missing this coming from […]

L2TP VPN on MikroTik

mikrotik

There are better documentations with more details on how to create an L2TP VPN via IPsec for Mikrotik, this one is mostly for my own notes. In case you are using the same subnet on […]

Mikrotik – Safe Mode

mikrotik

Whenever you work on a network device there is a chance that you execute the wrong command and you lose connection. This can be bad, mostly if you are far away from the device or […]

MikroTik DNS Client

mikrotik

If you are receiving your IP from your ISP through DHCP there is a good change you are also receiving the DNS servers. By default MikroTik is going to propagate them to your LAN. This […]