Auto Connect to Hidden Wifi With Networkmanger

If you’re here to find out how to setup network connection to hidden wifi access point, you might want to check this post: How to Connect to Hidden Wifi Using nmcli instead. This post documents how I fix an issue of wifi connection on a laptop running Gentoo to a hidden access point. The problem is that the wifi connection doesn’t automatically connect despite I’ve set the autoconnect.connection yes. ❯ nmcli con show CamBlue | grep -i autoconnect connection....

December 21, 2020 · 2 min · 270 words · kenno

Firewalld, nftables, and libvirt on Gentoo

After many and many weeks, I finally got libvirt working on this Gentoo machine. Before revealing how I’ve fixed this problem, let’s go through what the issues were. On this Gentoo I run Firewalld with nftables as backend. An alternative to nftables is iptables, but since nftables is newer and is becoming the default backend for more and more distribution including Fedora, I think it’s a good thing to adobt it early....

October 17, 2020 · 4 min · 801 words · kenno

Pairing Bluetooth Mouse on Gentoo

Just a few a days ago, I wrote a blog post about Pairing Bluetooth Mouse on Command Line on a Fedora laptop. So why do I need to write another post about doing the same thing on Gentoo? Well, as it turned out, I need a bit more than just turning on the bluetooth service and pairing the mouse. My Gentoo’s installation is very minimal, and I think this gives me an excuse to document on how I’d solve or get this working on Gentoo....

September 13, 2020 · 6 min · 1148 words · kenno

Pfl Provides whatprovides on Gentoo

On Fedora or CentOS, on way to find out what package providing a file we can use yum whatprovides [FILENAME] or dnf whatprovides [FILENAME] on a DNF-aware system. # dnf whatprovides tmux Last metadata expiration check: 2:33:06 ago on Wed 09 Sep 2020 09:45:07 PM AEST. tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer Repo : @System Matched from: Provide : tmux = 3.0a-2.fc32 tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer Repo : fedora Matched from: Provide : tmux = 3....

September 4, 2020 · 2 min · 316 words · kenno

Installing USBGuard on Gentoo

Let’s find out the name of the package using the awesome eix command, and install that package. ~ # eix usbguard * sys-apps/usbguard Available versions: ~0.7.6-r1 ~0.7.8 {bash-completion dbus ldap policykit static-libs systemd} Homepage: https://github.com/USBGuard/usbguard Description: Daemon protecting your computer against BadUSB ~ # emerge --ask sys-apps/usbguard These are the packages that would be merged, in order: Calculating dependencies... done! !!! All ebuilds that could satisfy "sys-apps/usbguard" have been masked. !...

June 29, 2020 · 3 min · 573 words · kenno

Install Ansible on Gentoo

Gentoo provides a package called app-admin/ansible for Ansible. To install it, just run: ❯ sudo emerge --ask app-admin/ansible Note that unlike Ansible package on CentOS/Fedora, there is no default ansible.cfg provided with the Gentoo Ansible package. ❯ ansible --version ansible 2.9.9 config file = None configured module search path = ['/home/kenno/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.7/site-packages/ansible executable location = /usr/lib/python-exec/python3.7/ansible python version = 3.7.7 (default, May 9 2020, 19:52:18) [GCC 9....

June 28, 2020 · 1 min · 78 words · kenno

Gentoo Luks Fails Kernel 5.6

My Gentoo based Linux laptop which is still running the older kernel 5.3.15. A short while back, I had a failed attempt to upgrade the kernel to 5.4.2 as the disk which encrypted with dm-crypt couldn’t be decrypted on boot. Since the older kernel 5.3.15 was working fine and free time was I what I lacked of, it seemed logical to just not doing anything about it. Today while updating all the packages on my Gentoo laptop, I notice there was a newer kernel available: 5....

April 11, 2020 · 3 min · 611 words · kenno

feh WARNING: abc.png - No Imlib2 loader for that file format

As the title says, I cannot use feh to open a PNG image. feh on this machine can’t open a JPG image either. Let’s see what’s wrong. I should notice that this problem occured on a machine running Gentoo. :D First, let’s check if feh is installed using my favorite tool called eix: ~ ❯❯❯ eix feh [I] media-gfx/feh Available versions: 3.1.1 ~3.1.3 ~3.2 ~3.2.1^t {curl debug exif test xinerama} Installed versions: 3....

September 1, 2019 · 2 min · 237 words · kenno

Upgrading Kernel Issues and Fixes on Gentoo

Today I decided to upgrade the kernel (gentoo-sources) from 4.19.64 to 5.2.6 on my old ThinkPad X220. Apart from a few hiccups, everything went quite smoothly. I already have a blog post about upgrading the kernel on Gentoo, so I’ll skip many things here. First, ensure the sys-kernel/gentoo-sources-5.2.6 is installed: # emerge -av =sys-kernel/gentoo-sources-5.26 After the above package installed, we should be able to list it: ~ ❯❯❯ eselect kernel list Available kernel symlink targets: [1] linux-4....

August 6, 2019 · 1 min · 204 words · kenno

Install Lmod on Gentoo

Lmod is not available in Gentoo’s portage. This blog post will document how I got Lmod installed on my Gentoo machine. First requirement is to install lua. I picked lua 5.2 as I had problem when experimenting with Lua 5.1. To install lua-5.2.3 from portage, run: # emerge -av =dev-lang/lua-5.2.3 If you have multiple versions of Lua installed, make sure to select this lua 5.2.3 as the default version using eselect:...

February 19, 2019 · 3 min · 442 words · kenno