Switching Xorg keyboard layout on OpenBSD

I own laptops with a French keyboard. And when my Cloud servers reboot for maintenance, I have to enter their FDE passphrase. This is done by some VNC-like stuff that don’t work well with non-US layout keyboard.

Here’s a few minimalistic options to switch keyboard layout on OpenBSD.

Continue reading “Switching Xorg keyboard layout on OpenBSD”

Statistics from Freebox Revolution into Xymon server

For those who may not know, the “Freebox Revolution” is the 6th release of the access box from the French ADSL/FTTH provider named “Free”. In my case, it provides Internet access via FTTH. The box has a Web management interface from where you can configure and check statistics. The only “sad” news is that it does not provide any SNMP service. The only way to keep a eye on what goes through the ports is to log on the Web interface.

Here’s how I use the Web interface to grab metrics and show them in Xymon.

Continue reading “Statistics from Freebox Revolution into Xymon server”

Improve Synology DS409slim shell using ipkg

I own a Synology DS409slim on which I have enabled SSH. The primary idea was just to have a look behind the hoods. This is quite simple: browse to the configuration panel, select the terminal services section and active the SSH daemon.

But once there, you’re stuck with a basic shell and a few commands. No `less`, no `grep`, no `bzip2`, no `perl`… Synology provides an official packages repository that provides a few extra features ; like VPN, LDAP and such ; but not so much to get a “complete” UNIX environment. The savior here is called “ipkg”. Quoting Wikipedia: “(…) the Itsy Package Management System (ipkg), is a lightweight package management system designed for embedded devices that resembled Debian’s dpkg. (…)”. It provides a bunch a GNU-like tools and it runs on the Synology!

Continue reading “Improve Synology DS409slim shell using ipkg”