Smokeping and FPing6 probe.

Recently I noticed that my Smokeping installation had a few empty graphs. It turned out to be all the IPv6 targets, like ipv6.google.com and www.facebook.com. I ping those targets mostly to keep track of changes in my IPv6 latency, as I have to use an IPv6-over-IPv4 tunnel, due to lack of IPv6 support from my ISP (Shame, YouSee).

The fping command could easily ping the IPv6 targets and RRD files had up to date timestamps, so I gathered that some dependency was broken after a (FreeBSD) PKG update, which had already caused me some issues due to the installation of Python36 alongside Python27.

A reinstall didn’t solve the issue and I had to resolve to Google, but apparently, I am the only one in the world with this issue (or dumb enough not to resolve it right away). Then I noticed the “smokeping –debug” command option and immediately spotted an error:

fping6: can't specify both -4 and -6

The /usr/local/sbin/fping6 turned out to be a symlink to /usr/local/sbin/fping. So while /sbin/ping and /sbin/ping6 are two different binaries, fping is apparently (now?) able to serve both IPv4 and IPv6 (as it really should be).

It’s been a long time since I configures smokeping, but after a while I found that the probe binaries are defined in the smokeping config file:

*** Probes ***
+FPing
binary = /usr/local/sbin/fping
+FPing6
binary = /usr/local/sbin/fping6

Changing the FPing6 binary to /usr/local/sbin/fping solved my issue, so somehow fping seems to be able to distinguish between being called directly or using the symlink to /usr/local/sbin/fping6 – which I really don’t understand how it does.

root# fping ipv6.google.com
ipv6.google.com is alive
root# fping -6 ipv6.google.com
ipv6.google.com is alive
root# fping6 -6 ipv6.google.com
fping6: can't specify both -4 and -6
root# which fping6
/usr/local/sbin/fping6
root# ll /usr/local/sbin/fping6
lr-sr-xr-x 1 root wheel 5 Jul 25 20:33 /usr/local/sbin/fping6@ -> fping

I assume that fping has been updated recently and has changed behaviour, but honestly I I haven’t bothered to verify this.

Nu med DNSSEC

Efter lidt startvanskeligheder har jeg nu fået enabled DNSSEC for domænet andersen.nu. Jeg har haft domænet siden 1. maj 1998, hvor jeg registrerede det gennem NuNames.nu. De reagerede desværre ikke på mine henvendelser omkring DNSSEC, så nu er det Larsen Data der står som Registrar. I typisk GratisDNS-stil tog dem under 24 timer at flytte domænet og aktivere DNSSEC.

I samme omgang er også teamholmracing.dk blevet DNSSEC-aktiveret.

Årets energiregnskab – 2015

Brændstof-regnskab:

  • 1395,92 liter diesel (1466,16 liter i 2014)
  • 11820,60 kroner (14337,92 kroner i 2014)
  • 20752 kilometer (22196 kilometer i 2014)
  • gennemsnit: 8,45 kroner per liter og 15,6 kilometer per liter (9,78 kroner per liter og 15,1 kilometer per liter i 2014)

Atter har dieselprisen taget et dyk og nærmer sig nu niveauet fra 2009 . Bilen har artet sig i år og har blot fået et intervaleftersyn og to nye vinterdæk.

El-forbrug:

  • 8393 kWh (8278 kWh i 2014)
  • uge-gennemsnit: 158 kWh

Samlet set har vi haft et lidt højere totalt forbrug, men et lidt lavere ugegennemsnit – der har jo været 53 uger i 2015 . Vores elforbrug er højt for husstandens størrelse, men varmepumpen bruger nok en pæn del af det vi ligger over gennemsnittet.

Vand-forbrug:

  • 150,9 m3 (161,0 m3 i 2014)
  • uge-gennemsnit: 2,8 m3

For første gang i en længere årrække, har vi nedsat vores vandforbrug. Mere korrekt har vi nok nedsat vores vandspild, i form af nye vandinstallationer i det nye hus. Jeg så dog gerne at det kom længere ned, men er lidt blank for idéer – alt er jo allerede vandsparende?

Naturgas-forbrug:

  • 224,27 m3 (1858,45 m3 i 2014)
  • uge-gennemsnit: 3,99 m3 (35,74 m3 i 2014)

Det har været endnu et varmt år. Derfor kan man nok ikke direkte sammenligne gasforbruget i 2015 med de foregående år. Vores forventning til gasforbruget i det nye hus – det vi var blevet stillet i udsigt af Lind & Risør – var en halvering af forbruget. I 2015 har vi ligget tættere på 90 % reducering af forbruget og det skyldes altså ikke kun det milde vejr. Som det ses af grafen, havde vi stort set intet gasforbrug fra april til starten af september.

Årets energiregnskab – 2014

Årets energiregnskab – 2013

Årets energiregnskab – 2012

Årets energiregnskab – 2011

Årets energiregnskab – 2010

Årets energiregnskab – 2009

Årets energiregnskab – 2008

Upgrading Dell Dimension 9200 to Windows 10

The Dell Dimension 9200 is an old PC by all measures. I bought mine in January 2007 and it has served me well. The processor is the Intel® CoreTM2 CPU E6400 @ 2.13GHz, which was state-of-the-art at the time of purchase. It came with a 380 GB disk and 2 GB memory, installed with Windows XP and with a free Windows Vista upgrade.

Over time, it has been improved. I opted out on Vista, but immediately had to purchase a Firewire adapter, that I needed for my Canon DV camera (yes, video cameras had tapes back then). In 2010, it was upgraded to Windows 7 Home 64 bit. Now it supported up to 4 GB memory, so it was upgraded to that and the disk was exchanged with a 1.5 TB Seagate Barracuda 7200.

In that configuration, it laboured on until last year, when my increased use of VirtualBox started to impact performance. I looked around the Net and found that, contrary to Dell’s specifications, it should be able to support even 8 GB memory. So I bought 4 x 2 GB 240-pin DDR2 DIMM modules, with only limited success – it was obviously faster, but started to Blue Screen. The modules where returned to the shop with a full refund and I looked more carefully at what other people had suggested to be safe. I then bought four Corsair XMS2 Xtreme Performance DDR2 2 GB DIMM 240-pin (CM2X2048-6400C5) and everything has worked fine ever since.

Then came along Windows 10 and I registered for my free upgrade, only to be disappointed – the ATI X1300/X1500 graphics adapter is not supported by Windows 10.

Back to Googling and I found that the Radeon HD6450 series should work fine with the Dimension 9200 (and its limited 375 W PSU), so I bought myself a Sapphire Radeon 6450 1 GB DDR3 with support for three monitors and sporting both DVI and DisplayPort connectors. At the same time, I bought a 250 GB Samsung SSD 850 EVO to further enhance the performance.

The current set up is:

  • Dell Dimension 9200 with Intel® CoreTM2 CPU E6400 @ 2.13GHz
  • 8 GB memory (4 x Corsair XMS2 Xtreme Performance DDR2 2 GB DIMM 240-pin (CM2X2048-6400C5))
  • Sapphire Radeon HD6450
  • 250 GB Samsung SSD 850 EVO

I had a Windows 7 Pro product key laying around, so I did a fresh install of that, on the new disk. Then I upgraded to Windows 10 Pro and it went perfectly fine, within a few minutes it had activated itself. Then I chose to re-install Windows 10 Pro from scratch, just to make sure that no Windows 7 leftovers could impede on future performance and/or stability. You may need your Windows 10 Pro product key for that, but it can be found using e.g. ProduKey-64 from nirsoft. Spoiler Alert: All Windows 10 Pro product keys are identical and will be VK7JG-XXXXX-XXXXX-XXXX-3V66T (XXXXX is for obfuscation), at least for installations upgraded from Windows 7/8.x Pro.

BitLocker Disk Encryption is available in Windows 10 Pro, but the Dimension 9200 lacks the modern type BIOS that allows secure storage of the encryption key. It can be activated by performing a little operation Windows Registry Keys and then you will have to either enter a password/passphrase at boot time or have dedicated USB key with the encryption key inserted in the computer at boot time. I prefer the passphrase, because USB keys tend to fail over time.

 

Årets energiregnskab – 2014

Brændstof-regnskab:

  • 1466,16 liter diesel (1310,88 liter i 2013)
  • 14337,92 kroner (13570,58 kroner i 2013)
  • 22196 kilometer (19279 kilometer i 2013)
  • gennemsnit: 9,78 kroner per liter og 15,1 kilometer per liter (10,35 kroner per liter og 14,7 kilometer per liter i 2013)

Bilen har fået nye forbremser (både skiver og klodser), ny tandrem og, akut, nye fjederben foran.

El-forbrug:

  • 8278 kWh (6119 kWh i 2013)
  • uge-gennemsnit: 159 kWh

Forbruget er det samlede forbrug for vores to adresser i 2014, inklusiv byggestrøm på Rydtoften.

Vand-forbrug:

  • 161,0 m3 (158,6 m3 i 2013)
  • uge-gennemsnit: 3,1 m3

Forbruget er det samlede forbrug for vores to adresser i 2014, inklusiv vandforbrug under byggeriet på Rydtoften. Det er egentlig forbløffende lavt.

Naturgas-forbrug:

  • 1858,45 m3 (2112,69 m3 i 2013)
  • uge-gennemsnit: 35,74 m3

Det har været et varmt et år og selvom vi havde et temmelig højt gasforbrug i hele marts og april, i lejehuset i Værløse, så er årets forbrug noget lavere end 2012. Det skyldes også, at gasforbruget i det nye hus er utroligt lavt – i gennemsnit 9 m3 per uge i de sidste 10 uger af 2013. Til sammenligning var det ikke under 45 m3 i nogen af samme uger i 2012.

Årets energiregnskab – 2013

Årets energiregnskab – 2012

Årets energiregnskab – 2011

Årets energiregnskab – 2010

Årets energiregnskab – 2009

Årets energiregnskab – 2008

What is Electricity?

Hilarious 🙂

Here is a simple experiment that will teach you an important electrical
lesson: On a cool, dry day, scuff your feet along a carpet, then reach
your hand into a friend’s mouth and touch one of his dental fillings.
Did you notice how your friend twitched violently and cried out in
pain?  This teaches us that electricity can be a very powerful force,
but we must never use it to hurt others unless we need to learn an
important electrical lesson.

It also teaches us how an electrical circuit works.  When you scuffed
your feet, you picked up batches of “electrons”, which are very small
objects that carpet manufacturers weave into carpets so they will
attract dirt.  The electrons travel through your bloodstream and
collect in your finger, where they form a spark that leaps to your
friend’s filling, then travels down to his feet and back into the
carpet, thus completing the circuit.

Amazing Electronic Fact: If you scuffed your feet long enough without
touching anything, you would build up so many electrons that your
finger would explode!  But this is nothing to worry about unless you
have carpeting.
— Dave Barry, “What is Electricity?”

Årets energiregnskab – 2013

Brændstof-regnskab:

  • 1310,88 liter diesel (1085,03 liter i 2012)
  • 13570,58 kroner (11518,43 kroner i 2012)
  • 19279 kilometer (15774 kilometer i 2012)
  • gennemsnit:  10,35 kroner per liter og 14,7 kilometer per liter (10,62 kroner per liter og 14,5 kilometer per liter i 2012)

Bilen har kørt udmærket i det forgangne år. Bortset fra et 20.000 km intervaleftersyn, har den pænt holdt sig ude af værkstederne i 2013. I det nye år skal den have nye forbremser (både skiver og klodser) og en ny tandrem.

El-forbrug:

  • 6119 kWh (6275kWh i 2012)
  • uge-gennemsnit: 118 kWh

Endnu en gang et lille fald i forhold til sidste år, hvilket egentlig overrasker mig lidt 🙂


Vand-forbrug:

  • 158,6 m3 (153,6 m3 i 2012)
  • uge-gennemsnit: 3,0 m3


Naturgas-forbrug:

  • 2112,69 m3 (1926,86 m3 i 2012)
  • uge-gennemsnit: 40,63 m3

Endnu en gang en svag stigning i forhold til året før.

Årets energiregnskab – 2012

Årets energiregnskab – 2011

Årets energiregnskab – 2010

Årets energiregnskab – 2009

Årets energiregnskab – 2008