installing rtl8814AU wifi adapter driver on ubuntu 16.04
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.zip
from 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
add a comment |
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.zip
from 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
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
Jan 26 at 7:04
add a comment |
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.zip
from 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
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.zip
from 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
16.04 networking drivers software-installation realtek-wireless
edited Jan 26 at 21:06
Community♦
1
1
asked Jan 26 at 6:56
Leo SimonLeo Simon
5441923
5441923
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
Jan 26 at 7:04
add a comment |
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
Jan 26 at 7:04
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
Jan 26 at 7:04
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
Jan 26 at 7:04
add a comment |
1 Answer
1
active
oldest
votes
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 domake 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
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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 domake 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
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
add a comment |
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 domake 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
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
add a comment |
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 domake 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
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 domake 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
edited Jan 26 at 15:29
answered Jan 26 at 12:32
Jeremy31Jeremy31
8,48221367
8,48221367
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
add a comment |
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
Thanks @Jeremy31, I just did the edit you suggested to the .c file and it worked like a charm.
– Leo Simon
Jan 27 at 5:57
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
Jan 26 at 7:04