Knowledge Base

Hard disk emergency data recovery (electrical fault)

Symptoms

Hard disk had been connected to a new modular power supply but the old modular power supply’s SATA power cables were reused.

Cause

Modular power supply leads are not standardized unfortunately.  If you buy a Thermaltake modular power supply to replace a Seasonic modular power supply, you have to install the Thermaltake SATA power cables as well, otherwise you risk supplying +7Vdc or +12Vdc to the GND pins of the hard disk, or +12Vdc to the +7Vdc pin of the hard disk.

Continue Reading →

Hard disk emergency data recovery (electrical fault) was last modified: November 10th, 2016 by tabcom

How to bypass Google Authenticator in WordPress (or Joomla)

So you have configured WordPress to use 2-factor authentication – well done.  You are most likely using the Google Authenticator app on your mobile phone to generate the required pin code.

Problem

But what to do if your mobile phone gets damaged -or even worse- stolen?  How can you logon to WordPress to recover or change the Secret Key necessary to configure Google Authenticator on another mobile phone?

Solution

Temporarily rename the Google Authenticator plugin folder inside WordPress.  The plugin will no longer load and 2-factor authentication is temporarily disabled.  You can now simply login with username and password and retrieve or change the Secret Key.  After you rename the Google Authenticator plugin folder inside WordPress back to its original name, 2-factor authentication is again enabled.

The process in more detail:

cd wp-content/plugins
mv google-authenticator google-authenticator.tmp
2-factor authentication is now disabled.
Login to WordPress using just username and password authentication.
Go to Dashboard | Users
Generate a new Secret Key or just write down the existing Secret key.
Configure Google Authenticator on a mobile phone.
mv google-authenticator.tmp google-authenticator
2-factor authentication is now enabled
(Logout and) Login to WordPress using 2-factor authentication.

This way there is no need to change table fields in the database.

Alternatively there are Google Authentication apps (not made by Google) that offer extra features like exporting the Secret Keys or transferring Secret Keys between phones.  Some even offer to store the Secret Key(s) on the internet for you.

I prefer simply regaining access to the original keys rather than storing keys in multiple locations or in a non-trusted environment.

How to bypass Google Authenticator in WordPress (or Joomla) was last modified: September 26th, 2016 by tabcom

TPlink internet modem won’t connect

Problem

TPlink internet modem refuses to reconnect after a power outage.

Cause

There is no button battery to backup the current date/time. The current data/time value is lost and set to a default value. If the modem is configured to synchronize with internet time servers, this only works after connectivity is restored, not before.

Solution

Manually correct the date/time value.

TPlink internet modem won’t connect was last modified: September 17th, 2016 by tabcom