Firmware update ILO of HPE DL385 gen1

July 17th, 2017

Playing around with old hardware brought me to a place where I needed to firmware upgrade the ILO of an HPE DL385 G1 server in linux (Centos6). Fairly simple actually

[root@dl385 ~]# ./CP023365.scexe
FLASH_iLO v1.10 for Linux (Mar 19 2009)
Copyright 2008 Hewlett-Packard Development Company, L.P.
Firmware image: ilo196.bin
Current iLO firmware version 1.87; Serial number ILOow�:nػ_�_�ܕ/ϟ

Component XML file: CP023365.xml
CP023365.xml reports firmware version 1.96
This operation will update the firmware on the
iLO in this server with version 1.96.
Continue (y/N)?y
***** DO NOT INTERRUPT! *****
Firmware image file is being sent … 100%
Flash is in progress…
Firmware flash is complete.
The device will reset …
Device reset will complete in 1 seconds…
[root@dl385 ~]#

Firmware update HPE smartarray 6i in linux

July 17th, 2017

Playing around with old hardware brought me to a place where I needed to firmware upgrade some HPE Smart Array 6i controllers in linux (Centos6). Fairly simple actually

[root@dl385 ~]# sh ./CP009358.scexe
Firmware CD Supplemental Update / Online ROM Flash Component for Linux - Smart Array 6i
* Version of rom to be flashed: 2.84
* Number of controllers: 1
* The version of existing Array ROM is 2.68
* 1 controller(s) will be flashed
* This operation may take about 2 minutes
Flash ROMs Now? (Yes/No): yes
Flashing 1 controller(s), please wait....
Success: Product 40910e11 at controller position 0
with old version 2.68 has been updated with new version 2.84.
ROM Flash complete. New firmware will take effect when the server is rebooted.
As part of the reboot process, you should power cycle the server and any
external drive arrays.

Fiber 1.5 year later

December 23rd, 2016

So how did the fiber do after 1.5 year? Actually quite good. 0.03% lost packages (most of which happens to be me fooling around) and 1.5 ms avg latency to the ISP gateway. I could use more bandwidth, but hey, I get this for free, who am I to complain. 

FTTH via TDC HomeDuo Fiber (egen router på TDC HomeDuo Fiber)

July 13th, 2015

Finally I got FTTH. My manager at my work was cool enough to let me have FTTH by upgrading my work@home package from ADSL to Fiber. This picture shows the difference between ADSL and Fiber very well. Latency goes from 16ms to 2ms. And the packet loss is gone (the drops you see in the 2ms line is me fooling around, but about that in a moment)


Technically TDC HomeDuo fiber consists of a Raycore RC-OE1A followed by Sagem HomeBox (rebranded for TDC). The latter is geared towards mr. and ms. ignorance and is very limited to what you can actually do. To make matters even worse, my company has a special profile that locks the box down even further, making it impossible to live with if you are just a bit technical. Playing around with the setup, and wanting to go back to my beloved rt-n16 running openwrt, I had some experiments, where I played around with it, to make it work (hence the packet drops). It is actually not that hard

  • TDC FTTH uses wlan 101 for WAN
  • To get your own router online fast, I suggest using the mac address from the Sagem crap.

So to get that to work, select network in openwrt. Select switch. Enable vlan tagging. Assign  vlan 101 to port 0 (WAN) and CPU

Screenshot from 2015-07-13 14:11:59

After that is done, you select interface, select WAN (eth0.101) and press edit

interfaceUnder the advanced tab you then override the mac address if needed and it ofcourse has to start at boot

Screenshot from 2015-07-13 14:27:36

And then under physical, you bind the WAN to eth0.101

Screenshot from 2015-07-13 14:28:20

And the result of going from Sagem to openwrt is also measuable. The difference is not large in latency, but it is there. The usability of openwrt over the sagem box is however worth every hassle endured.

openwrt_over_sagemThe bandwith provided by my work is “only” 50Mbit/s. The raycore is providing/connect at 100Mbit/s, so the limit is artificial and done on the TDC equipment upstream.

BlueOS 1.16.2

May 9th, 2015

Downloaded. Installed. And gained access to the root prompt. All in 5 minutes. I really should do something about the perl decryption though.

And to the ones mailing me about my BlueOS root access backdoor. Well, I will not inform how I do it, because then it will be closed in matter of minutes with a new maintenance release from Bluesound :-). That said, injecting a new password hash into the recovery iso, while not for scriptkiddies, are not that much trouble and should take an educated fellow less than a couple of hours work.

Memory upgrade of my HP 4250 Laserjet printer

February 24th, 2015

For merely $20 i ugpraded my Laserjet HP 4250 printer from 64MB to 320MB memory. It means that I can just send it a .pdf and it will print it. Cool actually. Works well in these mobilephone times where not all phones have drivers for printers.


Screenshot from 2015-02-24 18:11:26-edit

Upgrading HP LaserJet 4250 fw

February 13th, 2015

To my joy I noticed that my HP LaserJet 4250 had an ancient FW. Not that the newer firmwares provided anything useful in my case. Neither bugfixes for bugs that I was hit by, or features that I longed for. The process of FW upgradinga HP LaserJet 4250 to a newer FW is actually quite simple. Here goes


zensonic@x230:~/Downloads$ wget

zensonic@x230:~/Downloads$ ncftp
NcFTP 3.2.5 (Feb 02, 2011) by Mike Gleason (

Copyright (c) 1992-2011 by Mike Gleason.
All rights reserved.

Connecting to…
FTP Server Ready
Logging in…
Hewlett-Packard FTP Print Server Version 3.0.
Directory:    Description:
PORT          hp LaserJet 4250

To print a file use the command put <filename> [portx]
or ‘cd’ to a desired port and use put <filename>.

User logged in.
Logged in to
ncftp / > bin
ncftp / > mput lj4240_4250_4350fw_08_250_2.rfu

lj4240_4250_4350fw_08_250_2.rfu:  ETA:   0:00   16.68/ 16.68 MB  277.63 B/s


And then the printer rebooted yielding.


All done.

Migration to a new lowpower server (Thinkpad T420)

November 24th, 2014

I recently bought myself a spar’o’meter, (kill’a’watt like device) which is able to measure the power usage of electrical equipment. To my horror I found that my “lowpower” AMD fusion based server consumed around 50 watt! Clearely something had to be done.

Luckily I had the right piece of equipment at hand. A lenovo thinkpad T420 with a broken/shattered LCD. Any decent laptop is built to minimize power consumption, so using an T420 alone would save on the electrical bill, but I went a bit further. More precisely:

  • Took off the (broken) TFT and disconnected it from the mainboar
  • Took out the bluetooth module
  • Took out the wireless module
  • Disabled all unneeded peripherals, serial ports, usb ports,
  • Bouht myself a 1TB WD red 2.5″, which consumes around 1 watt.
  • Removed the DVD drive.
  • Enabled maximum power settings in the bios.

I then put in 2 x 4GB of memory and together with the core i5 cpu, this would be a nice server with a built-in “ups”. On the software part, I migrated away from one big server years ago. I run esxi on my servers now. There was a small issue here, as ESXi 5.5 does not have support for the Intel Gigabit 82579 LM chip out of the ISO file.

This is not a biggie. You patch the iso with the correct driver for the E1000E chip using the esxi-customizer script and then you boot the customized .iso file.

I ended up with a esxi host that consumes 12 watt. A factor 4 better than my old AMD fusion based setup. And it feel snappier as well. The trade-off: I had to go from 2 x 2TB disks to 1 x 1TB. But that alone saved 10-15 watt.

About fixing Bluesound playlists after CIFS migration

November 2nd, 2014

I recently wiped TomatoUSB and installed OpenWRT Barrier Breaker on my Linksys E3000 based router. In that process I also migrated our FLAC collection from my x86 based server edison  to the OpenWRT router. Life was good….. until my wife complained that the her Bluesound playlists had stopped working.

Luckily I have root access to my Bluesound and can fix stuff like this. Heres the issue and the fix.

After the switch to OpenWRT the world look like this as seen from the Bluesound:

root@Stue /tmp/var/data$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               903080    342168    515040  40% /
tmpfs                   127488        48    127440   0% /tmp
tmpfs                   127488        36    127452   0% /dev
/dev/mmcblk0p3         2778768     86668   2550944   3% /tmp/var/data
shm                     127488         0    127488   0% /dev/shm
// 153703308  74379356  79323952  48% /tmp/var/mnt/OPENWRT-flac

But a peek inside the playlist.db on the Bluesound shows the following

‘StoredPlaylist::files’ => ‘/var/mnt/EDISON-flac/Arvo Part – Alina/01-Spiegel im Spiegel (Version fur Violine und Klavier).flac
/var/mnt/EDISON-flac/Arvo Part – Alina/02-Fur Alina (fur Klavier).flac
/var/mnt/EDISON-flac/Arvo Part – Alina/03-Spiegel im Spiegel (Version fur Violoncello und Klavier).flac
/var/mnt/EDISON-flac/Arvo Part – Alina/04-Fur Alina (fur Klavier).flac
/var/mnt/EDISON-flac/Arvo Part – Alina/05-Spiegel im Spiegel (Version fur Violine und Klavier).flac
/var/mnt/EDISON-flac/Arvo Part – Alina/03-Spiegel im Spiegel (Version fur Violoncello und Klavier).flac’

Notice how the name of the CIFS server is part of the playlist entry. After figuring out the format of the playlist.db, it was trivially easy to write a little perl program to convert them. I did have to take care of some latin1 to utf8 as well, but that was also easy. For anyone who cares:

#!/usr/bin/perl -w
# – version 1.0 gamma. Project hours: 1
# —————————————————————————-
# “THE WISHLIST LICENSE” (Revision 42):
# <> wrote this file.  As long as you retain this notice you
# can do whatever you want with this stuff.
# If you feel it saved your world a gift from
# is highly appriciated
# —————————————————————————-
# Copyright 2014.11.01 by Thomas S. Iversen (

use strict;
use Storable qw(nstore retrieve);

die “$0 <path_to_playlist> <regexp_match> <regexp_replace>” if(!($#ARGV+1 == 3));
my $filename = $ARGV[0];
my $regexp_match = $ARGV[1];
my $regexp_replace = $ARGV[2];
my $storable;

die “$filename does not exist\n” if(! -f $filename);
$storable = retrieve($filename);
foreach my $playlist (@$storable) {
my $name=$playlist->{‘StoredPlaylist::name’};
print “Converting playlist ‘$name’\n”;

# capital danish

# lower danish

# lower swedish

# capital swedish

my $filename_new=$filename . “.new”;
print “Saving playlist as $filename_new\n”;
nstore($storable, $filename_new);

Which I then ran as

root@Stue /tmp/var/data$ ./ stored_playlists.db EDISON OPENWRT
Converting playlist ‘Svensk jul’
Converting playlist ‘Hvid januar’
Converting playlist ‘Lektier’
Converting playlist ‘Moderne salmer’
Converting playlist ‘Total afslapning’
Converting playlist ‘P�ske’
Saving playlist as

And then the last part

mv playlist as playlist as stored_playlists.db

And restart the Bluesound app on the phone (it caches). Happy wife 🙂

BluOS 1.12.1

November 1st, 2014

Yet another version with support for more streaming services. And yet again I found myself looked out of my player. I am getting faster and faster at regaining root on the player :-).

Cool that new features keep being developed!