Category Archives: Servers

Windows : Install Ubiquiti Unifi SDN Controller as a service

If you are operating Ubiquiti wireless gear compatible with the Unifi controller, and running it on a Windows machine, you may have noticed that you need to start the application manually every time you restart the computer. Fortunately, there is a way of adding it “as a service”, just like any OS/system services. Follow the… Read More »

Linux : There is no screen to be resumed matching …

Using “screen” on Linux to perform your important work? Way to go, SysAdmin 🙂 Then you might at some point encountered the following behavior – while attempting to resume a session using “screen -r”, the following message occurred : There is a screen on: 1610.pts-0.host (25/08/18 08:25:36 PM) (Attached) There is no screen to be… Read More »

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 »