Author name: Dan Langille

using smartd to automatically run tests on your drives

NOTE: I am not convinced of the value of doing these tests on a regular basis. smartd and smartctl are two utility programs included with the smartmontools package. On FreeBSD, smartmontools is installed via the sysutils/smartmontools port. Those programs can “control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built […]

using smartd to automatically run tests on your drives Read More »

Running FreeBSD on OSX using xhyve, a port of bhyve

bhyve is a hypervisor/virtual machine manager developed on FreeBSD. xhyve is port of bhyve to OS X. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies. I usually use MacPorts, but ran into trouble with xhyve, so this morning I tried

Running FreeBSD on OSX using xhyve, a port of bhyve Read More »

newsyslog: chmod(/var/log/auth.log.6.bz2) in change_attrs: No such file or directory

This problem was difficult to figure out. The cause was simple, but not obvious. Messages such as this were appearing in emails From July: In August: I had no idea why. My initial suspicion was the /etc/newsyslog.conf configuration for that file: [dan@knew:~] $ grep auth /etc/newsyslog.conf /var/log/auth.log root:logcheck 640 7 * @T00 JC [dan@knew:~] $

newsyslog: chmod(/var/log/auth.log.6.bz2) in change_attrs: No such file or directory Read More »

Ideas about moving the rack two floors down to the basement

This is a work in progress. As I make more decisions and receive additional suggestions/advice, I will update this page. I live in an apartment. The Verizon FiOS ONT is outside on the ground floor. I live two floors up. I am considering moving the rack from the bedroom to 7x12ft locked room in the

Ideas about moving the rack two floors down to the basement Read More »

Perl @INC – customizing it for FreeBSD

This post is all about creating technical debt. If you accept that, go for it. I’m avoiding porting my FreshPorts scripts into SITEPERL. Why? I’ll migrate them to SITEPERL after BSDCan & PGCon. Right now, I need to get the servers upgraded from Perl 5.24 to Perl 5.26, because 5.24 is deprecated. FreshPorts uses Perl

Perl @INC – customizing it for FreeBSD Read More »

Using mtqq to create a notification network: mosquitto, mqttwarn, hare, and hared

As you read this post, keep in mind that my particular use case of notification on ssh login is not for everyone. It may not appeal to you. In fact, you might find this to be an absolutely ridiculous thing to do. I respect that. I suggest that somewhere within your network there is at

Using mtqq to create a notification network: mosquitto, mqttwarn, hare, and hared Read More »

Scroll to Top