Syntax error when running make to install WiFi drivers











up vote
0
down vote

favorite












I have a TP Link WN823N (Version 3.0) USB WiFi adapter. Ubuntu 18.10 lets me attempt to connect to a wireless network but fails every time with the notification:




Connection Failed



Activation of Network Connection Failed




and in dmesg



[ 6770.498033] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6770.502236] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6770.705027] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6770.913021] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6771.117055] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6782.213576] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6782.221423] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6782.425047] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6782.628922] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6782.833127] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6796.212605] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa7e72d9: link is not ready


So I thought it might be a driver problem. I downloaded the official driver from their website and extracted it. Then I cd'd into the directory and ran



sudo make


and entered my password. It fails with this message:



"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-11-
generic/build M=/home/isaac/Downloads/TL-
WN823N(US)_V3_160315_Linux/Driver modules
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [Makefile:1696: modules] Error 2


Am I doing something wrong? Are the drivers just messed up? Is this not related to the drivers? Any help would be appreciated.










share|improve this question






















  • Maybe the issue is the unescaped parentheses (US) in the name of the working directory? What driver file exactly did you download from the linked site and how did you unpack it?
    – steeldriver
    Nov 20 at 20:23










  • Okay, I renamed it and it did get further but now it has several other errors including "void value not ignored" in the line #define _seqdump seq_printf. and "timer has no member named data" Also, I downloaded the non-beta driver TL-WN823N(US)_V3_160315_Linux and extracted it with the GUI.
    – yzek
    Nov 20 at 20:37












  • At the download site, it clearly says: "For Linux kernel 2.6.24 ~ 4.9.60." You are running 4.18. This old file is incompatible with your kernel. Let's take a look at: lsusb and we'll troubleshoot.
    – chili555
    Nov 20 at 20:47










  • with it plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    – yzek
    Nov 20 at 21:06












  • and without it: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub So it appears unnamed
    – yzek
    Nov 20 at 21:06

















up vote
0
down vote

favorite












I have a TP Link WN823N (Version 3.0) USB WiFi adapter. Ubuntu 18.10 lets me attempt to connect to a wireless network but fails every time with the notification:




Connection Failed



Activation of Network Connection Failed




and in dmesg



[ 6770.498033] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6770.502236] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6770.705027] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6770.913021] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6771.117055] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6782.213576] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6782.221423] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6782.425047] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6782.628922] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6782.833127] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6796.212605] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa7e72d9: link is not ready


So I thought it might be a driver problem. I downloaded the official driver from their website and extracted it. Then I cd'd into the directory and ran



sudo make


and entered my password. It fails with this message:



"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-11-
generic/build M=/home/isaac/Downloads/TL-
WN823N(US)_V3_160315_Linux/Driver modules
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [Makefile:1696: modules] Error 2


Am I doing something wrong? Are the drivers just messed up? Is this not related to the drivers? Any help would be appreciated.










share|improve this question






















  • Maybe the issue is the unescaped parentheses (US) in the name of the working directory? What driver file exactly did you download from the linked site and how did you unpack it?
    – steeldriver
    Nov 20 at 20:23










  • Okay, I renamed it and it did get further but now it has several other errors including "void value not ignored" in the line #define _seqdump seq_printf. and "timer has no member named data" Also, I downloaded the non-beta driver TL-WN823N(US)_V3_160315_Linux and extracted it with the GUI.
    – yzek
    Nov 20 at 20:37












  • At the download site, it clearly says: "For Linux kernel 2.6.24 ~ 4.9.60." You are running 4.18. This old file is incompatible with your kernel. Let's take a look at: lsusb and we'll troubleshoot.
    – chili555
    Nov 20 at 20:47










  • with it plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    – yzek
    Nov 20 at 21:06












  • and without it: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub So it appears unnamed
    – yzek
    Nov 20 at 21:06















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a TP Link WN823N (Version 3.0) USB WiFi adapter. Ubuntu 18.10 lets me attempt to connect to a wireless network but fails every time with the notification:




Connection Failed



Activation of Network Connection Failed




and in dmesg



[ 6770.498033] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6770.502236] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6770.705027] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6770.913021] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6771.117055] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6782.213576] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6782.221423] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6782.425047] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6782.628922] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6782.833127] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6796.212605] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa7e72d9: link is not ready


So I thought it might be a driver problem. I downloaded the official driver from their website and extracted it. Then I cd'd into the directory and ran



sudo make


and entered my password. It fails with this message:



"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-11-
generic/build M=/home/isaac/Downloads/TL-
WN823N(US)_V3_160315_Linux/Driver modules
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [Makefile:1696: modules] Error 2


Am I doing something wrong? Are the drivers just messed up? Is this not related to the drivers? Any help would be appreciated.










share|improve this question













I have a TP Link WN823N (Version 3.0) USB WiFi adapter. Ubuntu 18.10 lets me attempt to connect to a wireless network but fails every time with the notification:




Connection Failed



Activation of Network Connection Failed




and in dmesg



[ 6770.498033] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6770.502236] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6770.705027] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6770.913021] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6771.117055] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6782.213576] wlx503eaa7e72d9: authenticate with 54:65:de:da:ec:a0
[ 6782.221423] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 1/3)
[ 6782.425047] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 2/3)
[ 6782.628922] wlx503eaa7e72d9: send auth to 54:65:de:da:ec:a0 (try 3/3)
[ 6782.833127] wlx503eaa7e72d9: authentication with 54:65:de:da:ec:a0 timed out
[ 6796.212605] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa7e72d9: link is not ready


So I thought it might be a driver problem. I downloaded the official driver from their website and extracted it. Then I cd'd into the directory and ran



sudo make


and entered my password. It fails with this message:



"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-11-
generic/build M=/home/isaac/Downloads/TL-
WN823N(US)_V3_160315_Linux/Driver modules
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [Makefile:1696: modules] Error 2


Am I doing something wrong? Are the drivers just messed up? Is this not related to the drivers? Any help would be appreciated.







drivers wireless usb 18.10 tp-link






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 20 at 19:57









yzek

1




1












  • Maybe the issue is the unescaped parentheses (US) in the name of the working directory? What driver file exactly did you download from the linked site and how did you unpack it?
    – steeldriver
    Nov 20 at 20:23










  • Okay, I renamed it and it did get further but now it has several other errors including "void value not ignored" in the line #define _seqdump seq_printf. and "timer has no member named data" Also, I downloaded the non-beta driver TL-WN823N(US)_V3_160315_Linux and extracted it with the GUI.
    – yzek
    Nov 20 at 20:37












  • At the download site, it clearly says: "For Linux kernel 2.6.24 ~ 4.9.60." You are running 4.18. This old file is incompatible with your kernel. Let's take a look at: lsusb and we'll troubleshoot.
    – chili555
    Nov 20 at 20:47










  • with it plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    – yzek
    Nov 20 at 21:06












  • and without it: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub So it appears unnamed
    – yzek
    Nov 20 at 21:06




















  • Maybe the issue is the unescaped parentheses (US) in the name of the working directory? What driver file exactly did you download from the linked site and how did you unpack it?
    – steeldriver
    Nov 20 at 20:23










  • Okay, I renamed it and it did get further but now it has several other errors including "void value not ignored" in the line #define _seqdump seq_printf. and "timer has no member named data" Also, I downloaded the non-beta driver TL-WN823N(US)_V3_160315_Linux and extracted it with the GUI.
    – yzek
    Nov 20 at 20:37












  • At the download site, it clearly says: "For Linux kernel 2.6.24 ~ 4.9.60." You are running 4.18. This old file is incompatible with your kernel. Let's take a look at: lsusb and we'll troubleshoot.
    – chili555
    Nov 20 at 20:47










  • with it plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    – yzek
    Nov 20 at 21:06












  • and without it: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub So it appears unnamed
    – yzek
    Nov 20 at 21:06


















Maybe the issue is the unescaped parentheses (US) in the name of the working directory? What driver file exactly did you download from the linked site and how did you unpack it?
– steeldriver
Nov 20 at 20:23




Maybe the issue is the unescaped parentheses (US) in the name of the working directory? What driver file exactly did you download from the linked site and how did you unpack it?
– steeldriver
Nov 20 at 20:23












Okay, I renamed it and it did get further but now it has several other errors including "void value not ignored" in the line #define _seqdump seq_printf. and "timer has no member named data" Also, I downloaded the non-beta driver TL-WN823N(US)_V3_160315_Linux and extracted it with the GUI.
– yzek
Nov 20 at 20:37






Okay, I renamed it and it did get further but now it has several other errors including "void value not ignored" in the line #define _seqdump seq_printf. and "timer has no member named data" Also, I downloaded the non-beta driver TL-WN823N(US)_V3_160315_Linux and extracted it with the GUI.
– yzek
Nov 20 at 20:37














At the download site, it clearly says: "For Linux kernel 2.6.24 ~ 4.9.60." You are running 4.18. This old file is incompatible with your kernel. Let's take a look at: lsusb and we'll troubleshoot.
– chili555
Nov 20 at 20:47




At the download site, it clearly says: "For Linux kernel 2.6.24 ~ 4.9.60." You are running 4.18. This old file is incompatible with your kernel. Let's take a look at: lsusb and we'll troubleshoot.
– chili555
Nov 20 at 20:47












with it plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
– yzek
Nov 20 at 21:06






with it plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
– yzek
Nov 20 at 21:06














and without it: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub So it appears unnamed
– yzek
Nov 20 at 21:06






and without it: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 258a:0001 Bus 001 Device 003: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub So it appears unnamed
– yzek
Nov 20 at 21:06

















active

oldest

votes











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',
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%2f1094622%2fsyntax-error-when-running-make-to-install-wifi-drivers%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f1094622%2fsyntax-error-when-running-make-to-install-wifi-drivers%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

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents