Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Archer T4U Driver install

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
tjd
Posts: 6
Joined: 2018-05-31 17:34

Archer T4U Driver install

#1 Post by tjd »

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.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Archer T4U Driver install

#2 Post by Wheelerof4te »

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.


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

Re: Archer T4U Driver install

#4 Post by tjd »

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

#5 Post by tjd »

But just to be sure - a quick search for 'Archer T4U wifi adapter' turned up nothing.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Archer T4U Driver install

#6 Post by Wheelerof4te »

http://forums.debian.net/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.

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

Re: Archer T4U Driver install

#7 Post by tjd »

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.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Archer T4U Driver install

#8 Post by sunrat »

"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!

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Archer T4U Driver install

#9 Post by Dai_trying »

Also you are most likely using Wheezy which should be mentioned.

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

Re: Archer T4U Driver install

#10 Post by tjd »

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$

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Archer T4U Driver install

#11 Post by stevepusser »

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.
MX Linux packager and developer

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

Re: Archer T4U Driver install

#12 Post by tjd »

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.

???

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: Archer T4U Driver install

#13 Post by sunrat »

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!

Post Reply