Archer T4U and Kali Linux

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12

Archer T4U and Kali Linux

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Archer T4U and Kali Linux
Archer T4U and Kali Linux
2018-11-02 03:57:10
Model : T4U

Hardware Version :

Firmware Version :

ISP :

Hello community,
I am asking for help! Can someone fix my problem, when I connect my adapter (Archer 4TU) to my PC, it shows up, that its connected, but when I run Kali Linux and write here command "ifconfig" it doesnt show me wlan0 or any other thing that I have connected an adapter to my PC. I also have some printscreens. Please help me fix this problem.
Thank you very much!
File:
support.jpgDownload
Support1.jpgDownload
  0      
  0      
#1
Options
20 Reply
Re:Archer T4U and Kali Linux
2018-12-16 14:55:35 - last edited 2018-12-17 06:58:27

The HW Version i can't see. In your screenshots.  But ist ok,  have a look at the backside on your usb stick.  After the serial Number.

 

For HW Version V1 + V2     chipset rlt8812au

================================================

Kali:

apt update

apt install realtek-rtl88xxau-dkms

 

Ubuntu:

apt update

apt install rtl8812au-dkms

 

 

For HW Version V3     chipset rlt8812bu

================================================

 

If you have HW V3  you need myone:

  

https://linuxwiki.de/LinuxWireless#Tp-Link_AC1300_Archer_T4U_V3

 

Linux Bug - to long Interfaces Names  (check with : ip add )

==================================================

And a other Problem i have, in Debian Ubuntu or Fedora etc..

https://linuxwiki.de/LinuxWireless#USB_WLAN_Sticks_funktionieren_nicht_mehr_in_Linux_12.2F2018

 

(Kali allready manage this Bug right now, just work)

 

 

you can install also all,   the  realtek-rtl88xxau-dkms  and myone, then you have all rtl-versions inside, and they don't hurde each other in the system.

 

 

And sorry, i don't found a better place to keep myone, i modify myone from .git   ,  take old stuff out of Makefile, fix some bug, that dkms compile from 4.8 up to 4.19 , so is a little bit better then the .git one.  Also a bc in the Makefile, oh my godness. I remove that!

  2  
  2  
#2
Options
Re:Re:Archer T4U and Kali Linux
2019-09-08 12:01:06 - last edited 2019-09-08 12:10:11

I use in Debian Buster and T4U V3,

 

 

For all Linux is the best, update the system first. Then reboot, the new kernel get activ.

 

So the install script, find the correct linux-headers to the running kernel.

 

For Debian:

 

apt update

apt dist-upgrade

reboot

 

 

 

 

Then the Driver ./install.sh

or read the Readme.ma

 

cue

  1  
  1  
#3
Options
Re:Re:Re:Archer T4U and Kali Linux
2019-09-09 00:43:02

Debian Buster Gnome-Terminal    

 

      command:  su  don't get    /sbin path

 

So i must put some sudo in the install script.

 

 

 

Also some info do  Upgrade the System, befor starting the installation, into the install Script.

 

 

You found the new Driver here:

 

https://linuxwiki.de/LinuxWireless#Tp-Link_AC1300_Archer_T4U_V3

 

cue

  0  
  0  
#4
Options
Re:Archer T4U and Kali Linux
2019-09-09 22:21:59

I make a new Version, i smash the old one.

 

 

 

The new one, should work from Kernel 4.7 up to 5.2

 

 

You can found both version on ....

 

 

 

https://linuxwiki.de/LinuxWireless#Tp-Link_AC1300_Archer_T4U_V3

 

 

  0  
  0  
#5
Options
Re:Archer T4U and Kali Linux
2020-04-24 19:02:36 - last edited 2020-04-24 19:07:18

@Teodor Teddy  can you help me too?

I really tried to find drivers for this device 2357:012d(tp link archer 1300 T3U)on kali linux,I searched a lot and nothing.

Somehow it works with some drivers on ubuntu but on kali linux not

Plz ,if you can help me

https://www.tp-link.com/ro/home-networking/adapter/archer-t3u/

PS no acces to ethernet from kali linux.

  0  
  0  
#6
Options
Re:Archer T4U and Kali Linux
2020-04-25 16:42:27 - last edited 2020-04-25 19:43:32

@iNikjee 

 

I look in the usb_intf.c  ,  and your device product ID  is there allready,  so this driver i make  shout work for you

 

 

 {USB_DEVICE(0x2357, 0x012d), .driver_info = RTL8822B}, /* Archer USB T3U */

 

 

 

Go to the weppage https://linuxwiki.de/LinuxWireless#Tp-Link_AC1300_Archer_T4U_V3    and choose the newer Version link.

 

 

Download and extract,  and follow the README.ma   (the readme is small )

 

First Update the System, like in Generally Section explained.    ( And make after Update a Reboot to Activate new Kernel !!!  )

 

For Kali you can follow the Debian Instructions.....(maybee the sudo befor)

 

Remark:  for the Installation, you need a Internet by Network Cable ,  wired cable network, because i have to install some compiling stuff packages....  (the install.sh script make automatilly., so for installation is a cable requierd.)  !!!!!!

 

Good luck

 

PS:  Kali is more Debian, but debian make some changes to sudo and su,   the path envoirement is not good now.  Maybee use sudo like in ubuntu instructions...

If you have the path envoirement Problem,  you can check,   make a su login to root in a terminal,  trie  to start  update-grub  , if it found, you don't have path envoirement Problem in Kali.  I don't now all.  If you can not start update-grub,  you better use  sudo befor the commands...

 

 

My tipp:

 

su - root  (in a terminal, you get normal envoirement of path, update-grub command is found now, su "space" - "space" root)

 

or mainpulate to have it forever:

 

https://linuxwiki.de/Debian/Buster#Permanent_fix_PATH__.26.26_why_it.27s_a_bug      (so you need only su in future)   (you need a reboot, or logout/login to the graphical system)

 

 

My tipp2:

I think, i have checked the install script with the envoirement Problem, in all system i got.  Just start the install like in the readme,  if you fall in failure,  you need the other tipps.

 

Importend - you need a wired Connection to Internet. Because i have to download some compiling normal stuff packages to your system.  Then only i can build the driver.  So enjoy,  i am little bit tired now.  cue....

  0  
  0  
#7
Options
Re:Archer T4U and Kali Linux
2020-04-25 20:51:50

@Teodor Teddy Ok I try this night ty

  0  
  0  
#8
Options
Re:Archer T4U and Kali Linux
2020-04-28 02:46:50 - last edited 2020-04-28 18:31:05

@aokneufi so I tried and succesfully installed but it doesn t work..It should have a green led on if it

Edit:one more thing,first photo is after the first instalation to be sure it is installed.And it is (I used su and readme instructions)

If you need more informations plz.

Wlan0 is my ethernet card.

  0  
  0  
#10
Options
New Version for 5.5 Kernel
2020-04-28 13:05:58 - last edited 2020-04-28 17:01:15

Yes, it not compile correct.

 

First use the old  sudo ./install.sh  and delete the old driver from your system.  Reboot the PC.  Then take the new one.

 

(Enter,  then d for delete "on the second screen you find d")

 

 

NEW:

====

Here i make a bugfix for the make command.

 

Same install proced   (as every year..)

 

 

https://www.file-upload.net/download-14034844/rtl88x2bu-1-1.tar.gz.html

 

Please let me know it works.....

 

 

A big tipp:

=============

On a laptop you can not poweroff the internal wlan, because also the external usb-wlan will stop.  So you have to make a  new default route for your usb-wlan stick. Look this link, how to change the metric stuff.  (if you not change, you will have the old speed, you need this changes for laptop)

 

https://linuxwiki.de/LinuxWireless#Laptop_intern_Wlan.2C_den_USB_WLAN_Stick_bevorzugen

 

(So if you not use the usb-wlan-stick, the normal intern wlan work for you normal,  if you plug the usb-wlan-stick, your new wlan will be the default route, for new speed automaticly)

 

So this change, is like this, i only modify the internal to higher metric (normal 600, new 602), and then to less priority (priority high number ist less priority), so this work can be done without the usb-wlan-stick. And ip r show you new metric, after the two step.

 

Alternatifly:

Or you can delete the Connetion Information on wlan0, this is forever, not automaticly. 

 

 

 

More i can not eplain here, this is only for the driver.  Ask otherwise some other forum.  thx 

  0  
  0  
#11
Options
New Version for 5.5 Kernel
2020-04-28 17:04:35

@aokneufi It works :)

Just one question,I followed your "op tipp" and 1 question:

I have to change the priority every time I connect to a new wifi or smtg?

  0  
  0  
#13
Options