Similar Posts
TimeMachine backups on FreeBSD-10
I usually work on a Macbook, and I use keyless ssh with a cron job to do nightly backups. It works very well. However, I decided to try backups with Time Machine, using my FreeBSD-10 server as the host. The first step is to install netatalk3, and nss_mdns pkg install netatalk3 pkg install nss_mdns avahi…
Creating a custom FreeBSD build for Raspberry Pi
The default FreeBSD kernel for Raspberry Pi can be found here in the FreeBSD source browser. It’s everything you need to boot FreeBSD on a Pi, and includes GPIO support. However, the Pi is a nice small computer, so it’s likely that you’ll want it to include options such as Wifi, and pf. In my…
FreeBSD Jail filesystems
I’ve been using FreeBSD jails for a while, and was looking for a simple way to create jail filesystems. After some reading, I came up with this simple script which creates full FreeBSD filesystems. The filesystem can then be used via jail.conf. #!/bin/bash JAILNAME=$1 echo “kjail “$1 JAIL_HOME=/tank/kjail/ FTP=http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.1-RELEASE/ # # get packages # if…
Simple pf for Raspberry Pi
One of the best things about the Pi is that it’s small, and portable. It’s very tempting to use it on wireless networks, unattended. Sadly, in the real world, any wireless network can be hacked, and any device on wireless should be considered vulnerable. So, pf is an easy way to harden your Pi. The…
Spelunking the FreeBSD ARM FDT
The FDT is the “Flattened Device Tree”, a simple device tree used in embedded FreeBSD, for example on a Pi. Every architecture has a DTS file, which contains a human-readable list of hardware for that architecture. For example, the Pi FTD is here. You should notice that there are declarations for: cpu axi (the…
Bootstrapping pkgng on FreeBSD ARM
There is no official pkgng repo for FreeBSD-arm, yet. There is an unofficial one, here, however in order to use it, you have to have pkgng installed. As far as I can tell, the only way to install pkgng on ARM is to builds and install from source. On the platform I’m using, Wandboard, the…