Compiling Driver for Realtek rtl8811cu Wifi Dongle

Post Reply
CaptManiac
Posts: 11
Joined: Tue Apr 02, 2019 12:17 am
languages_spoken: english
ODROIDs: N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Compiling Driver for Realtek rtl8811cu Wifi Dongle

Unread post by CaptManiac » Thu Jul 11, 2019 4:08 am

A few weeks ago I purchased an OURLINK 600Mbps mini 802.11ac Wireless Network Adapter (https://amzn.to/2Jth7sb) and to my complete amazement I was able to get the driver to compile and install. This was using the code at https://github.com/uzh-rpg/rpg_dwa171_wifidongle. A week ago there was an update to the N2 Ubuntu kernel and I was able to recompile and install the driver, and it continued working. Today there was another kernel update, but the drivers no longer compile, complaining "make[1]: *** /lib/modules/4.9.182-35/build: No such file or directory. Stop." I see in other Ubuntu installations that the build directory usually points back to the corresponding kernel source directory. With this particular kernel update that source directory doesn't exist.

Are there workarounds? Is this going to be an ongoing problem where some updates include this directory and others don't? Any help greatly appreciated.

User avatar
odroid
Site Admin
Posts: 31297
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 44 times
Been thanked: 179 times
Contact:

Re: Compiling Driver for Realtek rtl8811cu Wifi Dongle

Unread post by odroid » Thu Jul 11, 2019 10:19 am

DKMS seems to be a solution.
viewtopic.php?f=177&t=34769
These users thanked the author odroid for the post:
CaptManiac (Fri Jul 12, 2019 1:55 am)

CaptManiac
Posts: 11
Joined: Tue Apr 02, 2019 12:17 am
languages_spoken: english
ODROIDs: N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Compiling Driver for Realtek rtl8811cu Wifi Dongle

Unread post by CaptManiac » Fri Jul 12, 2019 1:57 am

Thanks! And, of course, now I wish I'd searched here specifically instead of a default Google search.

User avatar
igorpec
Posts: 350
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 4 times
Been thanked: 14 times
Contact:

Re: Compiling Driver for Realtek rtl8811cu Wifi Dongle

Unread post by igorpec » Fri Jul 12, 2019 5:12 am

CaptManiac wrote:
Thu Jul 11, 2019 4:08 am
Are there workarounds?
https://www.armbian.com/odroid-n2/

Works out of the box. Even with monitor mode and frame injection.
These users thanked the author igorpec for the post:
CaptManiac (Sat Jul 13, 2019 2:58 am)
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests