Similar Posts
Print-to-Folder on FreeBSD
Some printers, like the one I have (HP 8600 Pro), have “Print-to-Folder” capability. Unfortunately, I have no Windows server, only a FreeBSD box to print to. I can mount folders from the FreeBSD box on my MacBook.. if I can get files to scan there. So, to do that, I need a Samba…
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…
freebsd-arm-tools
I’ve had the opportunity to make some updates to the freebsd-arm-tools. If you’re interested in trying FreeBSD-current on a Raspberry Pi, I’ve posted a build at http://files.khubla.com/freebsd-raspberry-pi/ which has full Wifi and pf support. If you’re interested, the kernel configuration is here. Installing the FreeBSD on the Pi is simple. Firstly, get an image, such…
Securing FreeBSD with Ansible
My preferred server OS is FreeBSD. Each time I install it, I have to go through numerous steps to secure it. So, to avoid that effort, and to make sure I get it right each time, I’ve created an Ansible playbook to automate the entire process. You can learn about it here. Some of the…
A simple FreeBSD GPIO Example
I’ve been making FreeBSD-Current builds for my Raspberry Pi. Naturally I wanted to try out the GPIO support to find out just how simple it is to use. Here’s an example, and the full code is here. int main (int argc, char *argv[]) { char *device = “/dev/gpioc0”; int gpiofd = open(device, O_RDWR); if…
Spelunking the Crochet-FreeBSD Wandboard boot
Some time ago I was part of the effort to add Wandboard support to Crochet-FreeBSD. I wrote a blog posting about it here. An explanation of how Crochet-FreeBSD boots the Wandboard is below: The Wandboard uses U-Boot as its initial boot-loader. A number of patches to the U-Boot source are required, and you…