Category Archives: Servers

Linux : How to get hardware serial number

The easiest way to get hardware serial and related information is using “dmidecode“. The command below should give you exactly what you need : dmidecode -s system-serial-number The command above does not usually work with “clone” computers/servers. Alternatively, you may use the command below, which will output all parts serial number availables : dmidecode |… Read More »

Windows : Upgrade the Ubiquiti Unifi SDN Controller

This tutorial will show you the simple steps to upgrade your Ubiquiti Unifi SDN Controller running on Windows. The software can be found on the manufacturer Web site (https://www.ubnt.com/download/unifi). We recommend using the LTS (Long Term Support) version unless you need the bleeding edge features. Upgrading to newer version might not allow downgrade in case of… Read More »

Windows : How to retrieve Fiber Channel interface WWNs

Here is a simple PowerShell command that will output the FC host adapter interface WWNs. Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | ForEach-Object {(($_.NodeWWN) | ForEach-Object {“{0:x}” -f $_}) -join “:”} If your interface have two ports, both will be output in order. This command have been successfully tested with QLogic adapters on Windows 2012 and… Read More »

Linux : How to show domain TTL with DIG

Here is some useful commands to display a domain Time To Live (TTL) using the DIG command (which is usually included within “bind-utils” package). To display the full information : dig +nocmd +multiline +noall +answer any domain.tld To display the short, default answer : dig +nocmd +noall +answer domain.tld NOTE : Replace “domain.tld” by the… Read More »

Windows : Change DNS update frequency in Active Directory

If you are not satisfied with the refresh rate of DNS within your active directory environment, there is a way of forcing it by increasing or decreasing the default setting in the registry. First of all, there is a command to find out your curent settings : dnscmd /info /dspollinginterval It should output something similar… Read More »

Linux : R1Soft The following signatures couldn’t be verified because the public key is not available

Getting this error from the R1Soft repo lately trying to run a “apt-get update” on Debian Linux? Ign http://repo.r1soft.com stable Release W: GPG error: http://repo.r1soft.com stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 39A4965166BD1D82 Simply do the following to import the new key and get rid of… Read More »