Mac Encryption

If you desire to encrypt your data stored on devices (macOS), FileVault 2 is a free encryption software tool.

Just like BitLocker, FileVault 2 (FileVault full-disk encryption) uses XTS-AES-128 encryption with a 256-bit key “to help prevent unauthorized access to the information on your startup disk”. Here are the steps to turn on FileVault2 on you macOS.#

Open the System Preferences.
- click Security and Privacy.
- In the Security & Privacy pane, 
- Click the FileVault tab.
- Click the lock in the bottom-left corner of the Security & Privacy pane.
- Enter your administrator name and password for the computer and then click Unlock..

Depending on the option to store the recovery key you have chosen, this can be saved in your iCloud or on your device. I chose to save it to iCloud. After this is done, the encryption of the hard disk will run and this can take up to 24 hours as shown below.

Note: To turn off Data encryption, kindly follow the same process in reverse order as shown below. All you need to do is turn off FileVault.

Open the System Preferences and click Security and Privacy.
- In the Security & Privacy pane, click the FileVault tab.
- Click the lock in the bottom-left corner to allow you to make changes.
- Enter your administrator name and password for the computer and then - Click Unlock..
- Click Turn Off FileVault.

How to wipe configuration off an interface on a Cisco router

The following command can be used to clear of the configuration on an interface on a Cisco Router or Switch

Switch(config)#default interface range gigabitethernet 0/1 - 52

Note: You can also use the negation command, by adding “no” before the command to clear off configuration applied to an interface or Cisco Switches and Routers

Possible MS SQL Errors

Error 1: Cannot connect to the localhost, connection timed out.

Solution:
Simply increase the timeout error in the MS Management Studio connection settings (increase from 30 t0 120 and remember to turn this back again to the default after the first connection). Fix the initial timeout connection and this can be changed afterward. Increased connection timeout to 120.

Error 2: Cannot connect “An exciting connection was forcefully closed by the remote host Sql Exception with error number 10054

Solution: Try to identify and understand your environment in order to resolve this issue.

  • This error clearly shows that the problem is not the firewall or the remote connections, but the login process.
This was not resolved because connection seems to work but the authentication method I tried to use is not supported by the database instances and therefore did not work. I was trying to connect using Domain Account and this was not supported.