Quick Links

FreeNAS on HP ProLiant MicroServer N40L

After the NLUUG presentation on FreeNAS, I bit the bullet and bought the HP MicroServer N40L for experimentation. A small and quiet server, with 4 HDD slots that make for a nice NAS setup. Of course, the system has limited CPU power but it should be enough for basic file serving.

Hardware

I decided to install a low-profile Intel NIC and upgrade the RAM memory to run ZFS comfortably.

HP have published some videos on (dis-)assembling the server, making the job a lot easier. There was only one issue: the mini-SAS connector is a pain to remove. Some Googling later, I found this [...]

Continue reading FreeNAS on HP ProLiant MicroServer N40L

PNP4Nagios with SElinux on CentOS / RHEL 6

PNP4Nagios is commonly used to add performance graphs to a Nagios installation.

For additional security, SElinux is enabled on the monitoring host. There is no standard SElinux policy for applications like PNP4Nagios, so we need to develop a custom policy. This sounds harder than it actually is:

Run the software as you normally would (SElinux will interfere, so prepare for errors)
Extract audit messages and use them to create or update a local SElinux policy for the software
Repeat until everything works

In this example, I am running Nagios 3.2.3 with PNP4Nagios 0.6.16 on EL6, 64-bit.

After configuring Nagios and PNP4Nagios integration in Synchronous Mode (see [...]

Continue reading PNP4Nagios with SElinux on CentOS / RHEL 6

Assembling the JeeLabs OOK433 Plug, part 1

I got some KAKU (Klik Aan Klik Uit) switches to control lighting etc. These can be remote controlled using a JeeNode with the OOK433 Plug.

This plug contains a separate receiver and transmitter board. After consulting the schematic, it appears that the receiver is hooked up to the AIO pin, while the transmitter is connected to the DIO pin. This information is needed when reconfiguring the software for the actual Port socket you plugged the OOK433 into.

There are two solder jumpers that need to be made (marked in the picture on the right):

The upper one selects supply voltage. According to current [...]

Continue reading Assembling the JeeLabs OOK433 Plug, part 1

Assembling the JeeLabs LCD Plug

Today I received my new items from JeeLabs – an LCD Plug and a set of stacking headers.

After soldering the control board to the LCD display,I tried compiling the lcd_demo.ino demo sketch. No luck – it seems that the code no longer compiled with Arduino 1.0.

I added the include-file that was missing:

#include <PortsLCD.h>

and suddenly… nothing happened.

I verified the connections – everything looked good. Oh well – “if all else fails, read the manual”. There were no detailed assembly instructions for this kit, so I had to search through various posts to help debug the issue.

Turns out that you have to [...]

Continue reading Assembling the JeeLabs LCD Plug

JeeNode, JeeLink and the Arduino IDE

The Arduino IDE is used to program and debug your Arduino-compatible boards. JeeLabs has a variety of Arduino-like boards. I use the following settings in the Arduino IDE:

On Mac OS X, the Serial port (Tools/Serial Port) should be set to a device named /dev/tty.usbserial-XXXXXXXX. The speed should be set at 57600 bps.

JeeLabs device
Arduino IDE: Tools/Board

JeeLink v3
Arduino Uno

JeeNode v6
Arduino Duemilanove or Nano w/ ATmega328

TIP: If you have more than one board, multiple serial port devices will exist. You can easily find out the right one by checking the available entries first (in Tools/Serial Port), then plugging in the board, then checking [...]

Continue reading JeeNode, JeeLink and the Arduino IDE