Archive

Archive for the ‘Linux’ Category

Linux Capabilities in a nutshell

April 24th, 2019 2 comments

Capabilities are being used by many Linux-based software nowadays to limit what a process can do. But I think the documentation is a bit hard to grasp and I found some parts of capabilities implementation confusing so I decided to condense my current knowledge into a shorter article.

Read more…
Categories: Linux, Server stuff Tags:

Running x86_64/amd64 executables on PPC64le IBM Power 9 Gentoo

September 23rd, 2018 2 comments

Running android-studio on a Talos II ppc64 machine requires the aapt2 binary. That is currently only a part of the x86_64 build-tools, so I had to learn a way to run x86_64 executables on ppc64 cpu. The first option is full emulation (emulating x86_64 kernel and apps), the other is QEMU’s user mode translation (emulating only user-mode, translating syscalls to a running ppc64 kernel). Let’s have a quick look at the QEMU user-mode translation.

Read more…

Categories: Linux Tags:

How to boot Windows partition virtually under KVM with UEFI firmware

March 5th, 2018 17 comments

It is actually quite easy to boot Windows virtualized using KVM. But to properly use the UEFI bootloader, suitable QEMU arguments are required. Here is a lightly commented QEMU command I use to boot virtual Windows 10 I have on a separate partition.

Read more…
Categories: Linux, Server stuff Tags:

Samsung printer problem on GNU/Linux (printing black pages)

August 22nd, 2017 3 comments

I’ve been using Samsung ML-2160 printer on Gentoo Linux for some time without problems but then I connected it to a box running Arch Linux and I some problems came up. It was printing almost completely black pages (with a few narrow white strips).

Read more…

Categories: Linux Tags:

Setting up IPv6 using a DHCP client

October 21st, 2016 4 comments

Our ISP (internet service provider) finally started offering IPv6. On the server, I received static configuration. Here, they are using DHCP6 with prefix delegation and it isn’t as straightforward as one would expect.

Read more…

Categories: Linux, Server stuff Tags:

A few important things to know for Linux beginners

December 31st, 2015 No comments

A few things I didn’t know about Linux at the time I was primarily using Windows.

Read more…

Categories: Linux Tags:
deadly laser