View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005562 | Kali Linux | Kali Package Bug | public | 2019-06-24 18:08 | 2019-06-25 23:25 |
Reporter | shull2805 | Assigned To | steev | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 2019.2 | ||||
Summary | 0005562: Alfa AWUS036ACH does not set channels or create wlan0mon for kalli 4.14.120 armv7l for ODROID XU3, XU4 | ||||
Description | AWUS036ACH does not enter monitor mode properly with the kali 2019.2 armv71 image. However, the AWUS036ACH works properly on other kali 2019.2 images. Tested using aircrack-ng and kismet. Also tested with one other adaptor: the AWUS036NHA. Admittedly, the *NHA uses a different chipset, but as a sanity check, using it verified that the basic kali image, aircrack-ng, and kismet packages were installed correctly. And, the fact that BOTH adaptors worked with kali 2019.2 running in a VM on an X64 box suggests that the problem is limited to the armv71 image. | ||||
Steps To Reproduce | 1) download & install: kali-linux-2019.2-odroidxu3.img.xz.torrent / NOTE: See Below. ERRORS SETTING CHANNEL & CREATING WLAN0MON / root@kali:~# airmon-ng start wlan0 root@kali:~# iwconfig root@kali:~# iwlist wlan0 channel root@kali:~# airodump-ng wlan0 --band abg BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID BSSID STATION PWR Rate Lost Frames Probe /**/ root@kali:~# airodump-ng wlan0 BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID BSSID STATION PWR Rate Lost Frames Probe /**/ | ||||
The 8812 driver included in the kernel is the Realtek version, you’re going to need to install the realtek dkms version to get monitor/injection support. |
|
Sorry, my bad. I had installed the realtek-rtl88xxau-dkms but forgot to include it in the steps to duplicate the problem. Here is the console output created during the driver install: root@kali:~# apt install realtek-rtl88xxau-dkms 88XXau.ko:
depmod... DKMS: install completed. ... and, in case it's helpful, here's the dmesg output taken after I plugged in the adaptor: [ 40.638714] usb 3-1.2: new high-speed USB device number 3 using xhci-hcd |
|
That dmesg output seems like its using the built in module for the wifi still... Can you run "modinfo rtl8812au" (I believe is the module name) - and make sure it's using the correct one? You may have to move the /lib/modules/4.14.xx/kernel/drivers/net/wireless/rtl8812au/rtl8812au.ko file out of the way and re-run depmod after doing so, and then either reboot, or modprobe -r the module and re-plug in the wifi device. |
|
You found the problem! I'm not sure how it happened, but there was a second subdirectory, /lib/modules/4.14.xx/kernel/drivers/net/wireless/rtl8812au/. There was also a realtek subdirectory at the same level in the directory tree. I renamed the subdirectories and ran a series of tests to see what was going on. I removed and re-installed the realtek-rtl88xxau-dkms package, which recreated the appropriate files and folders it needed. And now, everything is fine. FWIW, if anybody else runs into this problem, the /lib/modules/4.14.xx/kernel/drivers/net/wireless/rtl8812au/ subdirectory should be deleted (or renamed). Than you SO MUCH!! You are truly 'DA MAN!!" |
|
Aargh.. may have spoken too soon. Stand by, still digging.... |
|
Here's an interim status report: i can get the AWUS036ACH to go into monitor mode, and run the aircrack suite and kismet, etc. However, I cannot get the adaptor to work as a normal wifi device. It's monitor mode or nothing. Worse yet, I also have an Atheros-based adaptor (AWUS036NHA) that doesn't work at all if the system is configiured for the ACH device. Ultimately, I'd like to be able to insert either adaptor and have them connect normally (without having to jump through hoops), and I should be able to run airmon-ng start wlan0 to put the adaptor in monitor mode. I'm pleased that the ACH adaptor can be used in monitor mode. Is it unrealistic to expect the system to support two different adaptors, and to be able to slip in and out of monitor mode ? |
|
That isn't an unreasonable expectation at all, and it should work. Can you provide dmesg output? lsmod output? Need to see what's actually going on for you there. |
|
reboot lsmod: swapped out adaptor for *ACH lsmod: dmesg: Thanks! |
|
Things are much better now: reinstalled firmware-atheros, firmware-linux-free, and wicd. Both adaptors work in and out of monitor mode, and can be swapped out as desired. I'm a happy puppy! Thanks for all your suppoort!!! |
|
Apparently the upstream driver name is 88XXau.ko so you should be safe to simply create a file in /etc/modprobe.d/ called something like blacklist-rtl8812au.conf with the contents of "blacklist rtl8812au" instead of deleting the files |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-06-24 18:08 | shull2805 | New Issue | |
2019-06-24 18:18 | steev | Note Added: 0010732 | |
2019-06-24 22:24 | shull2805 | Note Added: 0010733 | |
2019-06-24 23:54 | steev | Note Added: 0010734 | |
2019-06-25 15:31 | shull2805 | Note Added: 0010742 | |
2019-06-25 15:46 | shull2805 | Note Added: 0010743 | |
2019-06-25 21:23 | shull2805 | Note Added: 0010744 | |
2019-06-25 21:26 | steev | Note Added: 0010745 | |
2019-06-25 21:51 | shull2805 | Note Added: 0010746 | |
2019-06-25 22:24 | shull2805 | Note Added: 0010747 | |
2019-06-25 23:25 | steev | Assigned To | => steev |
2019-06-25 23:25 | steev | Status | new => resolved |
2019-06-25 23:25 | steev | Resolution | open => no change required |
2019-06-25 23:25 | steev | Note Added: 0010748 |