Archer T4U Driver install

New to Debian (Or Linux in general)? Ask your questions here!

Archer T4U Driver install

Postby tjd » 2018-05-31 17:51

Hi -quick bit of background - Im running Linux CNC on a Dell Optiplex 960
To get some additional connectivity I'm trying to install the driver for the TP-Link AC1300 Archer T4U wifi adapter.

I've followed some online instructions but had no luck.

I'm looking for an idiots guide here so, just so you can tell how un-up to speed I am: I've downloaded the latest driver from TP-Link, I've had a bit of experience with apt-get install. I tried to follow this tutorial https://askubuntu.com/questions/802205/ ... t4u-driver
and got nothing but error messages - see attachment.

I read on another tutorial/forum that I needed to be using module-assistant, I had a go at that but had even less of a clue as to what I was doing, needless to say that didn't work either.

All help gratefully received, many thanks in advance...
TJD.
tjd
 
Posts: 6
Joined: 2018-05-31 17:34

Re: Archer T4U Driver install

Postby Wheelerof4te » 2018-05-31 17:56

Ubuntu forums are thataway -->click
EDIT: Got confused by the ask.ubuntu post, though that was OP. TIL there is a distro called LinuxCNC. Go figure.
Last edited by Wheelerof4te on 2018-05-31 18:06, edited 1 time in total.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Archer T4U Driver install

Postby arochester » 2018-05-31 18:00

LinuxCNC Forum >>> https://forum.linuxcnc.org/
arochester
 
Posts: 1311
Joined: 2010-12-07 19:55

Re: Archer T4U Driver install

Postby tjd » 2018-05-31 18:17

LinuxCNC forum is for installation of milling/turning machines with LinuxCNC OS - I'm currently working my way through all that with my college project (Converting HURCO KMS CNC to LinuxCNC). So far there hasn't been any mention of installing wifi adapters. If someone has a link to such a page, rather than a link to the whole LinuxCNC forum that would be great.
tjd
 
Posts: 6
Joined: 2018-05-31 17:34

Re: Archer T4U Driver install

Postby tjd » 2018-05-31 18:21

But just to be sure - a quick search for 'Archer T4U wifi adapter' turned up nothing.
tjd
 
Posts: 6
Joined: 2018-05-31 17:34

Re: Archer T4U Driver install

Postby Wheelerof4te » 2018-05-31 18:24

viewtopic.php?f=30&t=10653

This is Debian User Forum, the place for users of Debian OS. You are asking in the wrong place.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Archer T4U Driver install

Postby tjd » 2018-05-31 18:30

My apologies, I'm somewhat confused here - my distro says debian on the front - I'm not running ubuntu and the linuxcnc forum doesn't have anything on this topic. Can I respectfully ask where I can get the necessary help to install the Archer T4U Drivers.
tjd
 
Posts: 6
Joined: 2018-05-31 17:34

Re: Archer T4U Driver install

Postby sunrat » 2018-05-31 18:37

"no luck" and "didn't work" tells us nothing that can help. Tell us exactly what driver you downloaded, what commands you ran, and what errors were shown.
Also look at lsusb and post the exact ID number of your device.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2426
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Archer T4U Driver install

Postby Dai_trying » 2018-05-31 18:42

Also you are most likely using Wheezy which should be mentioned.
Dai_trying
 
Posts: 531
Joined: 2016-01-07 12:25

Re: Archer T4U Driver install

Postby tjd » 2018-05-31 18:52

Thought I'd sent most of that in the first post - sorry, i realise now it won't attach odt files.
And yes, this is Wheezy.

mechworkshop@oncologycnc:~$ lsusb
Bus 002 Device 002: ID 248a:00da
Bus 005 Device 002: ID 0644:0000 TEAC Corp. Floppy
Bus 008 Device 003: ID 2357:010d
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
mechworkshop@oncologycnc:~$

mechworkshop@oncologycnc:~$ cd Desktop
mechworkshop@oncologycnc:~/Desktop$ ls
axis.desktop Oncology_CNC.desktop rtl8812AU_8821AU_linux-master
Oncology_CNC qalculate-gtk.desktop rtl8812AU_8821AU_linux-master.zip
mechworkshop@oncologycnc:~/Desktop$ cd rtl8812AU_8821AU_linux-master
mechworkshop@oncologycnc:~/Desktop/rtl8812AU_8821AU_linux-master$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.4-9-rtai-686-pae/build M=/home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master modules
make[1]: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
CC [M] /home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master/os_dep/linux/usb_intf.o
/home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master/os_dep/linux/usb_intf.c: In function ‘autoresume_enter’:
/home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master/os_dep/linux/usb_intf.c:1208:24: error: unused variable ‘pmlmeinfo’ [-Werror=unused-variable]
/home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master/os_dep/linux/usb_intf.c:1206:24: error: unused variable ‘psecuritypriv’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
make[4]: *** [/home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master/os_dep/linux/usb_intf.o] Error 1
make[3]: *** [_module_/home/mechworkshop/Desktop/rtl8812AU_8821AU_linux-master] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
make: *** [modules] Error 2
mechworkshop@oncologycnc:~/Desktop/rtl8812AU_8821AU_linux-master$
tjd
 
Posts: 6
Joined: 2018-05-31 17:34

Re: Archer T4U Driver install

Postby stevepusser » 2018-05-31 20:36

If it's this thing: https://wikidevi.com/wiki/TP-LINK_Archer_T4U_v2

There are some links to patched versions of the driver that may fix the build errors you're getting---over on the right of the page.

I think you have done everything correctly up to this point; you just need a version that will build with your kernel.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.1.0, wine-staging 3.16, qBittorrent 4.1.3, Linux kernel 4.18.8, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9901
Joined: 2009-10-06 05:53

Re: Archer T4U Driver install

Postby tjd » 2018-05-31 21:31

Thanks for the link.

I tried a couple of the other links on the right and downloaded some different drivers but still no success (8188 & 8192eu). Followed the same procedure as previously. At least got them to make & install without errors but can't see any difference on the device or any new settings available in the network connections control panel.

???
tjd
 
Posts: 6
Joined: 2018-05-31 17:34

Re: Archer T4U Driver install

Postby sunrat » 2018-06-01 01:30

Your best bet in cases like this is to search for the device ID.
Device ID = 2357:010d
Kernel = 3.4-9-rtai-686-pae
Driver required = rtl8812au

Search - https://www.startpage.com/do/search?q=2357%3A010d

There is a post on StackExchange that may be helpful - https://unix.stackexchange.com/question ... on-mint-17
But I didn't see mention anywhere of success building on such an ancient kernel.

PS: it won't help to randomly install drivers hoping they work. This requires careful investigation and exact execution of the correct steps. Otherwise it's like throwing rocks in the sea hoping to catch a fish.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2426
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable