installing rtl8814AU wifi adapter driver on ubuntu 16.04












0















I'm trying to install an rtl18814 driver for an ASUS USB AC68 wifi adapter. There have been quite a few threads about this, which being ignorant I found impenetrable. But there was one thread that seemed straightforward. Following the suggestion by @SomeOne01 from this thread, I downloaded a zipfile called rtl8814au-master.zipfrom this site and followed @SomeOne01's instructions. It worked seamlessly on Ubuntu 18.04, which was a first in my ubuntu experience. But unfortunately I needed the adapter on a machine running 16.04 (xenial). When I ran make on that machine, I got the following error.



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-139-generic/build M=/usr/local/src/rtl8814au-master  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-139-generic'
CC [M] /usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c: In function rtw_get_systime_us :
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c:352:2: error: implicit declaration of function ktime_get_boottime_ts64’[-Werror=implicit-function-declaration]
ktime_get_boottime_ts64(&ts);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:277: recipe for target '/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o' failed
make[2]: *** [/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o] Error 1
Makefile:1439: recipe for target '_module_/usr/local/src/rtl8814au-master' failed
make[1]: *** [_module_/usr/local/src/rtl8814au-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-139-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2


Could anybody please suggest how to proceed on 16.04 xenial?



Thank you very much for any suggestions.










share|improve this question

























  • What kernel are you running on your 16.04 LTS? The download says it's for 4.15 or later so do you have HWE enabled? (default kernel for 16.04 LTS is 4.4, but with HWE enabled 16.04 uses 4.15, and the instructions tell you 4.14 is required at a minimum)

    – guiverc
    2 days ago
















0















I'm trying to install an rtl18814 driver for an ASUS USB AC68 wifi adapter. There have been quite a few threads about this, which being ignorant I found impenetrable. But there was one thread that seemed straightforward. Following the suggestion by @SomeOne01 from this thread, I downloaded a zipfile called rtl8814au-master.zipfrom this site and followed @SomeOne01's instructions. It worked seamlessly on Ubuntu 18.04, which was a first in my ubuntu experience. But unfortunately I needed the adapter on a machine running 16.04 (xenial). When I ran make on that machine, I got the following error.



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-139-generic/build M=/usr/local/src/rtl8814au-master  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-139-generic'
CC [M] /usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c: In function rtw_get_systime_us :
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c:352:2: error: implicit declaration of function ktime_get_boottime_ts64’[-Werror=implicit-function-declaration]
ktime_get_boottime_ts64(&ts);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:277: recipe for target '/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o' failed
make[2]: *** [/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o] Error 1
Makefile:1439: recipe for target '_module_/usr/local/src/rtl8814au-master' failed
make[1]: *** [_module_/usr/local/src/rtl8814au-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-139-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2


Could anybody please suggest how to proceed on 16.04 xenial?



Thank you very much for any suggestions.










share|improve this question

























  • What kernel are you running on your 16.04 LTS? The download says it's for 4.15 or later so do you have HWE enabled? (default kernel for 16.04 LTS is 4.4, but with HWE enabled 16.04 uses 4.15, and the instructions tell you 4.14 is required at a minimum)

    – guiverc
    2 days ago














0












0








0








I'm trying to install an rtl18814 driver for an ASUS USB AC68 wifi adapter. There have been quite a few threads about this, which being ignorant I found impenetrable. But there was one thread that seemed straightforward. Following the suggestion by @SomeOne01 from this thread, I downloaded a zipfile called rtl8814au-master.zipfrom this site and followed @SomeOne01's instructions. It worked seamlessly on Ubuntu 18.04, which was a first in my ubuntu experience. But unfortunately I needed the adapter on a machine running 16.04 (xenial). When I ran make on that machine, I got the following error.



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-139-generic/build M=/usr/local/src/rtl8814au-master  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-139-generic'
CC [M] /usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c: In function rtw_get_systime_us :
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c:352:2: error: implicit declaration of function ktime_get_boottime_ts64’[-Werror=implicit-function-declaration]
ktime_get_boottime_ts64(&ts);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:277: recipe for target '/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o' failed
make[2]: *** [/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o] Error 1
Makefile:1439: recipe for target '_module_/usr/local/src/rtl8814au-master' failed
make[1]: *** [_module_/usr/local/src/rtl8814au-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-139-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2


Could anybody please suggest how to proceed on 16.04 xenial?



Thank you very much for any suggestions.










share|improve this question
















I'm trying to install an rtl18814 driver for an ASUS USB AC68 wifi adapter. There have been quite a few threads about this, which being ignorant I found impenetrable. But there was one thread that seemed straightforward. Following the suggestion by @SomeOne01 from this thread, I downloaded a zipfile called rtl8814au-master.zipfrom this site and followed @SomeOne01's instructions. It worked seamlessly on Ubuntu 18.04, which was a first in my ubuntu experience. But unfortunately I needed the adapter on a machine running 16.04 (xenial). When I ran make on that machine, I got the following error.



make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.0-139-generic/build M=/usr/local/src/rtl8814au-master  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-139-generic'
CC [M] /usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c: In function rtw_get_systime_us :
/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c:352:2: error: implicit declaration of function ktime_get_boottime_ts64’[-Werror=implicit-function-declaration]
ktime_get_boottime_ts64(&ts);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:277: recipe for target '/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o' failed
make[2]: *** [/usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.o] Error 1
Makefile:1439: recipe for target '_module_/usr/local/src/rtl8814au-master' failed
make[1]: *** [_module_/usr/local/src/rtl8814au-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-139-generic'
Makefile:1699: recipe for target 'modules' failed
make: *** [modules] Error 2


Could anybody please suggest how to proceed on 16.04 xenial?



Thank you very much for any suggestions.







16.04 networking drivers software-installation realtek-wireless






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Community

1




1










asked 2 days ago









Leo SimonLeo Simon

5441922




5441922













  • What kernel are you running on your 16.04 LTS? The download says it's for 4.15 or later so do you have HWE enabled? (default kernel for 16.04 LTS is 4.4, but with HWE enabled 16.04 uses 4.15, and the instructions tell you 4.14 is required at a minimum)

    – guiverc
    2 days ago



















  • What kernel are you running on your 16.04 LTS? The download says it's for 4.15 or later so do you have HWE enabled? (default kernel for 16.04 LTS is 4.4, but with HWE enabled 16.04 uses 4.15, and the instructions tell you 4.14 is required at a minimum)

    – guiverc
    2 days ago

















What kernel are you running on your 16.04 LTS? The download says it's for 4.15 or later so do you have HWE enabled? (default kernel for 16.04 LTS is 4.4, but with HWE enabled 16.04 uses 4.15, and the instructions tell you 4.14 is required at a minimum)

– guiverc
2 days ago





What kernel are you running on your 16.04 LTS? The download says it's for 4.15 or later so do you have HWE enabled? (default kernel for 16.04 LTS is 4.4, but with HWE enabled 16.04 uses 4.15, and the instructions tell you 4.14 is required at a minimum)

– guiverc
2 days ago










1 Answer
1






active

oldest

votes


















1














This will be easier if you do


sudo apt install git
git clone https://github.com/zebulon2/rtl8814au.git
cd rtl8814au
git checkout 7dde5bd

Then see if make succeeds. If the make command has no errors I would do
make clean
cd ..
sudo apt install dkms
sudo dkms add ./rtl8814au
sudo dkms install rtl8814au/4.3.21


Reboot



There is an issue with the latest commit https://github.com/zebulon2/rtl8814au/commit/3cf715db6f8e021671b72918929a307847e77e92 as the kernel version specified for it should have been 4.17



If you happen to have no internet connection, edit the file usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c at line 350 you will find


#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))

Change it to
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0))

Then the make command should work without errors




share|improve this answer


























  • Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

    – Leo Simon
    2 days ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112994%2finstalling-rtl8814au-wifi-adapter-driver-on-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














This will be easier if you do


sudo apt install git
git clone https://github.com/zebulon2/rtl8814au.git
cd rtl8814au
git checkout 7dde5bd

Then see if make succeeds. If the make command has no errors I would do
make clean
cd ..
sudo apt install dkms
sudo dkms add ./rtl8814au
sudo dkms install rtl8814au/4.3.21


Reboot



There is an issue with the latest commit https://github.com/zebulon2/rtl8814au/commit/3cf715db6f8e021671b72918929a307847e77e92 as the kernel version specified for it should have been 4.17



If you happen to have no internet connection, edit the file usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c at line 350 you will find


#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))

Change it to
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0))

Then the make command should work without errors




share|improve this answer


























  • Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

    – Leo Simon
    2 days ago
















1














This will be easier if you do


sudo apt install git
git clone https://github.com/zebulon2/rtl8814au.git
cd rtl8814au
git checkout 7dde5bd

Then see if make succeeds. If the make command has no errors I would do
make clean
cd ..
sudo apt install dkms
sudo dkms add ./rtl8814au
sudo dkms install rtl8814au/4.3.21


Reboot



There is an issue with the latest commit https://github.com/zebulon2/rtl8814au/commit/3cf715db6f8e021671b72918929a307847e77e92 as the kernel version specified for it should have been 4.17



If you happen to have no internet connection, edit the file usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c at line 350 you will find


#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))

Change it to
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0))

Then the make command should work without errors




share|improve this answer


























  • Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

    – Leo Simon
    2 days ago














1












1








1







This will be easier if you do


sudo apt install git
git clone https://github.com/zebulon2/rtl8814au.git
cd rtl8814au
git checkout 7dde5bd

Then see if make succeeds. If the make command has no errors I would do
make clean
cd ..
sudo apt install dkms
sudo dkms add ./rtl8814au
sudo dkms install rtl8814au/4.3.21


Reboot



There is an issue with the latest commit https://github.com/zebulon2/rtl8814au/commit/3cf715db6f8e021671b72918929a307847e77e92 as the kernel version specified for it should have been 4.17



If you happen to have no internet connection, edit the file usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c at line 350 you will find


#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))

Change it to
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0))

Then the make command should work without errors




share|improve this answer















This will be easier if you do


sudo apt install git
git clone https://github.com/zebulon2/rtl8814au.git
cd rtl8814au
git checkout 7dde5bd

Then see if make succeeds. If the make command has no errors I would do
make clean
cd ..
sudo apt install dkms
sudo dkms add ./rtl8814au
sudo dkms install rtl8814au/4.3.21


Reboot



There is an issue with the latest commit https://github.com/zebulon2/rtl8814au/commit/3cf715db6f8e021671b72918929a307847e77e92 as the kernel version specified for it should have been 4.17



If you happen to have no internet connection, edit the file usr/local/src/rtl8814au-master/os_dep/linux/ioctl_cfg80211.c at line 350 you will find


#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))

Change it to
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0))

Then the make command should work without errors





share|improve this answer














share|improve this answer



share|improve this answer








edited 2 days ago

























answered 2 days ago









Jeremy31Jeremy31

8,42021366




8,42021366













  • Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

    – Leo Simon
    2 days ago



















  • Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

    – Leo Simon
    2 days ago

















Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

– Leo Simon
2 days ago





Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.

– Leo Simon
2 days ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112994%2finstalling-rtl8814au-wifi-adapter-driver-on-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

格利澤436b

When can things happen in Etherscan, such as the picture below?