Driver for ASUS USB AC51 Dongle

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kobbikobb

Driver for ASUS USB AC51 Dongle

Post by kobbikobb »

Hey there. New to Linux, Only used it for a few months...
I have Linux Mint 18.2 Sonya installed.
I just bought a new USB dongle from ASUS.
Dual-Band Wireless-AC600 Wi-Fi adapter.
https://www.asus.com/Networking/USBAC51/

I tried just plugging it in, in hope of it working out of the box, it did not. I have also tried the driver manager but nothing shows up.

I have searched the web on forums and tried various things but nothing seems to work. Maybe I don't know what I should be searching for or I am missing some details of Linux.

With the dongle CD came a installation guide which was not helpful at all.
MT7610U Linux Driver quick start
1. It uses yum which is some kind of installer I do not think you would use on Linux Mint.
2. Installs kernel source code which I don't understand why.
3. Tells you to modify a Makefile without details instructions so I don't have a clue on how to change it.
4. If I try to make the driver without modifying the makefile I get an exception I don't understand and cannot find solution on google.

error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
intf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, _

My computer seems to find my ethernet controller and my dongle.

inxi -Nx
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
Card-2: ASUSTek AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610/Ralink RT2870]
usb-ID: 003-002

Can someone give me any tips on how to move forward with this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
fabien85
Level 7
Level 7
Posts: 1877
Joined: Tue Mar 11, 2014 4:30 pm

Re: Driver for ASUS USB AC51 Dongle

Post by fabien85 »

For these wifi dongles, drivers provided by manufacturers are usually out of date.
A solution seems to be provided here : https://askubuntu.com/questions/924840/ ... ink-rt2870
I havent tried (I dont have this hardware) but this should come to:

Code: Select all

apt install git build-essential checkinstall
cd /some/directory/where/to/keep/the/driver
git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
cd mt7610u_wifi_sta_v3002_dpo_20130916
make
sudo checkinstall
(that's basically the steps I followed for another wifi dongle with another driver, and it worked like a charm)
At the last step, you will be asked to provide a text description of the program. After install, you will see the program in the software manager (with the description you entered), and you will be able to uninstall it from there if needs be.

If you get an answer by JeremyB, follow his instructions rather than mine, he is much more knowledgeable on these issues.
itsme4401

Re: Driver for ASUS USB AC51 Dongle

Post by itsme4401 »

I signed up for notification on this thread. I bought an TP-link Archer T2U (same chipset) a few months ago and did not manage to get it working whichever advise I googled and followed. (and believe me, on this dongle you get a lot of non-working answers in google) For short: I gave up. (LinuxMint 17.3 + MATE-DE + Sony VAIO laptop))
kobbikobb

Re: Driver for ASUS USB AC51 Dongle

Post by kobbikobb »

Thank you
fabien85
however this did not work.
When I try to make it results in a error.
Maybe me kernel is ahead of the script.

In file included from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:98:0,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];
^
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/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 /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
from /home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/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_
^
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/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_
^
make[2]: *** [/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o] Error 1
make[1]: *** [_module_/home/jakob/drivers/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Error 2
make: *** [LINUX] Error 2
JeremyB
Level 21
Level 21
Posts: 13876
Joined: Fri Feb 21, 2014 8:17 am

Re: Driver for ASUS USB AC51 Dongle

Post by JeremyB »

I would try the source from https://github.com/chenhaiq/mt7610u_wif ... o_20130916
If it doesn't work, find something else as chili555- (google it) has given up on the mt7610u with newer kernels
kobbikobb

Re: Driver for ASUS USB AC51 Dongle

Post by kobbikobb »

Think you Jeremy.

I tried your link, it did compile and install but my wifi still did not work, reboot...
I only see Wired networks...

I also tried chili555

Code: Select all

sudo apt-get install git
git clone https://github.com/art567/mt7601usta.git
cd mt7601/src
make
sudo make install
sudo mkdir -p /etc/Wireless/RT2870STA/
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
sudo modprobe mt7601Usta
That also compiled and installed but did not work.

Code: Select all

lsmod | grep mt7
mt7601Usta            602112  0
Would I be in a better position with another Distro?
Could I try something else or buy some other dongle?
Locked

Return to “Hardware Support”