morrownr / 8821au-20210708

Linux Driver for USB WiFi Adapters that are based on the RTL8811AU and RTL8821AU Chipsets - v5.12.5.2
Other
671 stars 101 forks source link

Bad Wifi range #115

Closed philhk closed 6 months ago

philhk commented 10 months ago

First of all thank you for the awesome driver and giving us a chance to even use it!

6.2.0-1018-raspi aarch64
Command 'mokutil' not found, but can be installed with:
sudo apt install mokutil
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0480:a007 Toshiba America Inc External Disk USB 3.0
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 2357:011f TP-Link 802.11ac WLAN Adapter
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
1: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
5: phy4: Wireless LAN
        Soft blocked: no
        Hard blocked: no
phy#4
        Interface wlx5c628b4b8c0d
                ifindex 16
                wdev 0x400000001
                addr 5c:62:8b:4b:8c:0d
                type managed
                txpower -100.00 dBm
phy#1
        Interface wlan0
                ifindex 4
                wdev 0x100000001
                addr e4:5f:01:05:f6:0f
                type managed
                channel 34 (5170 MHz), width: 20 MHz, center1: 5170 MHz
global
country 00: DFS-UNSET
        (755 - 928 @ 2), (N/A, 20), (N/A), PASSIVE-SCAN
        (2402 - 2472 @ 40), (N/A, 20), (N/A)
        (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
        (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
        (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#1
country 99: DFS-UNSET
        (2402 - 2482 @ 40), (6, 20), (N/A)
        (2474 - 2494 @ 20), (6, 20), (N/A)
        (5140 - 5360 @ 160), (6, 20), (N/A)
        (5460 - 5860 @ 160), (6, 20), (N/A)

I'm using a Raspberry PI 4B with 4 GB and running Ubuntu 23.04. My problem is that when using my Wifi adapter on there and scanning for networks with airodump-ng I see only my network and sometimes one of my closest neighbor. When using the Wifi adapter on my Windows machine I see way more and also most of them are 2,4 GHz. If any other information is needed please tell me and I will provide it as soon as possible.

morrownr commented 10 months ago

Hi @philhk

Hmmm... can you give me a step by step guide as to how you get into monitor mode and what commands you are using to scan?