Error when install driver Archer T2UH

Hello everybody,
Today, I have some problem with Archer T2UH wireless apadapter V1, I cannot install driver. it’s show some error as:

`ake -C tools
make[1]: Entering directory ‘/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools’
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory ‘/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools’
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/Makefile
make -C /lib/modules/4.16.0-parrot16-amd64/build SUBDIRS=/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.16.0-parrot16-amd64’
CC [M] /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.o
In file included from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c:28:
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:77:0: warning: “EXT_BUILD_CHANNEL_LIST” redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */

:0:0: note: this is the location of the previous definition
In file included from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:98:0,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c:28:
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/cfg80211.h:35:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function); did you mean ‘IEEE80211_NUM_TIDS’?
struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];
^~~~~~~~~~~~~~~~~~~
IEEE80211_NUM_TIDS
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c:341:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^~~
In file included from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_os.h:44:0,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rtmp_comm.h:75,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/rt_config.h:33,
from /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c:28:
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c:450:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", FUNCTION, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt;
^~~
/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.c:450:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", FUNCTION, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^~~~~~~~
make[4]: *** [/usr/src/linux-headers-4.16.0-parrot16-common/scripts/Makefile.build:330: /root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux/…/…/os/linux/rt_profile.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.16.0-parrot16-common/Makefile:1578: module/root/Desktop/mt7610u_wifi_sta_v3002_dpo_20130916-master/os/linux] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-4.16.0-parrot16-amd64’
make: *** [Makefile:404: LINUX] Error 2
`
Please help me, thank you very much :slight_smile:

Where have you got these drivers from? and do you know what kernel versions support it?

Because the drivers off of tp-links website are only supported in between kernel version 2.6 and 3.16, whilst an up to date version of parrot is 4.16 .

I have download dirver on Tp-link website, but I don’t know where download driver for this apdapter card fit with parrot :frowning: . Please help me.
Thank you, have a nice day!

The drivers you are trying to use will not work.

Try this instead:


Here is the source:
https://github.com/ulli-kroll/mt7610u

1 Like

It’s not work, When me excute command “insmod mt7610u.ko”, my computer have been crashed :roll_eyes:

Right… That is not ideal.

Im not sure what to suggest to be honest.

There seems to be another method here: https://askubuntu.com/questions/674116/how-to-install-tp-link-t2uh-wireless-adapter-driver-ralink-mt7610u

But as i dont have one myself i cant be sure what works. Your best bet is to google what other people have done to get theirs working, or wait for somebody who knows more than me to help.

1 Like

Thank you :slight_smile:

I have solved my problem, thank you very much :slight_smile: :slight_smile:
Have a nice day!

1 Like