Mount a BitLocker partition on a Linux system

This post explains how to mount a BitLocker partition on a Linux system. You’ll need the BitLocker recovery key to do so, along with the device file (/dev/sd?) of the

Read More

Mount a partition from a full disk image file on Linux

This post explains how to mount a partition from a disk image file on a Linux system. Such a file may have been created using the dd command. The disk

Read More

Linux whole data disk encryption

This post give the main steps to achieve full data disk encryption. The disk password will be required during boot time. You will need the device name of the disk

Read More

How to create an encrypted file and open it

You’ll find in this post the basic steps to create an encrypted luks file and open it. You’ll need to perform the following steps to create it: The following steps

Read More

Create a Linux Program Launcher Icon

Two tools are now available in the GitHub repository located at https://github.com/ctheroux/LinuxUtilities-Users to create a program launcher for most Linux systems. The first version of them is a command-line version

Read More

Issues with Ubuntu 20.04 on AMD Ryzen 7 4800H and GeForce GTX 1660 Ti

UPDATE: Ubuntu 20.10 fixes the issues listed below. ASUS came out recently with very powerful gaming laptops at a very good price. The hardware is quite recent. Installing Linux on

Read More

Script to create a shared git project

This script creates a git project to be shared among the users of the Unix group $GIT_GROUP. Every git project will be created into the directory $REPOSITORIES_BASE_DIR. #!/bin/bash # Base

Read More

Make Linux use the hardware clock set to local time

Ubuntu sometimes assumes that the hardware clock of the computer is set to GMT. If the hardware clock is set to local time, set UTC=no in /etc/default/rcS.

Read More

Move and secure the MySQL data directory

By default, the data directory of MySQL is /var/lib/mysql. This can be a security issue, especially on a laptop. If your home directory is encrypted, you can easily secure you

Read More

Interrupt NodeMCU init.lua

It can be sometimes challenging to regain control of the NodeMCU running on a ESP8266 when init.lua has a tight loop in it.  To do so,  first, download esptool.py from GitHub.

Read More

Make an Apache2 SSL server more secure

These easy steps will improve significantly the security of your Apache2 SSL server. Edit your /etc/apache2/mods-enabled/ssl.conf file and replace the SSLProtocol, SSLCipherSuite and SSLHonorCipherOrder parameters with the following values. SSLCipherSuite

Read More

How to Install libnfc for PN532 NFC Readers on Linux

Installing libnfc for PN532 based NFC reader is not exactly as described in the documentation. Some information is scattered in the documentation. This installation guide has been tested with the

Read More

How To Setup an Internet Gateway using Ubuntu

Setting up an Internet Gateway using Ubuntu is pretty straight forward. In order to do so, you will need: A computer with two network interfaces. One hooked to your WAN

Read More

Java Applets are no longer working in Linux

NPAPI support was dropped in Chrome version 35 introduced in Spring 2014. One of the consequences is that Java Applets running with IcedTea no longer works. Upgrading to Ubuntu 14.04

Read More

How to restore the Arduino Bootloader?

It can be easily done using Linux. This procedure is for the 328p processor. It can easily be adapted for a 168 processor. You will need an ICSP. First, make

Read More

How to rename a user in Linux

Simply issue this command: usermod -m -d /home/new-account-name -l new-account-name old-account-name It creates the home directory if it does not exists. It also copy the stuff of the old user

Read More

How to use the command line to make the internal speaker beep

Two simple steps: Install the beep utility. Executing beep on the command line will make the internal speaker beep. apt-get install beep Add pcspkr to /etc/modules to load it at

Read More

How to assign a static IP address in Ubuntu

Setting a static IP address in Ubuntu involves editing /etc/network/interfaces. If the interface is currently using DHCP, you will find these lines in the file. auto lan iface lan inet

Read More

How to change the network interface name in Ubuntu 12/13

Two files need to be modified to change the name of a network interface in Ubuntu. For example, if you want to change eth0 for lan, simply change the NAME

Read More

How to find duplicate files on Linux?

It is pretty straight forward in Linux, install fdupes. sudo apt-get install fdupes Type the following command to display the documentation man fdupes

Read More