Realtek RTL8812BU drivers on Deepin Linux 20.1

lsmod – to view modules already installed, remove old ones with rmmod
e.g. 88x2bu 2609152 0
r8168 548864 0

lspci – to check Realtek driver capability
e.g. bill@DEEPIN-Bill:~$ lspci | grep Realtek
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)

sudo apt-get update
sudo apt-get install build-essential dkms git
git clone https://github.com/cilynx/rtl88x2bu
cd rtl88x2bu/
VER=$(sed -n ‘s/\PACKAGE_VERSION=”(.*)”/\1/p’ dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

Deepin Linux 20.1:

sudo iwconfig INTERFACE essid AP_ID key s:PASSWORD


# openSUSE Leap 15.1/Debian 10 (tested)
sudo apt update
sudo apt -y install dkms git bc
git clone https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
sudo reboot

NordVPN CLI commands

Welcome to NordVPN Linux client app!

Version 3.7.4

Website: https://nordvpn.com

Usage: nordvpn [global options] command [command options] [arguments…]

Commands:

     account        Shows account information

     cities         Shows a list of cities where servers are available

     connect, c     Connects you to VPN

     countries      Shows a list of countries where servers are available

     disconnect, d  Disconnects you from VPN

     groups         Shows a list of available server groups

     login          Logs you in

     logout         Logs you out

     rate           Rate your last connection quality (1-5)

     register       Registers a new user account

     set, s         Sets a configuration option

     settings       Shows current settings

     status         Shows connection status

     whitelist      Adds or removes an option from a whitelist

     help, h        Shows a list of commands or help for one command

Global options:

   –help, -h     show help

   –version, -v  print the version

For more detailed information, please check manual page.

How to Enable or Disable Disk Write Caching in Windows 10

(Taken from an article by Vamsi Krishna)

What s Disk Write Caching?

Disk Write Caching is a process where Windows uses your system memory (RAM) to cache write commands and then push them to your permanent storage, like the hard disk. Having Disk Write Caching enabled can improve system performance because programs don’t have to wait for the system to complete writing its data to the regular hard drive. The write-requests will be cached and completed automatically by Windows.

Since Disk Write Caching caches data in the RAM to improve system performance, the side effect is that in the event of any power loss, system crash, or equipment failure, there may be a loss of information. In those situations you can simply turn off Disk Write Caching to reduce the likelihood of data loss while writing.

By default, Disk Write Caching is enabled for internal hard drives and disabled for external hard drives like removable disks. The good thing about Disk Write Caching is that you can enable or disable it on a per individual drive basis.

Enable or Disable Disk Write Caching

First, search for “Device Manager” in the Start menu and open it. You can open it from the Power User menu, too. Just press Win + X and select “Device Manager.”

disk-write-caching-win10-open-device-manager

In Device Manager expand “Disk Drives,” right-click on the target hard drive and select “Properties.”

disk-write-caching-win10-select-properties

Go to the “Policies” tab. To enable Disk Write Caching, check the option “Enable write caching on the device.” As I said earlier, write caching is enabled for internal hard drives by default.

To disable Disk Write Caching, uncheck the “Enable write caching on the device” checkbox.

disk-write-caching-win10-disable-write-cache

If you are configuring Disk Write Caching for removable drives, select the “Better performance” radio option, and then select the “Enable write caching on the device” checkbox.

Note: When you select the “Better performance” option for removable drives, you should always disconnect that specific removable drive using the “Safely Remove Hardware” option from the taskbar and then unplugging it. If you unplug the device without first disconnecting it from Windows, there might be data loss if the system hasn’t fully completed writing to the drive.

disk-write-caching-win10-enable-write-cache-removable-drive

To disable Disk Write Caching on a removable drive, select the radio option “Quick removal (default).”

disk-write-caching-win10-disable-write-cache-removable-drive

Once you are done, click on the “Ok” button and restart your system to make the changes take effect.

That is it. It is that simple to modify Disk Write Caching in Windows. As I said before, please be careful while editing the Disk Write Caching feature.

NordVPN on Linux Install

1. Get the NordVPN repo setup .deb package

You can Download the file here or at the top of this page

2. Install the NordVPN repository

Open the terminal and run the following:sudo apt-get install {/path/to/}nordvpn-release_1.0.0_all.deb

3. Update the apt-get package list

Type this command:sudo apt-get update

4. Install NordVPN

Almost there! Enter the last command to install NordVPN:sudo apt-get install nordvpn

Bluetooth downloaded file location on Win 10

If you have downloaded files via BT to your PC, .e.g from a mobile device, the files are stored in the folder below.

C:\Users\USERNAME\AppData\Local\Temp\

To view the directory you need to enable viewing of hidden files in File Explorer. See below.

Check date stamps on dircetories to locate your recently downloaded files.