<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<atom:link href="https://seanbehan.ca/posts/tag/kernel/rss.xml" rel="self" type="application/rss+xml" />
		<title>Sean Behan — kernel</title>
		<link>https://seanbehan.ca/posts/tag/kernel</link>
		<description>Posts tagged “kernel”.</description>
		<language>en-CA</language>
		<!-- RSS wants an address here and readers show the name beside it. -->
		<managingEditor>sean@seanbehan.ca (Sean Behan)</managingEditor>
		<webMaster>sean@seanbehan.ca (Sean Behan)</webMaster>
		<lastBuildDate>Sun, 30 Aug 2026 05:32:40 GMT</lastBuildDate>
		<item>
		<guid isPermaLink="true">https://seanbehan.ca/posts/8814au</guid>
		<title><![CDATA[Fedora 8814au Kernel Module Compilation]]></title>
		<description><![CDATA[Compiling the out-of-tree 8814au driver for an Alfa AC1900 on Fedora, kernel headers and all.]]></description>
		<link>https://seanbehan.ca/posts/8814au</link>
		<pubDate>Thu, 12 May 2022 19:21:37 GMT</pubDate>
		<category>development</category><category>kernel</category><category>linux</category>
		<content:encoded><![CDATA[<p>For my wireless card, the Alfa AC1900, I had to compile the module to get it to</p><p>work on Linux since it wasn&#x27;t already part of the kernel.</p><h3>Prerequisites</h3><p>To do this you will need:</p><ol><li><code>make</code> and <code>gcc</code> or <code>clang</code></li><li><code>kernel-debug-devel</code> package</li><li>sudo permission to <code>insmod</code> the compiled module</li></ol><p>This[^1] is the only one I found that worked for me on the latest stable linux</p><p>kernel, which as of today on Fedora is 5.17.6.</p><h3>Kernel Header Installation</h3><p>First you need to install the kernel development header package.</p><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e" tabindex="0"><code><span class="line"><span># Fedora</span></span>
<span class="line"><span>sudo dnf install kernel-debug-devel</span></span>
<span class="line"><span></span></span>
<span class="line"><span># Ubuntu</span></span>
<span class="line"><span>sudo apt install linux-headers-$(uname -r)</span></span></code></pre><p>[^2]</p><h3>Building and Loading the Module</h3><p>Next you need to make the module.</p><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e" tabindex="0"><code><span class="line"><span>git clone https://github.com/morrownr/8814au.git</span></span>
<span class="line"><span>cd 8814au</span></span></code></pre><p>Now simply <code>make</code> the module using the <code>make</code> command and use <code>insmod</code> to load</p><p>it.</p><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e" tabindex="0"><code><span class="line"><span>make -j16</span></span>
<span class="line"><span>sudo sh -c "modprobe cfg80211; insmod /home/codebam/8814au/8814au.ko"</span></span></code></pre><p>If everything worked successfully, you should now have a loaded 8814au module</p><p>that you can use along with your wireless card to connect to WiFi.</p><p>[^1]: https://github.com/morrownr/8814au</p><p>[^2]: https://www.tecmint.com/install-kernel-headers-in-ubuntu-and-debian</p>]]></content:encoded>
	</item>
	</channel>
</rss>