admin has written 103 articles

mpd with the alsa equalizer plugin

UPDATED May 2021 (see below) Getting MPD to work with the ALSA Equaliser plugin I found a few sites with ‘howtos’ for this, although none of them worked for me. First thing to do is ensure your MPD installation is working properly, and playing music through your chosen device. If you have any problems getting…

Checkpoint Firewall NG hairpin NAT

See this article for NAT configuration. Hairpin NAT configuration: The above (see the NAT howto) all works very well if your 192.168.1.x hosts sit in a DMZ on the firewall, however! If you want to direct traffic to a host on the LAN segment, you need some additional NAT rule trickery. You need to create…

IIS “failed to remove certificate”

After downloading a new certificate from our SSL provider, I found I was unable to install this new certificate. Windows returned the error “Failed to Remove Certificate”. Using OpenSSL on a Linux box, I did the following: openssl pkcs12 -export -in my.crt -inkey my.key -certfile my.bundle -out my.pfx I was then able to import my…

Installing ClamAV on Windows Server 2012

This documents how I got ClamAV (clamd) working on Windows Server 2012 I downloaded the 64 bit package <clamav-0.99-x64.msi> from sourceforge UPDATE: 01/2020 – The download location has moved to: https://www.clamav.net/downloads#otherversions I then created folders, as I wanted everything in the root of c:\ I have: c:\ClamAV-Conf\ c:\ClamAV-x64 |-\db |-\log Created config files: clamd.conf TCPAddr…

HP Smart array CLI commands

HP Smart array CLI commands (these should apply to any system with the CLI installed) Show configuration /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information for all controllers /opt/hp/hpssacli/bin/hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail…

Windows 7 Environment variables

Windows 7 Environment variables The variables most likely apply to later versions of Windows too. Variable name Value %ALLUSERSPROFILE% (%PROGRAMDATA%) C:\ProgramData %APPDATA% C:\Users\{username}\AppData\Roaming %COMPUTERNAME% {computername} %COMMONPROGRAMFILES% C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files %COMSPEC% C:\Windows\System32\cmd.exe %HOMEDRIVE% C: %HOMEPATH% \Users\{username} %LOCALAPPDATA% C:\Users\{username}\AppData\Local %LOGONSERVER% \\{domain_logon_server} %PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} %PATHEXT% .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc %PROGRAMFILES% C:\Program Files %PROGRAMFILES(X86)% C:\Program…