Welcome!

Please read this important information about MX sources lists.
News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-16.1 release info here
  • antiX-17-b1-full release info here
  • antiX-16.2 release info here
New users
  • Please read this first, and don't forget to add system and hardware information to posts!
  • Read Forum Rules

Installation of a TP-Link TL-WN823N usb wifi dongle - SOLVED

Message
Author
User avatar
texchuck
Forum Novice
Forum  Novice
Posts: 69
Joined: Fri Dec 28, 2007 3:36 pm

Installation of a TP-Link TL-WN823N usb wifi dongle - SOLVED

#1 Postby texchuck » Tue Jan 31, 2017 10:51 am

I was unable to resolve weak performance issues with the Broadcom wifi board that came with my HP 250 G4 laptop (see separate thread), so decided to purchase a usb wifi dongle. The product I purchased is a TP-Link TL-WN823N (v2) wireless USB adapter. I am running MX-16 64-bit. The OS can see the USB device, but does not recogize what it is (it seems to identify it as an Ethernet port, since the Network Connections utility identified an new Ethernet device). The adapter uses a Realtek RTL8192EU chipset, which is probably newer that I would like. One piece of information I got was that a Linux driver named RTL8xxxx might work. Not sure what the "xxxx" means. Might be available from Backports 4.3+ (not sure about Backports, either). Perhaps if I can find the Linux driver the OS will recognize the device? I probably also need to disable the Broadcom board (that should be easy if I just quarantine the "wl" driver). I looked at the TP-Link website for the Linux driver they advertised on the box, but all I could find to download was .pdf files that said to go to the site for a driver.

Anyway, I am not too sure what I am doing at this point. Perhaps someone can give some direction!

Thanks!
Last edited by texchuck on Thu Feb 02, 2017 3:43 am, edited 1 time in total.

User avatar
Gaer Boy
Forum Guide
Forum Guide
Posts: 2017
Age: 81
Joined: Sat Jun 06, 2009 6:06 am

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#2 Postby Gaer Boy » Tue Jan 31, 2017 11:02 am


AsRock FM2A88X-ITX+, A8-6500, 8GB, 120GB Samsung SSD (GPT), 1TB HDD (MBR), MX-16
Lenovo Thinkpad X220, dual-core i5, 3MB, 320GB Hitachi HDD, Win7, MX-16.1

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#3 Postby aus9 » Tue Jan 31, 2017 7:39 pm

it might help to expand the info you do know please.

post the output to these commands, below I give some lines of my output for a differnet dongle as example

Code: Select all

lsusb
dpkg -l | grep firmware
lsmod
uname -a



aus9 example
Bus 001 Device 004: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
ii firmware-realtek 20160824-1mx150+1 all Binary firmware for Realtek wired/wifi/BT adapters
^^ you will need other firmware as well.

lsmod for me shows I have module r8712u, for you driver named RTL8xxxx might work means r8 and some other numbers not literally xxxxx.

(3) if you have the debian kernel the kernel module to load is likely to be
https://wiki.debian.org/rtl819x

(4) leaping ahead, if the dpkg command shows you do not have the firmware-realtek, its safe to install it now over ethernet

Code: Select all

sudo apt install firmware-realtek


if you get an error then its because you have not yet enabled the sources as per wik so look at
/etc/apt/sources.list.d/debian.list and see a line like this
"deb ftp://ftp.iinet.net.au/debian/debian/ jessie main contrib non-free"

yours won;t have iinet stuff but your country's mirror ....just use root powers to add non-free to that line
then run

Code: Select all

sudo apt-get update
sudo apt install firmware-realtek


and hopefully it will work as per wiki
good Luck from MX-16 user

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#4 Postby aus9 » Tue Jan 31, 2017 8:58 pm

I am interested to see if your lsusb returns id of 2001:3319 and if for any reason the driver does not work from wiki link we can look at

https://github.com/Mange/rtl8192eu-linux-driver
good Luck from MX-16 user

User avatar
texchuck
Forum Novice
Forum  Novice
Posts: 69
Joined: Fri Dec 28, 2007 3:36 pm

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#5 Postby texchuck » Wed Feb 01, 2017 7:38 am

aus9,

Thank you for the detailed response. I will provide the output of the suggested commands. I first tried to compile the Linux driver provided by TP-Link. It was specifically for Ubuntu 14, kernel 3.16.0. No luck there.

Here are the outputs of the commands you suggested.

Code: Select all

$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 04f2:b52d Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 0a5c:216d Broadcom Corp.
Bus 002 Device 008: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 009: ID 2357:0109 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


I am quite sure the Realtek component is Device 009 (it disappears if I remove the dongle).

Code: Select all

$ dpkg -l | grep firmware
[ii  amd64-microcode                          3.20160316.2mx150+1                  amd64        Processor microcode firmware for AMD CPUs
ii  atmel-firmware                           1.3-4                                all          Firmware for Atmel at76c50x wireless networking chips.
ii  b43-fwcutter                             1:019-2                              amd64        utility for extracting Broadcom 43xx firmware
ii  bluez-firmware                           1.2-3                                all          Firmware for Bluetooth devices
ii  firmware-amd-graphics                    20160824-1mx150+1                    all          Binary firmware for AMD/ATI graphics chips
ii  firmware-atheros                         20160824-1mx150+1                    all          Binary firmware for Atheros wireless cards
ii  firmware-b43-installer                   1:019-2                              all          firmware installer for the b43 driver
ii  firmware-b43legacy-installer             1:019-2                              all          firmware installer for the b43legacy driver
ii  firmware-bnx2                            20160824-1mx150+1                    all          Binary firmware for Broadcom NetXtremeII
ii  firmware-bnx2x                           20160824-1mx150+1                    all          Binary firmware for Broadcom NetXtreme II 10Gb
ii  firmware-brcm80211                       20160824-1mx150+1                    all          Binary firmware for Broadcom 802.11 wireless cards
ii  firmware-intelwimax                      20160824-1mx150+1                    all          Binary firmware for Intel WiMAX Connection
ii  firmware-ipw2x00                         20160824-1mx150+1                    all          Binary firmware for Intel Pro Wireless 2100, 2200 and 2915
ii  firmware-iwlwifi                         20160824-1mx150+1                    all          Binary firmware for Intel Wireless cards
ii  firmware-libertas                        20160824-1mx150+1                    all          Binary firmware for Marvell Libertas 8xxx wireless cards
ii  firmware-linux-free                      3.3                                  all          Binary firmware for various drivers in the Linux kernel
ii  firmware-linux-nonfree                   20160824-1mx150+1                    all          Binary firmware for drivers in the Linux kernel (meta-package)
ii  firmware-misc-nonfree                    20160824-1mx150+1                    all          Binary firmware for various drivers in the Linux kernel
ii  firmware-myricom                         20160824-1mx150+1                    all          Binary firmware for Myri-10G Ethernet adapters
ii  firmware-qlogic                          20160824-1mx150+1                    all          Binary firmware for QLogic HBAs
ii  firmware-realtek                         20160824-1mx150+1                    all          Binary firmware for Realtek wired/wifi/BT adapters
ii  firmware-zd1211                          3.0.0.56-3                           all          binary firmware for the zd1211rw wireless driver
ii  intel-microcode                          3.20161104.1mx15+1                   amd64        Processor microcode firmware for Intel CPUs
ii  zd1211-firmware                          3.0.0.56-3                           all          transitional dummy package for firmware-zd1211


Toward the bottom is the line "firmware-realtek". I presume the realtek drivers are installed.

Code: Select all

$ lsmod
Module                  Size  Used by
nls_ascii              16384  0
nls_cp437              20480  0
vfat                   20480  0
fat                    69632  1 vfat
uas                    24576  0
usb_storage            69632  1 uas
snd_seq_dummy          16384  0
snd_seq                65536  1 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
wl                   6447104  0
cfg80211              577536  1 wl
nls_utf8               16384  1
isofs                  40960  1
rfcomm                 69632  0
cmac                   16384  0
ecb                    16384  0
bnep                   20480  2
cpufreq_userspace      16384  0
cpufreq_conservative    16384  0
cpufreq_powersave      16384  0
cpufreq_stats          16384  0
uinput                 20480  1
nfsd                  327680  2
auth_rpcgss            61440  1 nfsd
nfs_acl                16384  1 nfsd
nfs                   253952  0
lockd                  90112  2 nfs,nfsd
grace                  16384  2 nfsd,lockd
fscache                61440  1 nfs
sunrpc                335872  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
ip6t_REJECT            16384  1
nf_reject_ipv6         16384  1 ip6t_REJECT
nf_log_ipv6            16384  5
xt_hl                  16384  22
ip6t_rt                16384  3
nf_conntrack_ipv6      20480  8
nf_defrag_ipv6         36864  1 nf_conntrack_ipv6
ipt_REJECT             16384  1
nf_reject_ipv4         16384  1 ipt_REJECT
nf_log_ipv4            16384  5
nf_log_common          16384  2 nf_log_ipv4,nf_log_ipv6
xt_LOG                 16384  10
xt_limit               16384  13
xt_tcpudp              16384  26
xt_addrtype            16384  4
nf_conntrack_ipv4      20480  8
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  16
ip6table_filter        16384  1
ip6_tables             24576  1 ip6table_filter
nf_conntrack_netbios_ns    16384  0
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nf_nat_ftp             16384  0
nf_nat                 24576  1 nf_nat_ftp
nf_conntrack_ftp       16384  1 nf_nat_ftp
nf_conntrack          114688  8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter         16384  1
ip_tables              24576  1 iptable_filter
x_tables               36864  13 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT
fuse                   98304  2
ndiswrapper           286720  0
loop                   28672  0
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,ppdev,parport_pc
btusb                  45056  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             516096  15 bnep,btbcm,btrtl,btusb,rfcomm,btintel
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              180224  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  36864  2 uvcvideo,videodev
snd_hda_codec_hdmi     49152  1
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
iTCO_wdt               16384  0
kvm                   581632  0
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
rfkill                 24576  6 cfg80211,hp_wmi,bluetooth
iTCO_vendor_support    16384  1 iTCO_wdt
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
cryptd                 20480  1 ghash_clmulni_intel
snd_hda_intel          36864  5
joydev                 20480  0
evdev                  24576  26
serio_raw              16384  0
snd_hda_codec         131072  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
wmi                    16384  1 hp_wmi
snd_hda_core           81920  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_soc_ssm4567        20480  0
snd_soc_rt286          36864  0
snd_soc_rl6347a        16384  1 snd_soc_rt286
snd_soc_core          208896  2 snd_soc_ssm4567,snd_soc_rt286
snd_hwdep              16384  1 snd_hda_codec
snd_compress           20480  1 snd_soc_core
snd_pcm               114688  6 snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_rt286,snd_hda_core
dw_dmac                16384  0
battery                16384  0
int3403_thermal        16384  0
snd_timer              32768  2 snd_pcm,snd_seq
ac                     16384  0
snd                    81920  22 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_compress
i915                 1298432  3
drm_kms_helper        147456  1 i915
drm                   360448  4 i915,drm_kms_helper
video                  40960  1 i915
soundcore              16384  1 snd
snd_soc_sst_acpi       16384  0
dw_dmac_core           24576  1 dw_dmac
tpm_tis                20480  0
int3400_thermal        16384  0
snd_soc_sst_match      16384  1 snd_soc_sst_acpi
int3402_thermal        16384  0
tpm                    45056  1 tpm_tis
mei_me                 32768  0
i2c_designware_platform    16384  0
lpc_ich                24576  0
i2c_designware_core    20480  1 i2c_designware_platform
mei                    98304  1 mei_me
mfd_core               16384  1 lpc_ich
i2c_i801               20480  0
i2c_algo_bit           16384  1 i915
hp_wireless            16384  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_pad               24576  0
button                 16384  1 i915
shpchp                 36864  0
processor_thermal_device    16384  0
int340x_thermal_zone    16384  3 int3402_thermal,processor_thermal_device,int3403_thermal
intel_pch_thermal      16384  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
ext4                  602112  1
crc16                  16384  2 ext4,bluetooth
jbd2                  110592  1 ext4
mbcache                16384  2 ext4
btrfs                1024000  0
hid_generic            16384  0
usbhid                 49152  0
xor                    24576  1 btrfs
raid6_pq              102400  1 btrfs
dm_mod                106496  0
sg                     32768  0
sr_mod                 24576  1
cdrom                  57344  1 sr_mod
sd_mod                 49152  3
crc32c_intel           24576  1
ahci                   36864  3
libahci                32768  1 ahci
psmouse               122880  0
libata                245760  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
xhci_hcd              176128  1 xhci_pci
ehci_hcd               77824  1 ehci_pci
scsi_mod              225280  6 sg,uas,usb_storage,libata,sd_mod,sr_mod
r8169                  81920  0
usbcore               241664  10 uas,btusb,uvcvideo,ndiswrapper,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
mii                    16384  1 r8169
usb_common             16384  1 usbcore
thermal                20480  0
fan                    16384  0
i2c_hid                20480  0
hid                   118784  3 i2c_hid,hid_generic,usbhid
sdhci_acpi             16384  0
sdhci                  40960  1 sdhci_acpi
mmc_core              139264  2 sdhci,sdhci_acpi
fjes                   28672  0
zsmalloc               20480  1


Sorry for the long listing, but I don't want to presume to know more than I know. I see the poorly-functioning rl driver. Another one, r8169 may have something to do with Realtek?

Finally,

Code: Select all

$ uname -a
Linux mx1-2 4.7.0-0.bpo.1-amd64 #1 SMP MX 4.7.8-1mx16+2 (2016-12-08) x86_64 GNU/Linux


You had some additional ideas, but I am going to stop here and hope you can digest something from this information before I try other explores. Thank you!!

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8990
Age: 59
Joined: Wed Jul 12, 2006 2:26 pm

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#6 Postby kmathern » Wed Feb 01, 2017 8:43 am

texchuck wrote:

Code: Select all

ii  firmware-realtek                         20160824-1mx150+1                    all          Binary firmware for Realtek wired/wifi/BT adapters

It may or may not make a difference but there's a slightly newer version of firmware-realtek (20161130-2mx150+1) in the testrepo that you can upgrade to with the 'Install from Test Repo' MX tool.
Last edited by kmathern on Wed Feb 01, 2017 8:44 am, edited 1 time in total.

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#7 Postby aus9 » Wed Feb 01, 2017 8:44 am

texchuck

I am going to do a separate first post just on the lsusb output as it is not yet important but does need some distracting explanation.

the first id is the maker id and second is the product

http://www.linux-usb.org/usb.ids

trouble is there is no maker of id 2357 so TP device, I think you are correct but its chipset is not a realtek as far as I can tell based only on the ids.

ignore that for now as we can now discuss the other bits when I post them
good Luck from MX-16 user

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#8 Postby aus9 » Wed Feb 01, 2017 8:50 am

texchuck
r8169 is your ethernet kernel module

leave it as is for the moment please
good Luck from MX-16 user

User avatar
Paul..
Forum Guide
Forum Guide
Posts: 1881
Joined: Sun Mar 18, 2007 6:34 pm

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#9 Postby Paul.. » Wed Feb 01, 2017 8:52 am

Seems to be a Linux driver available from TP-Link here:
http://www.tp-link.com/us/download/TL-WN823N.html#Driver
Make sure you select the hardware version number in the pull down menu at right, first.

Daily: MSI 890FXA-GD70 | AMD Phenom II X6 1055T | GeForce GTX 750 Ti | 8G
Test: Dell Inspiron 20 3043 | Intel quad N3530 | Intel Atom Graphics | 4G
Test: Thinkpad T431s | Intel i5-3437U | Intel 3rd gen Graphics | 4G

User avatar
aus9
Forum Regular
Forum Regular
Posts: 521
Joined: Sat Jul 02, 2016 1:14 am

Re: Installation of a TP-Link TL-WN823N usb wifi dongle

#10 Postby aus9 » Wed Feb 01, 2017 8:54 am

and as you have realtek firmware you have the firmware for the device

Image
good Luck from MX-16 user


Return to “Forum How-to's”

Who is online

Users browsing this forum: No registered users and 1 guest