Categories
Hardware Linux

Fix: Laptop Touchpad disabled after Ubuntu 18.04 Update

I upgraded to Ubuntu 18.04 without issues. However, after a certain update suddenly the laptop touchpad stopped working. I tried few fixes suggested and ended up disabling even the keyboard. I didn’t have time to debug and left it as it is for few days. Today, finally I looked into it and found a simple […]

Categories
Tech

Enable LXD GPU pass-through in Ubuntu 18.04 (Bionic Beaver)

Problem One of the biggest challenge (aside from upgrading nvidia & cuda) in upgrading from Ubuntu 16.04 to Ubuntu 18.04 is enabling GPU passthrough in LXD Containers. Due to a bug in parsing logic, it cannot properly parse Blacklisted line in nvidia-410 drivers. Solution The simplest solution is to upgrade lxd to 3.0.2. To do […]

Categories
Linux

How to provide Secure Isolated (Restricted) SFTP Access for file transfer

Often we need to provide secure but restricted sftp access to our clients to upload or download large files. Regular sftp accounts allow the users to view login names of other users/clients and in many default installations even allow them to browse through the directories and files. In addition, they can also view your system […]

Categories
Linux

OVH: How to add Additional IP Addresses (IP Alias) on Ubuntu 16.04 / 18.04

Adding additional IP addresses in OVH is rather unconventional and the guide they point to in their mail is non-existent. The process, fortunately, is simple: ssh to the server as root cd /etc/systemd/network/ vi *-default.network Add the new IP address after the original IPv4 Address DHCP=no Address=Main_IP/24 Address=Failover_IP/32 Save and close the file Reboot the […]

Categories
Java

Ubuntu: How to install Oracle JDK 8 with apt get

Oracle JDK can be easily installed in Ubuntu using apt. Using apt simplifies the job of updating the JDK from time to time. To install Oracle JDK 8 sudo apt update sudo add-apt-repository ppa:webupd8team/java sudo apt update sudo apt install oracle-java8-installer  

Categories
Tech Tutorials

How to use dd (Linux copy tool) with progress indicator

dd, the ubiquitous copy tool of Unix/Linux, now comes in with a decent built-in progress indicator. You can run it by the command-line option: status=progress Example: dd status=progress if=/dev/sda of=/dev/sdb Notice how I didn’t add the bs option and used the default. In my experiences the default works best. Tested on: Ubuntu

Categories
Tech

Ubuntu: How to Change Host name and Propagate to DHCP Server

How to change Hostname on Ubuntu First find your current host name by typing: hostname Open /etc/hostname and change the host name specified there to the new host name. sudo vi /etc/hostname Now open /etc/hosts and locate the old host name in the file and change it to the new host name. sudo vi /etc/hosts […]