Compiling Driver for Realtek rtl8811cu Wifi Dongle

Post Reply
CaptManiac
Posts: 12
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

Post by CaptManiac »

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: 34672
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 831 times
Been thanked: 717 times
Contact:

Re: Compiling Driver for Realtek rtl8811cu Wifi Dongle

Post by odroid »

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: 12
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

Post by CaptManiac »

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

igorpec
Posts: 634
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 29 times
Been thanked: 80 times
Contact:

Re: Compiling Driver for Realtek rtl8811cu Wifi Dongle

Post by igorpec »

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
Linux for ARM development boards

Download latest images for Odroids | Build them from sources | Donate to support development

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests