LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2016, 03:09 PM   #1
shiddo
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Rep: Reputation: Disabled
[Drivers]Tp-Link WN823N


Hey everyone =)

Sorry for my english, not my native language ^^

I'm running Debian 5.4.0, and i'm trying to install a dongle Tp-Link WN823N. When i compile the file directory with "make" I have an error :

"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.6.0-kali1-amd64/build M=/root/TÚlÚchargements/TL-WN823N(EU)_V2_160315_Linux/Driver modules
/bin/sh: 1: Syntax error: "(" unexpected
Makefile:1696: recipe for target 'modules' failed
make: *** [modules] Error 2

After two hours of searching, I have to create my own thread for my problem...

If I understand right, the drivers on the offical page of Tp-link at
http://www.tp-link.fr/download/TL-WN823N.html#Driver
supports kernel 2.6.18 ~ 3.10.10. not 5.4.0.

So I know where the problem is (I guess), but I don't know how can I solve it ! Can you help me please ?
Thanks you =)

Last edited by shiddo; 10-04-2016 at 03:18 PM.
 
Old 10-04-2016, 03:30 PM   #2
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 417

Rep: Reputation: 74
Do you really have to compile? Was it not detected? Have you already installed kernel-devel, headers and friends.
 
Old 10-04-2016, 03:38 PM   #3
shiddo
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by c0wb0y View Post
Do you really have to compile? Was it not detected? Have you already installed kernel-devel, headers and friends.
Thanks for replying

Mmh, I think not.
______________________________________________________
lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
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 05c8:0359 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 003: ID 1c4f:0034 SiGma Micro
Bus 001 Device 002: ID 2357:0109 <---------------------------- The Nightmare's Dongle
Bus 001 Device 006: ID 0cf3:311f Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
_______________________________________________________

Before, I made 3 upgrade
apt-get update && upgrade
apt-get dist-upgrade

Same result.
Forget something ?
 
Old 10-04-2016, 03:42 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,823

Rep: Reputation: 157Reputation: 157
You need install kernel source code to compile the driver.
 
Old 10-04-2016, 03:43 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,734

Rep: Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126
Welcome to LinuxQuestions shiddo. It's generally a good idea to start by sharing the chipset details for a device like this. Some chipsets employed in the TL-WN823N are supported by the rtl8192cu driver for example, so it might already be supported by your kernel. With the device plugged in, open a terminal and do
Code:
lsusb
The following command will show if a module is already associated with the device
Code:
usb-devices
Back to your error
Code:
Makefile:1696: recipe for target 'modules' failed
make: *** [modules] Error 2
Make sure that you have the necessary build environment (build-essential package?) and kernel headers (linux-headers-$(uname -r) package?) before attempting module compilation. I'm sure other Debian users could offer you specific advice here.

Last edited by ferrari; 10-04-2016 at 03:44 PM.
 
Old 10-04-2016, 03:55 PM   #6
shiddo
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Welcome to LinuxQuestions shiddo. It's generally a good idea to start by sharing the chipset details for a device like this. Some chipsets employed in the TL-WN823N are supported by the rtl8192cu driver for example, so it might already be supported by your kernel. With the device plugged in, open a terminal and do
Code:
lsusb
The following command will show if a module is already associated with the device
Code:
usb-devices
Back to your error
Code:
Makefile:1696: recipe for target 'modules' failed
make: *** [modules] Error 2
Make sure that you have the necessary build environment (build-essential package?) and kernel headers (linux-headers-$(uname -r) package?) before attempting module compilation. I'm sure other Debian users could offer you specific advice here.
Quote:
Welcome to LinuxQuestions shiddo
Thank you =)

for lsusb, i made it earlier, few post later ^^

______________________________________________________
lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
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 05c8:0359 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 003: ID 1c4f:0034 SiGma Micro
Bus 001 Device 002: ID 2357:0109 <---------------------------- The Nightmare's Dongle
Bus 001 Device 006: ID 0cf3:311f Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
_______________________________________________________

but apt-get install build-essential and linux-headers-$(uname -r) returns errors, "E: Couldn't find any packages "

Quote:
You need install kernel source code to compile the driver.
I didn't try that, do you have any command for this please ? ^^
 
Old 10-04-2016, 04:51 PM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,734

Rep: Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126
I don't know what the exact naming of the packages are. You're going to need to figure that out.


https://www.debian.org/doc/manuals/d...elated_modules

Last edited by ferrari; 10-04-2016 at 04:53 PM.
 
Old 10-05-2016, 08:48 AM   #8
shiddo
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
I don't know what the exact naming of the packages are. You're going to need to figure that out.


https://www.debian.org/doc/manuals/d...elated_modules
Thanks for the link. Will read this later, when I have some times.

This file is the only one who makes troubles, for now, I could compile each programs that I wanted to install.
 
Old 10-05-2016, 03:35 PM   #9
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,823

Rep: Reputation: 157Reputation: 157
Do you follow their instruction for compiling and installing driver? They request to modify Makefile to meet your environment.
 
Old 10-06-2016, 05:37 AM   #10
shiddo
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
Do you follow their instruction for compiling and installing driver? They request to modify Makefile to meet your environment.
I did it a few minutes ago.

build-essential -> Check -> ok
bzip2 -> Check -> ok
libncurses5-dev -> Check -> ok
git -> Check -> ok
fakeroot -> Check -> ok
initramfs-tools -> Check -> ok
dkms -> Check -> ok
devscripts -> Check -> ok

But my dongle is still not identify.
Same error when i'm trying to compile.

Code:
lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp. 
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 05c8:0359 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
Bus 001 Device 003: ID 1c4f:0034 SiGma Micro 
Bus 001 Device 002: ID 2357:0109  <------------------------------------------------------- :(
Bus 001 Device 006: ID 0cf3:311f Atheros Communications, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Last edited by shiddo; 10-06-2016 at 05:43 AM.
 
Old 10-06-2016, 09:36 AM   #11
shiddo
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
A friend came and bring his WN822N. At first it didn't work too, can't compile the drivers neither. But after following this : https://github.com/pvaret/rtl8192cu-...ster/README.md and reboot, it works perfectly.

The list of compatibility says :

TP-Link TL-WN822N (0bda:8178)
TP-Link TL-WN823N

So, it works on 822, not my 823.

This can be a material dysfunction ?

Last edited by shiddo; 10-06-2016 at 09:49 AM.
 
Old 10-06-2016, 06:24 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,734

Rep: Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126Reputation: 1126
The chipset you have is 2357:0109 and that is supported by the rtl8192eu driver

https://askubuntu.com/questions/8134...ect-to-network
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Mint 18 - ralink TL-WN823N drivers cured winlinuser LinuxQuestions.org Member Success Stories 3 02-19-2018 04:40 PM
Link to SM56 New Drivers crashvk Linux - Hardware 1 07-02-2004 02:47 PM
D-Link pcmcia card drivers n0where Linux - Wireless Networking 6 05-22-2004 04:23 PM
D-link drivers Moobax Linux - Software 5 04-28-2004 03:16 PM
tried dlink's drivers for d-link card? abs General 0 04-08-2004 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration