Command Line Posts

GPU Passthrough with QEMU on Arch Linux

QEMU Arch Linux logo

GPU passthrough allows native graphics performance in the virtual machine which opens up new possibilities. One major use case is virtualized gaming as well as hardware acceleration for certain applications like Adobe Creative Suite. Steam In-Home Streaming opens up some odd but functional configurations by leveraging the VM to stream to clients on a local network. A major advantage of running Steam in a VM is that it does not prevent the use of the host system while streaming. In practice this could mean that two different users could simultaneously make use of the same system.

MusicBrainz VM Server under QEMU on Arch Linux

MusicBrainz Server logo

MusicBrainz database is used by many applications such as Headphones or MusizBrainz Picard. The one major issue with the database is that the official service is slow and often unavailable while mirrors are either paid or unreliable long term. The server can be installed from scratch locally but is quite tedious which is why it is easier to run the server as a virtual machine. It is not as efficient as the entire OS will have to run in the background but it much easier to setup. Virtual Box can be used to run the VM without any changes but there is no need to run multiple Virtual Machine Managers so in this case QEMU is used.

ESP8266: Sming Framework on Arch Linux

Sming Framework logo

Sming is an open source Framework for ESP8266 Wi-Fi Module. It simplifies development my allowing advanced features to be implemented with trivial amount of code compared to low level programming. Sming and Eclipse IDE can also be used to write, compile and flash Sming projects instead of using command line tools.

Install VFIO Kernel on Arch Linux

Arch Linux logo

VFIO kernel is used to easily apply kernel patches to workaround certain hardware limitations relating to virtualization and hardware passthrough suc as when setting up GPU Passthrough with QEMU. Among others VFIO kernel applies i915 VGA arbiter and ACS override patches. The patches al need to be enabled by adding parameters to the boot loader. The custom kernel comes in stable or LTS varieties.

Jackett on Arch Linux

Jackett Arch Linux logo

Jackett is a proxy server that provides a translation service between applications like CouchPotatoSonarr or Headphones and tracker sites. It supports many private trackers. Instead of configuring the tracker directly in the app, it is now configured in the web interface and added to the app as a generic indexer.

Securely Wipe Disk with DD on Linux

Securely Wipe Disk with DD on Linux

Formatting a storage device doesn’t prevent the data retrieval with data recovery software. To securely wipe any existing data of the device it needs to be overwritten with new data. This can be achieved very easily with dd on Linux by writing zeros or random values to the device. To avoid wiping the wrong storage device it may be a good idea to first format the disk drive with parted or another command line or GUI utility. Doing this would make it apparent that the wrong device was chosen. Data could still be recovered relativity easily from the formatted storage device compared to a wiped drive.

Install Steam on Arch Linux

Install Steam on Arch Linux

Steam is a digital distribution platform primarily dealing with games. It manages games and as of recently other media like music. It has some unique features like In-Home Streaming that allow streaming games over the network. Arch Linux is not officially supported and there are some issues to work around. Prior to installing configure audio and install video drivers.

ScreenFetch at Login on Arch Linux

screenFetch on Arch Linux

screenFetch is a Bash Screenshot Information Tool that prints ASCII art along with basic system information when executed. Many distributions are supported with unique ASCII art included. It is useful to run it on login automatically to immediately see system information.

StarCraft: BroodWar with Wine on Linux

StarCraft: BroodWar logo

StarCraft 1 and BroodWar expansion are officially only available on Windows and Mac. With wine however it works completely smoothly on Linux. Once updated to the latest version it can even run without a CD. Install Wine before proceeding.

OpenSSH Server on Arch Linux

OpenSSH Server on Arch Linux

OpenSSH allows powerful and convenient way to remotely access remote systems. However it creates a possible security weakness which is one reason it is not installed by default. With proper configuration it can be secured and allows the administration of headless servers servers or other devices.