I purchased a TP-LINK TL-WN823N to use Aircrack-ng for research:
However, when using airmon-ng
I just see:
Interface Chipset Driver
wlo1 Intel 1030 iwlwifi - [phy0]
So I've used previous answers such as:
Problem with TP-Link TL-WN823N
DLink DWA 131 wireless adapter not working on ubuntu 15.10
Problem with TP-Link TL-WN823N
And I realised there was an issue with drivers, so I followed these answers.
I've tried to install from these repositories as explained in the answers (and also ppa:hanipouspilot/rtlwifi): github.com/pvaret/rtl8192cu-fixes github.com/Mange/rtl8192eu-linux-driver
So I removed others and I'm currently using Mange's rtle8192eu driver, the recommended driver for kernel 4.8.0-58-generic (recommended by Pilot6), which hasn't changed anything and also giving me this warning - as I've probably incorrectly removed others?:
> dkms status
rtl8192eu, 1.0, 4.8.0-58-generic, x86_64: installed (WARNING! Diff between built and installed module!)
So I'm a bit lost at the moment on what to do, upon using iwconfig, this is currently displayed:
> iwconfig
lo no wireless extensions.
wlx8416f91d8fbc unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
wlo1 IEEE 802.11 ESSID:"HSP"
Mode:Managed Frequency:2.462 GHz Access Point: F4:0F:24:36:DE:0B
Bit Rate=65 Mb/s Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=62/70 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:159 Missed beacon:0
eno1 no wireless extensions.
Seems it is read as wlx8416f91d8fbc but still not found under airmon-ng
interfaces.
Contents of /etc/modprobe.d:
alsa-base.conf dkms.conf
blacklist-ath_pci.conf fbdev-blacklist.conf
blacklist.conf hackrf-blacklist.conf
blacklist-firewire.conf intel-microcode-blacklist.conf
blacklist-framebuffer.conf iwlwifi.conf
blacklist-modem.conf mlx4.conf
blacklist-oss.conf rtl-sdr-blacklist.conf
blacklist-rare-network.conf vmwgfx-fbdev.conf
blacklist-watchdog.conf
lsusb currently shows:
Bus 002 Device 004: ID 8086:0189 Intel Corp.
Bus 002 Device 006: ID 2357:0109
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 03eb:210a Atmel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b252 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 138a:0018 Validity Sensors, Inc. Fingerprint scanner
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
My TL-WN823N currently has no green light flashing like you would usually expect and regardless of what I've tried, I cannot get it to work with Aircrack-ng. If someone could guide me through fixing this issue, I would much appreciate the help - I'm not an expert in Linux by any means but I've tried some existing solutions to no avail.
sudo dkms install rtl8192eu/1.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
'make' all KVER=4.8.0-58-generic....................
cleaning build area....
DKMS: build completed.
8192eu.ko:
Running module version sanity check.
Good news! Module version v4.4.1_17696.20160509_BTCOEX20160412-0042 for 8192eu.ko exactly matches what is already found in kernel 4.8.0-58-generic.
DKMS will not replace this module.
You may override by specifying --force.
depmod....
Backing up initrd.img-4.8.0-58-generic to /boot/initrd.img-4.8.0-58-generic.old-dkms
Making new initrd.img-4.8.0-58-generic
(If next boot fails, revert to initrd.img-4.8.0-58-generic.old-dkms image)
update-initramfs........
DKMS: install completed.
Update #2: I was able to fix the issue by firstly uninstalling the driver, then going into /lib/modules/4.8.0-58-generic/kernel/drivers/net/wireless
and getting rid of 8192eu.ko
(I just renamed it). This prevented the duplicate found in the log above. Then I reinstalled and the installation was normal. However, USB stick is still not working, but I am getting the following dkms status output (as opposed to before - see above):
rtl8192eu, 1.0, 4.8.0-58-generic, x86_64: installed
dkms status
anddkms remove
and removed any blacklist files in/etc/modprobe.d
. But Mange's version did not work either, so I'm not quite sure where to go from here. Perhaps I've done something wrong.dkms status
above).