<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Gentoo on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/gentoo/</link>
    <description>Recent content in Gentoo on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 21 Dec 2020 22:00:21 +1100</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/gentoo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Auto Connect to Hidden Wifi With Networkmanger</title>
      <link>https://blog.khmersite.net/p/auto-connect-to-hidden-wifi-with-networkmanger/</link>
      <pubDate>Mon, 21 Dec 2020 22:00:21 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/auto-connect-to-hidden-wifi-with-networkmanger/</guid>
      <description>&lt;p&gt;If you&amp;rsquo;re here to find out how to setup network connection to hidden wifi access point, you might want to check this post: &lt;a href=&#34;2019/01/how-to-connect-to-hidden-wifi-using-nmcli/&#34;&gt;How to Connect to Hidden Wifi Using nmcli&lt;/a&gt; instead.&lt;/p&gt;
&lt;p&gt;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&amp;rsquo;t automatically connect despite I&amp;rsquo;ve set the &lt;code&gt;autoconnect.connection yes&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯ nmcli con show CamBlue | grep -i autoconnect
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;connection.autoconnect:                 yes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;connection.autoconnect-priority:        0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;connection.autoconnect-retries:         -1 (default)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;connection.autoconnect-slaves:          -1 (default)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I don&amp;rsquo;t remember having done anything special on the Fedora laptops connecting to the same the network; and this problem didn&amp;rsquo;t exit on any of those Fedora machines at all.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Firewalld, nftables, and libvirt on Gentoo</title>
      <link>https://blog.khmersite.net/p/firewalld-nftables-libvirt-on-gentoo/</link>
      <pubDate>Sat, 17 Oct 2020 11:35:30 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/firewalld-nftables-libvirt-on-gentoo/</guid>
      <description>&lt;p&gt;After many and many weeks, I finally got &lt;strong&gt;libvirt&lt;/strong&gt; working on this Gentoo machine. Before revealing how I&amp;rsquo;ve fixed this problem, let&amp;rsquo;s go through what the issues were.&lt;/p&gt;
&lt;p&gt;On this Gentoo I run Firewalld with &lt;strong&gt;nftables&lt;/strong&gt; as backend. An alternative to &lt;strong&gt;nftables&lt;/strong&gt; is &lt;strong&gt;iptables&lt;/strong&gt;, but since &lt;strong&gt;nftables&lt;/strong&gt; is newer and is becoming the default backend for more and more distribution including Fedora, I think it&amp;rsquo;s a good thing to adobt it early.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pairing Bluetooth Mouse on Gentoo</title>
      <link>https://blog.khmersite.net/p/pairing-bluetooth-mouse-on-gentoo/</link>
      <pubDate>Sun, 13 Sep 2020 13:27:58 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/pairing-bluetooth-mouse-on-gentoo/</guid>
      <description>&lt;p&gt;Just a few a days ago, I wrote a blog post about &lt;a href=&#34;https://blog.khmersite.net/2020/09/pairing-bluetooth-mouse-on-command-line&#34;&gt;Pairing Bluetooth Mouse on Command Line&lt;/a&gt; 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 &lt;strong&gt;bluetooth&lt;/strong&gt; service and pairing the mouse. My Gentoo&amp;rsquo;s installation is very minimal, and I think this gives me an excuse to document on how I&amp;rsquo;d solve or get this working on Gentoo.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pfl Provides whatprovides on Gentoo</title>
      <link>https://blog.khmersite.net/p/pfl-whatprovides-on-gentoo/</link>
      <pubDate>Fri, 04 Sep 2020 19:05:37 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/pfl-whatprovides-on-gentoo/</guid>
      <description>&lt;p&gt;On Fedora or CentOS, on way to find out what package providing a file we can use &lt;code&gt;yum whatprovides [FILENAME]&lt;/code&gt; or &lt;code&gt;dnf whatprovides [FILENAME]&lt;/code&gt; on a DNF-aware system.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# dnf whatprovides tmux
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Last metadata expiration check: 2:33:06 ago on Wed 09 Sep 2020 09:45:07 PM AEST.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Repo        : @System
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Matched from:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Provide    : tmux = 3.0a-2.fc32
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;tmux-3.0a-2.fc32.x86_64 : A terminal multiplexer
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Repo        : fedora
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Matched from:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Provide    : tmux = 3.0a-2.fc32
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I really need this similar tool on Gentoo, and it looks like the &lt;code&gt;emerge&lt;/code&gt; command doesn&amp;rsquo;t have this function built it. Fortunately, there is a utility called &lt;code&gt;e-file&lt;/code&gt; (provided by &lt;code&gt;pfl&lt;/code&gt; package) which kinda provides this &lt;code&gt;whatprovides&lt;/code&gt; option as in &lt;code&gt;yum&lt;/code&gt; and &lt;code&gt;dnf&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installing USBGuard on Gentoo</title>
      <link>https://blog.khmersite.net/p/installing-usbguard-on-gentoo/</link>
      <pubDate>Mon, 29 Jun 2020 00:56:47 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/installing-usbguard-on-gentoo/</guid>
      <description>&lt;p&gt;Let&amp;rsquo;s find out the name of the package using the awesome &lt;code&gt;eix&lt;/code&gt; command, and install that package.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; ~ # eix usbguard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;* sys-apps/usbguard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Available versions:  ~0.7.6-r1 ~0.7.8 {bash-completion dbus ldap policykit static-libs systemd}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Homepage:            https://github.com/USBGuard/usbguard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Description:         Daemon protecting your computer against BadUSB
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; ~ # emerge --ask sys-apps/usbguard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;These are the packages that would be merged, in order:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Calculating dependencies... done!
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;!!! All ebuilds that could satisfy &amp;#34;sys-apps/usbguard&amp;#34; have been masked.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;!!! One of the following masked packages is required to complete your request:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;- sys-apps/usbguard-0.7.8::gentoo (masked by: ~amd64 keyword)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;- sys-apps/usbguard-0.7.6-r1::gentoo (masked by: ~amd64 keyword)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;For more information, see the MASKED PACKAGES section in the emerge
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;man page or refer to the Gentoo Handbook.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It looks like we need to unmask &lt;code&gt;usbguard&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Ansible on Gentoo</title>
      <link>https://blog.khmersite.net/p/install-ansible-on-gentoo/</link>
      <pubDate>Sun, 28 Jun 2020 02:19:29 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/install-ansible-on-gentoo/</guid>
      <description>&lt;p&gt;Gentoo provides a package called &lt;code&gt;app-admin/ansible&lt;/code&gt; for Ansible. To install it, just run:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯ sudo emerge --ask app-admin/ansible
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Note that unlike Ansible package on CentOS/Fedora, there is no default &lt;code&gt;ansible.cfg&lt;/code&gt; provided with the Gentoo Ansible package.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯ ansible --version
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ansible 2.9.9
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  config file = None
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  configured module search path = [&amp;#39;/home/kenno/.ansible/plugins/modules&amp;#39;, &amp;#39;/usr/share/ansible/plugins/modules&amp;#39;]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ansible python module location = /usr/lib/python3.7/site-packages/ansible
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  executable location = /usr/lib/python-exec/python3.7/ansible
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  python version = 3.7.7 (default, May  9 2020, 19:52:18) [GCC 9.2.0]
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Reference:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo Luks Fails Kernel 5.6</title>
      <link>https://blog.khmersite.net/p/gentoo-luks-fails-kernel-5-6/</link>
      <pubDate>Sat, 11 Apr 2020 01:05:06 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/gentoo-luks-fails-kernel-5-6/</guid>
      <description>&lt;p&gt;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 &lt;a href=&#34;https://wiki.gentoo.org/wiki/Dm-crypt&#34;&gt;dm-crypt&lt;/a&gt; couldn&amp;rsquo;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.&lt;/p&gt;
&lt;p&gt;Today while updating all the packages on my Gentoo laptop, I notice there was a newer kernel available: 5.6.3. So let&amp;rsquo;s try to install this newest kernel again and see if the issue with Luks/dm-crypt still persists.&lt;/p&gt;</description>
    </item>
    <item>
      <title>feh WARNING: abc.png - No Imlib2 loader for that file format</title>
      <link>https://blog.khmersite.net/p/feh-no-imlib2-loader-for-that-file-format/</link>
      <pubDate>Sun, 01 Sep 2019 16:00:52 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/feh-no-imlib2-loader-for-that-file-format/</guid>
      <description>&lt;p&gt;As the title says, I cannot use &lt;code&gt;feh&lt;/code&gt; to open a PNG image. &lt;code&gt;feh&lt;/code&gt; on this machine can&amp;rsquo;t open a JPG image either. Let&amp;rsquo;s see what&amp;rsquo;s wrong.&lt;/p&gt;
&lt;p&gt;I should notice that this problem occured on a machine running Gentoo. :D&lt;/p&gt;
&lt;p&gt;First, let&amp;rsquo;s check if &lt;code&gt;feh&lt;/code&gt; is installed using my favorite tool called &lt;code&gt;eix&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~ ❯❯❯ eix feh
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[I] media-gfx/feh
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Available versions:  3.1.1 ~3.1.3 ~3.2 ~3.2.1^t {curl debug exif test xinerama}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Installed versions:  3.1.1(11:11:04 PM 04/14/2019)(-curl -debug -exif -test -xinerama)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Homepage:            https://feh.finalrewind.org/
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;     Description:         A fast, lightweight imageviewer using imlib2
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;According to the above information, &lt;code&gt;feh:3.1.1&lt;/code&gt; is already installed. It also mentions that &lt;code&gt;feh&lt;/code&gt; use &lt;code&gt;imlib2&lt;/code&gt; library.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Upgrading Kernel Issues and Fixes on Gentoo</title>
      <link>https://blog.khmersite.net/p/upgrading-kernel-issues-and-fixes-on-gentoo/</link>
      <pubDate>Tue, 06 Aug 2019 23:33:03 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/upgrading-kernel-issues-and-fixes-on-gentoo/</guid>
      <description>&lt;p&gt;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 &lt;a href=&#34;https://blog.khmersite.net/p/upgrade-kernel-on-gentoo/&#34;&gt;upgrading the kernel on Gentoo&lt;/a&gt;, so I&amp;rsquo;ll skip many things here.&lt;/p&gt;
&lt;p&gt;First, ensure the &lt;code&gt;sys-kernel/gentoo-sources-5.2.6&lt;/code&gt; is installed:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# emerge -av &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;sys-kernel/gentoo-sources-5.26
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After the above package installed, we should be able to list it:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~ ❯❯❯ eselect kernel list
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Available kernel symlink targets:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [1]   linux-4.14.63-gentoo-r1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [2]   linux-4.14.65-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [3]   linux-4.14.78-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [4]   linux-4.14.83-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [5]   linux-4.19.27-gentoo-r1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [6]   linux-4.19.44-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [7]   linux-4.19.52-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [8]   linux-4.19.57-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [9]   linux-4.19.64-gentoo *
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [10]  linux-5.2.6-gentoo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Let&amp;rsquo;s select &lt;code&gt;linux-5.2.6-gentoo&lt;/code&gt; as the version we&amp;rsquo;d like to switch to:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Lmod on Gentoo</title>
      <link>https://blog.khmersite.net/p/install-lmod-on-gentoo/</link>
      <pubDate>Tue, 19 Feb 2019 20:42:41 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/install-lmod-on-gentoo/</guid>
      <description>&lt;p&gt;Lmod is not available in Gentoo&amp;rsquo;s portage. This blog post will document how I got Lmod installed on my Gentoo machine.&lt;/p&gt;
&lt;p&gt;First requirement is to install &lt;code&gt;lua&lt;/code&gt;. I picked lua 5.2 as I had problem when experimenting with Lua 5.1. To install &lt;code&gt;lua-5.2.3&lt;/code&gt; from portage, run:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# emerge -av &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;dev-lang/lua-5.2.3
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you have multiple versions of Lua installed, make sure to select this lua 5.2.3 as the default version using &lt;code&gt;eselect&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
    <item>
      <title>NVME Not Found on Boot With UEFI</title>
      <link>https://blog.khmersite.net/p/nvme-not-found-on-boot-uefi/</link>
      <pubDate>Thu, 17 Jan 2019 20:32:55 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/nvme-not-found-on-boot-uefi/</guid>
      <description>&lt;p&gt;A quick note to remind myself how to get NVME recognized on Dell XPS 15 9570 on Gentoo.&lt;/p&gt;
&lt;p&gt;Make sure to add the kernel &lt;code&gt;BLK_DEV_NVME&lt;/code&gt; options.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;NVM Express block device (BLK_DEV_NVME)
CONFIG_BLK_DEV_NVME:
The NVM Express driver is for solid state drives directly
connected to the PCI or PCI Express bus. If you know you
don&amp;#39;t have one of these, it is safe to answer N.
To compile this driver as a module, choose M here: the
module will be called nvme.
Symbol: BLK_DEV_NVME [=m]
Type : tristate
Prompt: NVM Express block device
Location:
-&amp;gt; Device Drivers
Defined at drivers/nvme/host/Kconfig:1
Depends on: PCI [=y] &amp;amp;&amp;amp; BLOCK [=y]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Ref:&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Connect to Hidden Wifi Using nmcli</title>
      <link>https://blog.khmersite.net/p/how-to-connect-to-hidden-wifi-using-nmcli/</link>
      <pubDate>Tue, 15 Jan 2019 18:00:14 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-connect-to-hidden-wifi-using-nmcli/</guid>
      <description>&lt;p&gt;Today I need to setup a wifi connection on a laptop to my home network with hidden SSID. Like so many things that I only have to do it once in a while, I couldn&amp;rsquo;t remember how to do it. So this blog post is something to remind me in the future should I need to do it agian.&lt;/p&gt;
&lt;p&gt;Here is one way to do it, thanks to this &lt;a href=&#34;https://stackoverflow.com/questions/35476428/how-to-connect-to-hidden-wifi-network-using-nmcli#&#34;&gt;Stack Overflow question&lt;/a&gt;. (Alternatively, check &lt;code&gt;man nmcli&lt;/code&gt; and &lt;code&gt;man nmcli-examples&lt;/code&gt; which have detailed information):&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fix Dbus Daemon Autolaunch Was Disabled at Compile Time</title>
      <link>https://blog.khmersite.net/p/fix-dbus-daemon-autolaunch-was-disabled-at-compile-time/</link>
      <pubDate>Tue, 15 Jan 2019 15:03:36 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/fix-dbus-daemon-autolaunch-was-disabled-at-compile-time/</guid>
      <description>&lt;p&gt;When I tried to run &lt;code&gt;notify-send&lt;/code&gt; on my laptop running Gentoo, it didn&amp;rsquo;t work and was given the following message:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ notify-send &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;hello&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Connecting to D-Bus failed: Using X11 for dbus-daemons autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;How do one set &lt;code&gt;DBUS_SESSION_BUS_ADDRESS&lt;/code&gt;? Accoridng to &lt;a href=&#34;https://stackoverflow.com/questions/41242460/how-to-export-dbus-session-bus-address&#34;&gt;this&lt;/a&gt;, it can be done by running:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ export &lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;dbus-launch&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;However, I want to also have D-Bus compiled with X11 support.&lt;/p&gt;
&lt;p&gt;First let&amp;rsquo;s verify if &lt;code&gt;D-Bus&lt;/code&gt; service is running:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Upgrade Kernel on Gentoo</title>
      <link>https://blog.khmersite.net/p/upgrade-kernel-on-gentoo/</link>
      <pubDate>Mon, 14 Jan 2019 20:17:30 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/upgrade-kernel-on-gentoo/</guid>
      <description>&lt;p&gt;Today I&amp;rsquo;m going to document how I built and installed kernel &lt;code&gt;4.20.1&lt;/code&gt; a Gentoo laptop, Dell XPS 15 9570.&lt;/p&gt;
&lt;p&gt;This blog post is not intended to be a tutorial or even a guide. I&amp;rsquo;m very new to Gentoo, and have been spoiled by Ubuntu and Fedora for not needing to compile my own kernel. :)&lt;/p&gt;
&lt;p&gt;Anyhow, it&amp;rsquo;s very likely that I&amp;rsquo;ll need to compile the kernel again on Gentoo, and therefore I think having some sorts of documents is better than nothing at all.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo Eix Tool</title>
      <link>https://blog.khmersite.net/p/gentoo-eix-tool/</link>
      <pubDate>Mon, 14 Jan 2019 19:52:29 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/gentoo-eix-tool/</guid>
      <description>&lt;p&gt;A utility that I use quite a lot on a Gentoo system is called &lt;a href=&#34;https://wiki.gentoo.org/wiki/Eix&#34;&gt;eix&lt;/a&gt;. This tool allows me to search for packages by name and list all available flags.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&#34;https://wiki.gentoo.org/wiki/Eix&#34;&gt;document&lt;/a&gt; on the Gentoo Wiki is great and has detailed explanation about it.&lt;/p&gt;
&lt;p&gt;In this blog post, I&amp;rsquo;m just going to write down what I did to get it installed.&lt;/p&gt;
&lt;p&gt;I want to set its flag to use &lt;code&gt;qlite&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;app-portage/eix sqlite&amp;#39;&lt;/span&gt; &amp;gt; /etc/portage/package.use/eix
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then proced with the installation:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Connect to a WPA2-Enterprise Connection Using nmcli</title>
      <link>https://blog.khmersite.net/p/connect-to-a-wpa2-enterprise-connection-using-nmcli/</link>
      <pubDate>Mon, 27 Aug 2018 14:11:38 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/connect-to-a-wpa2-enterprise-connection-using-nmcli/</guid>
      <description>&lt;p&gt;This is like a re-post of a question from &lt;a href=&#34;https://askubuntu.com/questions/262491/connect-to-a-wpa2-enterprise-connection-via-cli-no-desktop&#34;&gt;askubuntu.com&lt;/a&gt;. To get to that post, I usually had to google it. So, I’ll post it here so I know where to look for when I need it again.&lt;/p&gt;
&lt;p&gt;At work, we use WPA2-Enterprise for wireless connection. To create a new connection on my laptop with &lt;code&gt;wlp3s0&lt;/code&gt; as Wifi device, follow this step:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# nmcli con add type wifi ifname wlp3s0 con-name work-wifi ssid work-ssid

# nmcli con edit id work-wifi
nmcli&amp;gt; set ipv4.method auto
nmcli&amp;gt; set 802-1x.eap peap
nmcli&amp;gt; set 802-1x.phase2-auth mschapv2
nmcli&amp;gt; set 802-1x.identity myusername
nmcli&amp;gt; set 802-1x.password mypassword
nmcli&amp;gt; set wifi-sec.key-mgmt wpa-eap
nmcli&amp;gt; save
nmcli&amp;gt; activate
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That’s it if you know how to do it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stopping hard drive clicking noise on MSI U100</title>
      <link>https://blog.khmersite.net/p/stopping-hard-drive-clicking-noise-on-msi-u100/</link>
      <pubDate>Sat, 28 Nov 2009 04:14:27 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/stopping-hard-drive-clicking-noise-on-msi-u100/</guid>
      <description>&lt;p&gt;Finally, the OS X has been removed from MSI Wind U100, and completely replaced by Debian (testing).&lt;/p&gt;
&lt;p&gt;Whenever the computer is idle, the hdd makes this weird clicking noise. To stop it, we can use hdparm to turn it off.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;kenno@tora:~$ sudo hdparm -B 254 /dev/sda&amp;lt;/p&amp;gt;

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level      = 254
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Source: &lt;a href=&#34;http://en.gentoo-wiki.com/wiki/MSI_Wind&#34;&gt;MSI Wind – Gentoo Linux Wiki&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
