Netwait on FreeBSD

I’m sure your server is running at least one service which needs network. Once in awhile happens that the server will start all, or at least is trying to start all services but the network […]

DNS Blacklist on WRT

Recently I found a forum entry with a script for blocking ad’s via DNS for WRT (or any other OS using sh and dnsmasq). However it was missing two features: a white list and a […]

Easy SSH On macOS

Using public key authentication for ssh is safer than password. But you should really use a passphrase protected private key. Now you are safe but you still need to type in your passphrase. This isn’t […]

newsyslog – config check

On FreeBSD the best way to rotate logs is using newsyslog. After you set up you want to try what would happen when log rotation occurs, this can be done with -n and -vv -n […]

zfs allow

By default many zfs operations needs elevated/root privileges. For example receiving a snapshot on a remote system. One does not want to open ssh to root user. With zfs allow permissions can be delegated to […]

glabel

Add label to a drive in FreeBSD sudo glabel label -v external_disk /dev/da0 Metadata value stored on /dev/da0. Done. glabel list Geom name: ada0p1 Providers: 1. Name: gpt/gptboot0 Mediasize: 524288 (512K) Sectorsize: 512 Stripesize: 0 […]

ZFS snapshot on FreeBSD – Part 2

In my previous post I presented how to do live backups of a running FreeBSD server with ZFS snapshot, today I’m doing the follow up: how to increment that snapshot. If you have a big […]

ZFS snapshot on FreeBSD

A very nice way to do a live backup of your server/work station is with ZFS snapshots, of course, if you use ZFS. You can send a snapshot to: a file, the local system, via […]

Mikrotik with NetFlow on FreeBSD

A short how to adding NetFlow to Mikrotik using ntop and FreeBSD. FreeBSD is the best operating system you can go for your server. While Mikrotik is a budget router it is capable of many. […]

Raspberry Pi and FreeBSD

I’m writing down a few steps for the future me how I installed RaspBSD on a Raspberry Pi 3 Download http://www.raspbsd.org/ Insert memory card then: diskutil list sudo diskutil unmountDisk /dev/disk2 sudo dd bs=1 if=insertFreeBSDImage.img of=/dev/disk2 […]