Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TP-Link Archer T2U Nano #7116

Open
actraiser30 opened this issue Jun 18, 2024 · 13 comments
Open

TP-Link Archer T2U Nano #7116

actraiser30 opened this issue Jun 18, 2024 · 13 comments

Comments

@actraiser30
Copy link

actraiser30 commented Jun 18, 2024

Hello

I have a USB wifi Tplink Archer T2U Nano
With chipset Realtek RTL8811AU

Using a raspberry pi 2 with latest dietpi armv7 bookworm

Installed wifi hotspot mode but after I realized that it does not see the USB WiFi device,in the network-adapters section it says not found,are you going to include drivers for this chipset in a feature update??

PS: I also have another older TP-LINK TL-WN821N with chipset Realtek RTL8192eu I tried it and also it does not see it the same not found message...

Thanks

@Joulinar
Copy link
Collaborator

Usually we don't add individual drivers.

@actraiser30
Copy link
Author

actraiser30 commented Jun 18, 2024

Since not all raspberry pi's have internal wifi ,i must use an external USB wifi,but both of them I mentioned before are not working..

If possible in a future release to add a package with all the missing wifi chipset drivers to be installed if necessary and if wifi hotspot mode is selected from the software list to be installed.

@MichaIng
Copy link
Owner

MichaIng commented Jun 18, 2024

It should work with the new kernel version. Please try our migration script. However, note that this cannot be (easily) reverted: #6676

EDIT: I think I mixed it up with RTL8821CU/RTL8811CU, not sure whether one of the RTL88* drivers added with Linux 6.6 is compatible with RTL8812AU: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/realtek/rtw88/Kconfig?h=linux-6.6.y
Here the particular drivers available with the new RPi kernel:

root@micha:~# ls -l /lib/modules/*/kernel/drivers/net/wireless/realtek/rtw88
total 184
-rw-r--r-- 1 root root 13916 May 29 16:04 rtw88_8723d.ko.xz
-rw-r--r-- 1 root root  1648 May 29 16:04 rtw88_8723du.ko.xz
-rw-r--r-- 1 root root 16296 May 29 16:04 rtw88_8821c.ko.xz
-rw-r--r-- 1 root root  1824 May 29 16:04 rtw88_8821cu.ko.xz
-rw-r--r-- 1 root root 21608 May 29 16:04 rtw88_8822b.ko.xz
-rw-r--r-- 1 root root  2012 May 29 16:04 rtw88_8822bu.ko.xz
-rw-r--r-- 1 root root 37212 May 29 16:04 rtw88_8822c.ko.xz
-rw-r--r-- 1 root root  1688 May 29 16:04 rtw88_8822cu.ko.xz
-rw-r--r-- 1 root root 62280 May 29 16:04 rtw88_core.ko.xz
-rw-r--r-- 1 root root  6336 May 29 16:04 rtw88_usb.ko.xz

If none is compatible, it needs to be compiled manually. One commonly used repository is this one: https://github.com/aircrack-ng/rtl8812au

@actraiser30
Copy link
Author

actraiser30 commented Jun 22, 2024

All this are a little to much for me,tried an old atheros AR92xx it worked,but the performance is very poor,is the bookworm os too much/heavy for the very aged Raspberry Pi 2? Should I put dietpi bullseye will.it make any difference?

Thanks

@Joulinar
Copy link
Collaborator

Normally the performance difference between Bullseye and Bookworm should not be that big. Do you have the poor performance with the plain operating system or a specific application?

@actraiser30
Copy link
Author

actraiser30 commented Jun 22, 2024

No only with the hotspot,I checked with htop there not big CPU usage.strange.can be my atheros AR92xx,what USB wifi chipset old or new,is suggested for best hotspot performance??

@Joulinar
Copy link
Collaborator

We never tested WiFi performance, just some adapter in general https://dietpi.com/blog/?p=3266#issues_with_external_wifi_adapters

probably @StephanStS could comment on this.

@actraiser30
Copy link
Author

actraiser30 commented Jun 22, 2024

Thanks, do you know what country can i put to have channel 12 and 13??

And is there a way to set the 20/40mhz channel width?

@actraiser30
Copy link
Author

actraiser30 commented Jun 22, 2024

Nevermind I put channel 11 channels 12,13 are not working the hostapd is not starting I have GB country set

With channel 11 I get the max 20mbps

Not bad

Thanks for your help

@actraiser30
Copy link
Author

Hi again,in armbian this chipset is working if you install the armbian-firmware-full package,maybe you can add this package to dietpi to install it if hotspot mode is selected,or just the wifi drivers from this package to be installed only
Thanks

@MichaIng
Copy link
Owner

MichaIng commented Jul 10, 2024

I am trying to find out which firmware binary is missing. There are multiple ones which seem matching. Can you please check for related kernel errors? There should be one about a missing firmware binary, when the WiFi driver loads:

dmesg -l 0,1,2,3

EDIT: Ah lol, we are talking about Raspberry Pi, not Armbian-based kernel. This makes it more complicated to properly add the firmware binary, since we use the regular Debian firmware packages there. But at least you can then just manually download it.

@actraiser30
Copy link
Author

That command does not show/do anything

I can see the wifi adapter with lsusb command though

@MichaIng
Copy link
Owner

Ah, Linux 6.1 does not contain the rtw88 drivers yet. If would be a one-way ticket, unless you create a full SD card/drive backup, but you could try whether upgrading to the new kernel/firmware stack with Linux 6.6 helps, which I suggested above already: #6676

bash <(curl -sSf 'https://github.com/raw/MichaIng/DietPi/dev/.meta/dietpi-rpi-firmware-migration')

Alternatively, if you have a spare SD card, we host images with this new kernel:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants