Blog category: FreeBSD

Automatic bootstrapping of pkg(7) in FreeBSD

January 1, 2014 by Paweł Biernacki

Since FreeBSD 10.0 pkgng becomes new default packaging management system. To start using it you need to run /usr/sbin/pkg boostrap command that will fetch and install the whole new packaging system. It will politely ask you if you are sure to proceed. The problem is when you want to automate your install you are hold by that interactive question.

Continue reading

Peer to peer routing in FreeBSD

November 21, 2013 by Paweł Biernacki

Some hosting providers started offering IPs or IP aliases with /32 bit mask (for example Hetzner). Virtual interfaces such as gif or tun have built-in ability to act as peer to peer devices and ifconfig utility can use that ability to easily setup of these interfaces, but ethernet devices need some special treatment.

Continue reading

In search of working devfs rules

November 18, 2013 by Paweł Biernacki

On 10th Oct 2013 in revision r256256 FreeBSD has changed rc.d script for running jails. The new version uses configuraion from /etc/jail.conf file instead of /etc/rc.conf entries. This change exposed a problem where devfs was not importing default rules anymore - therefore option devfs_ruleset was ignored.

Continue reading