Archer t2u nano arch linux

в арче не работает, сети видит, но подключаться отказывается почему-то. системой определяется как tp link ac600 realtek rtl8811au

Как вы устанавливали драйвер?

по ссылке инструкция с зеленой галочкой. на арче аналогично делал

Ядро 5.12? Если да, то тебе нужно этот патч накладывать.

да, оно самое. извиняюсь за тупой вопрос, но как его наложить?

Там же драйвер для rtl8812au.

А вам, думаю, надо это.

Error! Module version v5.6.4.2_35491.20191025 for 88XXau.ko.xz is not newer than what is already found in kernel 5.12.11-arch1-1 (v5.6.4.2_35491.20191025).

при сборке в дкмс выдает это(

Это тот же самый драйвер.

Это тот же, на заметил. Значит то, что говорит тов. Kron4ek или установить лтс-ядро.

Вижу, действительно, не тот репозиторий открыл.

Нет результата почему-то. Применяю патч, делаю sudo make dkms_install и ничего

Что-то не так делаешь значит, либо у тебя в чем-то другом проблема. Попробуй LTS ядро.

А старый модуль удалил перед установкой патченой версии?

вай фай появляется на доли секунд, работает, но потом выскакивает ошибка и так по кругу. на лтс ядре аналогично

Источник

In this brief guide, I will explain how to install TP-Link AC600 Archer T2U Nano WiFi USB adapter in Fedora, Ubuntu and openSUSE Linux distributions and how to connect to 5G Wireless Internet connection.

Introduction

A few days ago, I switched to Jio Fiber 5G broadband connection. The Internet provider gave me a dual band router that supports both 2.4 GHz and 5 GHz channel.

Unfortunately, the built-in WiFi network interface in my Laptop doesn’t support 5 GHz channel. It is bit old Dell Laptop that supports 2.4 GHz channel only.

After doing a lot of web search, I bought TP-Link AC600 USB WiFi Adapter (Archer T2U Nano) from Amazon.

Compared to other WiFi USB network adapters, the TP-Link AC600 Archer T2U model has many advantages. It is tiny, compact and high speed WiFi adapter that supports 2.4 GHz and 5 GHz band.

It is capable to provide 433 Mbps speed on 5GHz (ideal for HD streaming and online gaming) and 200Mbps on 2.4GHz (perfect for normal web browsing).

Archer T2U nano adapter supports 64/128-bit WEP, WPA/WPA2, and WPA-PSK/WPA2-PSK encryption standards. So your wireless connections are safe from intruders.

Another notable advantage of Archer T2U nano WiFi USB adapter is it supports WiFi roaming. It automatically connects to the suitable WiFi network near you.

If you are ever looking for a dual-band WiFi router for faster speed and extended range, TP-Link AC600 Archer T2U Nano WiFi USB adapter is undoubtedly good choice.

Even though Archer T2U nano adapter has some good features, it has one drawback. It supports Windows and Mac OS only. There is no official drivers for Linux.

Fortunately, I came across an unofficial driver for Archer T2U Nano on GitHub and it works out of the box on Fedora and Ubuntu systems.

As stated already, Archer T2U nano works well both on Fedora, Ubuntu and openSUSE Linux distributions. First, we will see how to install TP-Link AC600 Archer T2U Nano wifi adapter on Fedora.

First, check if the TP-Link Archer T2U is detected on your Fedora system by listing the USB devices using command:

Sample output:

As you can see, TP-Link AC600 Archer T2U nano model wireless card is detected. Let us go ahead and install Archer T2U nano driver in Linux.

Читайте также:  Картридж латунный мр 371 для автоматической стрельбы

Before installing the Archer T2U nano driver, make sure you have installed the correct Kernel header files using command:

If your Kernel and Kernel headers’ version are different, the TP-Link WiFi card driver will not work. So it is mandatory to install the correct Kernel header files .

Next install the dkms package which is used automatically recompile and install a kernel module when a new kernel gets installed or updated.

To install dkms in Fedora, run:

Since we are going to compile the drivers from source, we need to install make and git :

Next, git clone the rtl8812au GitHub repository:

Sample output:

The rtl8812au GitHub repository contains RTL8812AU/21AU and RTL8814AU drivers with monitor mode and frame injection.

The above command clones the contents of rtl8812au GitHub repository in a local directory named rtl8812au . Cd into the cloned directory:

Run the following command to compile and install TP-Link AC600 Archer T2U Nano WiFi USB adapter in your Fedora system:

Sample output:

Once the driver is installed, remove the USB adapter and plug in again. The LED in the Archer T2U nano adapter will start to blink.

You can verify if the Archer T2U nano driver (i.e. RTL8812AU ) is installed and loaded with command:

If you see an output like below, congratulations! TP-Link AC600 (Archer T2U Nano) Wireless adapter has been successfully installed!

Installing TP-Link AC600 Archer T2U nano wifi USB adapter in Ubuntu is same as above.

Install the necessary dependencies and Kernel headers in Ubuntu Linux with command:

Git clone the rtl8812au GitHub repository:

Cd into the cloned directory:

Finally, install TP-Link AC600 Archer T2U Nano WiFi USB adapter in Ubuntu using command:

Unplug the TP-Link Archer T2U nano adapter and plug it again. The LED will start to blink. Verify if the driver is installed and loaded using command:

If the TP-Link AC600 WiFi USB adapter is installed, you will see the following output:

Install Kernel headers and all necessary prerequisites on your openSUSE machine:

Git clone the rtl8812au GitHub repository:

Cd into the cloned directory:

Run the following command to install TP-Link AC600 Archer T2U Nano WiFi USB adapter in openSUSE:

Remove he TP-Link Archer T2U nano adapter and plug it again. The LED will start to blink. Verify if the driver is installed and loaded using command:

If the TP-Link AC600 WiFi USB adapter is installed correctly, you will see the following output:

Connect to 5G Wireless network in Linux

Open System Settings in your Linux machine. Under WiFi section, you will see there are two WiFi adapters listed. One is built-in WiFi interface and another one is TP-Link AC600 Archer T2U nano USB WiFi adapter.

Click the TP-Link card and you will see the list of available 5G wireless connections. Choose a 5G network in the list and click Connect.

Alternatively, you can connect to 5G WiFi network from the Gnome Top bar menu as well. Open the pop out menu from the Top bar, and click «Select Network» option.

Choose the 5G wifi network in the list and click Connect.

That’s it. Start using High Speed 5G Internet connection in your laptop/desktop.

To view the list of WiFi connections from the command line, run:

Here is my Internet speed on 2.4 GHz and 5 GHz Wireless adapters.

Internet speed on 2.4 GHz (onboard WiFi):

Internet speed on 5 GHz (TP-Link AC600 Archer 2TU Nano WiFi USB adapter):

I have been using TP-Link AC600 Archer T2U Nano WiFi USB adapter in my Dell Laptop for the past few days. So far it works just fine and I don’t have any issues with it.

Uninstall driver

To remove the driver from your system, cd into the directory that contains the source code and execute the following command:

Conclusion

If you want to connect to 5G networks in your legacy Laptop or Desktop, just buy TP-Link AC600 Archer T2U Nano WiFi USB adapter or any other 5G supported WiFi adapter and enjoy High Speed Internet connectivity.

Resource:

Senthilkumar Palani (aka SK) is the Founder and Editor in chief of OSTechNix. He is a Linux/Unix enthusiast and FOSS supporter. He lives in Tamilnadu, India.

Источник

electron0zero / README.md

TP-Link AC600 Archer T2U Nano — Ubuntu 18.04 — Info and drivers

My T2U has ID 2357:011e and solution metioned in this SO Thread is for same devide ID

After this I just unplugged and plugged the device again, and it started blinking and adaptor showed up in wifi tab

Читайте также:  Как включить принтер самсунг м2020w

here is before and after speed test, before is on 2.4Ghz SSID, and after is on 5Ghz SSID link

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

/wd/adwyze[master * ] $ sudo tail -n 0 -f /var/log/syslog

/wd/adwyze[master * ] $

/wd/adwyze[pod_refactor] $ lsusb

/wd/adwyze[master * ] $

# try to see if we can detect device
# steps:
# 1. tail syslog
# 2. plugin device
# if something is showing up it means we can detect the device
[sudo] password for electron:
Oct 30 14:09:19 Inspiron-3542 kernel: [53927.531034] usb 1-1.3: new high-speed USB device number 19 using ehci-pci
Oct 30 14:09:19 Inspiron-3542 kernel: [53927.640119] usb 1-1.3: New USB device found, idVendor=2357, idProduct=011e
Oct 30 14:09:19 Inspiron-3542 kernel: [53927.640124] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 30 14:09:19 Inspiron-3542 kernel: [53927.640127] usb 1-1.3: Product: 802.11ac WLAN Adapter
Oct 30 14:09:19 Inspiron-3542 kernel: [53927.640130] usb 1-1.3: Manufacturer: Realtek
Oct 30 14:09:19 Inspiron-3542 kernel: [53927.640132] usb 1-1.3: SerialNumber: 00e04c000001
Oct 30 14:09:19 Inspiron-3542 mtp-probe: checking bus 1, device 19: » /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3 «
Oct 30 14:09:19 Inspiron-3542 mtp-probe: bus: 1, device: 19 was not an MTP device
Oct 30 14:09:19 Inspiron-3542 upowerd[1348]: unhandled action ‘ bind ‘ on /sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3
^C
# Now try to ID the USB device with lsusb, here it’s `2357:011e` on `Bus 001 Device 003`
Bus 001 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 011: ID 0cf3:0036 Atheros Communications, Inc.
Bus 001 Device 004: ID 1bcf:2b8b Sunplus Innovation Technology Inc.
Bus 001 Device 003: ID 2357:011e
Bus 001 Device 002: ID 8087:8000 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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

surajsahani commented Jun 9, 2020 •

can you post it for Ubuntu 20.04 LTS

electron0zero commented Jun 9, 2020

@surajsahani this should work for 20.04, I wrote 18.04 because that’s the version I had and tested it on

Rafeeshaik commented Jun 18, 2020

@electron0zero
I got this error on 20.04, can you please help?

Building module:
cleaning build area.
‘make’ -j16 KVER=5.4.0-37-generic KSRC=/lib/modules/5.4.0-37-generic/build. (bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not found
Error! Bad return status for module build on kernel: 5.4.0-37-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j16 KVER=5.4.0-37-generic KSRC=/lib/modules/5.4.0-37-generic/build. (bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not found
Error! Bad return status for module build on kernel: 5.4.0-37-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.
Finished running dkms install steps.

devcircus commented Jun 24, 2020

@Rafeeshaik did you find a solution for 5.4 kernel?

sunindersingh commented Jun 29, 2020 •

surajsahani commented Jun 30, 2020

@surajsahani this should work for 20.04, I wrote 18.04 because that’s the version I had and tested it on

Cool, thanks it’s working fine.

chilabot commented Aug 7, 2020

Building module:
cleaning build area.
‘make’ -j16 KVER=5.4.0-37-generic KSRC=/lib/modules/5.4.0-37-generic/build. (bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not found
Error! Bad return status for module build on kernel: 5.4.0-37-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j16 KVER=5.4.0-37-generic KSRC=/lib/modules/5.4.0-37-generic/build. (bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not found
Error! Bad return status for module build on kernel: 5.4.0-37-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.
Finished running dkms install steps.

The compilation process might be failing. Post the error logged in ‘/var/lib/dkms/rtl8812au/5.3.4/build/make.log’.

btcross26 commented Aug 31, 2020

Here is the error I get for kernel 5.4.0-26, with same bad return statuses as above:

chilabot commented Aug 31, 2020

Here is the error I get for kernel 5.4.0-26, with same bad return statuses as above:

and post the results.

btcross26 commented Aug 31, 2020 •

Here is with the above extra USER_EXTRA_CFLAGS added — same but with the incompatible types added (only bottom portion posted). About to just roll back to a previous LTS addition with 4.15 kernel if I can’t get this rocking. Thanks for the help though!

Update: It actually is identical I believe. I see the incompatible pointer types if you scroll way right though.

dashrk commented Oct 18, 2020

i am trying to install driver for t2u v3 ac600 tp-link wifi adapter in my desktop with pop- os 20.04.steps run smoothly,but last step
«sudo ./dkms-install.sh» gives error «sudo: ./dkms-install.sh command not found.»

Friends can anyone help me please.thanks.

wiztensai commented Oct 26, 2020

this is work too in ubuntu 20.10

abefroman77 commented Dec 26, 2020

i am trying to install driver for t2u v3 ac600 tp-link wifi adapter in my desktop with pop- os 20.04.steps run smoothly,but last step
«sudo ./dkms-install.sh» gives error «sudo: ./dkms-install.sh command not found.»

Friends can anyone help me please.thanks.

@dashrk I had the same problem. Got it working with the solution here.

«sudo make dkms_install»

Reboot after install is complete. Mine connected to my home router automatically on boot.

luan-nvg commented Apr 19, 2021

i am trying to install driver for t2u v3 ac600 tp-link wifi adapter in my desktop with pop- os 20.04.steps run smoothly,but last step
«sudo ./dkms-install.sh» gives error «sudo: ./dkms-install.sh command not found.»
Friends can anyone help me please.thanks.

@dashrk I had the same problem. Got it working with the solution here.

«sudo make dkms_install»

Reboot after install is complete. Mine connected to my home router automatically on boot.

no mine didn’t work

luan-nvg commented Apr 19, 2021

mine is not working on linux. only without windows .-. Ubuntu 20.04

ndaneshraj commented May 6, 2021

Thanks for the guidance. It worked like a charm for mine. I’m running a Ubuntu 16.04 LTS.

tushargoyal22 commented May 26, 2021

It was working fine from 3-4 months, today it stopped working , can someone explain and suggest the changes

tushargoyal22 commented May 30, 2021

Can you post the commands to uninstall the package , I need to install again , its not working recently

tushargoyal22 commented May 30, 2021

➜ rtl8812au-1 git:(v5.3.4) sudo ./dkms-install.sh

[sudo] password for tushar:
About to run dkms install steps.

Creating symlink /var/lib/dkms/rtl8812au/5.3.4/source ->
/usr/src/rtl8812au-5.3.4

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j8 KVER=5.8.0-53-generic KSRC=/lib/modules/5.8.0-53-generic/build. (bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not found
Error! Bad return status for module build on kernel: 5.8.0-53-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j8 KVER=5.8.0-53-generic KSRC=/lib/modules/5.8.0-53-generic/build. (bad exit status: 2)
ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not found
Error! Bad return status for module build on kernel: 5.8.0-53-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.
Finished running dkms install steps.

pathToAC commented Jun 2, 2021

Someone please write the kernel version on which its succesfully running?

KirMozor commented Jun 6, 2021

➜ Wi-Fi sudo pacman -S dkms
[sudo] пароль для kirill:
предупреждение: dkms-2.8.4-1 не устарел — переустанавливается
разрешение зависимостей.
проверка конфликтов.

Пакеты (1) dkms-2.8.4-1

Будет загружено: 0,05 MiB
Будет установлено: 0,17 MiB
Изменение размера: 0,00 MiB

:: Приступить к установке? [Y/n] y
:: Получение пакетов.
dkms-2.8.4-1-any 54,5 KiB 47,2 KiB/s 00:01 [######################] 100%
(1/1) проверка ключей [######################] 100%
(1/1) проверка целостности пакета [######################] 100%
(1/1) загрузка файлов пакетов [######################] 100%
(1/1) проверка конфликтов файлов [######################] 100%
(1/1) проверка доступного места [######################] 100%
:: Обработка изменений пакета.
(1/1) переустановка dkms [######################] 100%
:: Запуск post-transaction hooks.
(1/1) Arming ConditionNeedsUpdate.
➜ Wi-Fi git clone https://github.com/jeremyb31/rtl8812au-1.git
Клонирование в «rtl8812au-1»…
remote: Enumerating objects: 7008, done.
remote: Total 7008 (delta 0), reused 0 (delta 0), pack-reused 7008
Получение объектов: 100% (7008/7008), 32.31 МиБ | 101.00 КиБ/с, готово.
Определение изменений: 100% (4784/4784), готово.
➜ Wi-Fi cd rtl8812au-1
➜ rtl8812au-1 git:(v5.3.4) sudo ./dkms-install.sh
[sudo] пароль для kirill:
About to run dkms install steps.

Creating symlink /var/lib/dkms/rtl8812au/5.3.4/source ->
/usr/src/rtl8812au-5.3.4

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j4 KVER=5.12.9-zen1-1-zen KSRC=/lib/modules/5.12.9-zen1-1-zen/build. (bad exit status: 2)
Error! Bad return status for module build on kernel: 5.12.9-zen1-1-zen (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j4 KVER=5.12.9-zen1-1-zen KSRC=/lib/modules/5.12.9-zen1-1-zen/build. (bad exit status: 2)
Error! Bad return status for module build on kernel: 5.12.9-zen1-1-zen (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.
Finished running dkms install steps.
➜ rtl8812au-1 git:(v5.3.4) micro /var/lib/dkms/rtl8812au/5.3.4/build/make.log
➜ rtl8812au-1 git:(v5.3.4) export USER_EXTRA_CFLAGS=-Wno-error=incompatible-pointer-types
➜ rtl8812au-1 git:(v5.3.4) sudo ./dkms-install.sh
About to run dkms install steps.
Error! DKMS tree already contains: rtl8812au-5.3.4
You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel. Skipping.

Building module:
cleaning build area.
‘make’ -j4 KVER=5.12.9-zen1-1-zen KSRC=/lib/modules/5.12.9-zen1-1-zen/build. (bad exit status: 2)
Error! Bad return status for module build on kernel: 5.12.9-zen1-1-zen (x86_64)
Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping.

Источник

Поделиться с друзьями
КомпСовет
Adblock
detector