You are not logged in.

#1 2016-07-28 20:25:56

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Getting the Brostrend WNA016 mt7610u to work [SOLVED]

hello,
I have been trying to figure out how to load the drivers for this dongle. I found some packages in the AUR, but they fail for me. I also found information here, but bulding leads me to conflicts as well

http://askubuntu.com/questions/674116/h … nk-mt7610u

Does anyone have this running on their systems?

Last edited by mich04 (2016-08-04 13:59:55)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2016-07-28 20:39:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

What does "fail for me" mean? What "conflicts"? Post actual error messages: https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-08-03 02:21:58

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

I am sorry for the vague post, let me restate my what I have/need. I think I figured out my problems before were that the modules/firmware were already on my system.

I have the firmware mt7601u   and the module is loaded but when I do lsmod this is what I get

Module                  Size      Used by
mt7601u              90112     0

under ip address it only shows my other usb wireless and my ethernet. There is firmware installed on the machine here is the output of lsusb

Bus 001 Device 002: ID 0e8d:7610 MediaTek Inc.

So I can see the card and I can see the drivers/Firmware. How can I connect them together so that Arch knows to use mt7601u with the MediaTek adapter?


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#4 2016-08-03 06:49:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,655

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

The used by line of lsmod refers to other kernel modules having the module as a dependency and has no bearing on which devices are using the module. The fact that the module is loaded automatically is usually enough of an indicator that your device is detected, check your dmesg output for information on what is happening when you plug the stick in

Offline

#5 2016-08-03 13:52:24

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

I am sorry I actually had loaded the module manually trying to get things to work. I rebooted the computer and I could not see any relevant information on it. Here it is when I take it out and plug it in.

[  221.447360] usb 1-1: USB disconnect, device number 2
[  224.280029] usb 1-1: new high-speed USB device number 3 using ehci-pci

I am sorry for the false information on how the module was being loaded.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#6 2016-08-03 14:03:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,655

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

Well then have you seen e.g. https://aur.archlinux.org/packages/mt76 … -dkms-git/ ? What happens if you try to use that exactly? Which errors do you get?

Offline

#7 2016-08-03 15:53:43

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) mt7610u_sta-dkms-git-r25.5f01636-1

Total Installed Size:  8.05 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
mt7610u_sta-dkms-git: /etc/Wireless/RT2870STA/RT2870STA.dat exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-george

The error I get is a conflicting file.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#8 2016-08-03 15:59:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,655

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

pacman -Qo /etc/Wireless/RT2870STA/RT2870STA.dat

if it doesn't belong to a package, it's likely from something you tried to do yourself, outside of the package manager. Safe to remove the file in that case and retry

Offline

#9 2016-08-03 16:27:53

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

Wow ok, so when I do a search for "mt7601u" in aur only 4 things pop up which are.

1.mt7601-git
2.mt7601u-ap-dkms
3.mt7601u-dkms
4.mt7601u-firmware

All of these were giving me kind of the same error the other errors were "mt7601" was owned by both linux-firmware and mt7601u-firmware.

So here are the steps that I took to get my WNA016 WIFI Adapter USB to work after your help of course.

1. Removed conflicting file.
2. Installed package that you linked me to
3. sudo modprobe mt7601 (which than I saw the new interface ra0)
4. ip link set ra0 up
5. After that I configured it using my network manager aka systemd-network with /etc/wpa_supplicant/wpa_supplicant-ra0.conf
6. I made the file /etc/systemd/network/01-wireless-dhcp.network to automatically load the module on boot.
7. I than found that I had to reboot the computer for it to pick up an actual address. Now I am connected time to try this on my odroid unit smile

How did you find that package in Aur what search terms did you use?


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#10 2016-08-03 17:28:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,655

Re: Getting the Brostrend WNA016 mt7610u to work [SOLVED]

I searched initially for the USB ID which revealed the correct driver to be mt6710u (as opposed to m6701u,  notice the new position of the 1) and that's what I searched for in the AUR which lead to that package.

If this is solved for you, don't forget to mark the thread as [SOLVED], by editing the title of your initial post

Last edited by V1del (2016-08-03 17:29:10)

Offline

Board footer

Powered by FluxBB