Unable to install ralink technology corp. mt7601u wireless adapter ubuntu 20.04

Asked by Eleftherios Spartalis on 2021-01-03

I have install the Ubuntu 20.04 OS and for a week I try to install the driver for ralink technology corp. mt7601u wireless adapter ubuntu 20.04 without success. I tried dozens of methods but no one work. The device worked fine on Windows 10.

What can I do/

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2021-01-03
Last reply:
2021-01-09

What is the output of:

sudo lshw -C network; lsb_release -a; uname -a

Thanks

Hello and thank you for your reply:

The result is:

*-network
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eno1
       version: 04
       serial: c8:1f:66:ad:1f:c1
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=192.168.2.7 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:28 memory:f7d00000-f7d1ffff memory:f7d3d000-f7d3dfff ioport:f080(size=32)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
Linux elefspar-OptiPlex-9020-AIO 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Then the WiFi adapter isn't present. If you dual boot windows then shut windows down and cold boot into Ubuntu. Do you see the WiFi adapter now?

Ho do I shut windows down and cold boot into Ubuntu? I've tried to completely delete Windows but I guess with no success

Start -> Shutdown -> Power Off

Like you do when you are done for the day.

Then cold boot and select Ubuntu

Sorry I thought you mean to uninstall windows.

No I don't dual boot Windows.

The PC run only Ubuntu.

Does the system have a make and model?
Do you have the latest BIOS?

Do you mean this? :
  description: Computer
    width: 64 bits
    capabilities: smp vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 4GiB
     *-cpu
          product: Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          size: 1954MHz
          capacity: 3400MHz
          width: 64 bits

I don't know about the BIOS. How can I check it? The PC is all in one DELL.

I have to notice that the system find the USB adapter. When I type the lsusb command I get this:

Bus 002 Device 003: ID 1bcf:2b85 Sunplus Innovation Technology Inc.
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 003 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

What is the output of:

sudo dmidecode -t 1

Thanks

# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
 Manufacturer: Dell Inc.
 Product Name: OptiPlex 9020 AIO
 Version: 01
 Serial Number: 2G61K02
 UUID: 4c4c4544-0047-3610-8031-b2c04f4b3032
 Wake-up Type: Power Switch
 SKU Number: OptiPlex 9020 AIO
 Family: Not Specified

https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=cf8tx

There is an update with security updates too. WIll most likely help

This is CPG BIOS Executable for Windows/DOS.

How do I install it once I don't have installed Windows?
Is the installation of Windows necessary?

Daniel Letzeisen (dtl131) said : #14

The mt7601u driver is already in Ubuntu 20.04's kernel:
sudo modinfo mt7601u

The fact that yours doesn't show up in lshw leads me to believe that whatever you did to "install the driver" just made things worse.

The result of sudo modinfo mt7601u is:

filename: /lib/modules/5.4.0-58-generic/updates/dkms/mt7601u.ko
license: GPL
firmware: mt7601u.bin
srcversion: 83523D2414B87BE6873DC57
alias: usb:v7392p7710d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2A5Fp1000d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2955p1001d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2955p0001d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2717p4106d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v2001p3D04d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Dd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Cd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v148Fp7601d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13D3p3434d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v13D3p3431d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E8Dp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0E8Dp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0B05p17D3d*dc*dsc*dp*ic*isc*ip*in*
depends: mac80211,cfg80211
retpoline: Y
name: mt7601u
vermagic: 5.4.0-58-generic SMP mod_unload
sig_id: PKCS#7
signer: elefspar-OptiPlex-9020-AIO Secure Boot Module Signature key
sig_key: 2D:8C:8B:E0:E9:9A:99:C8:BE:8A:F9:DB:AF:A6:1B:22:6B:D5:C5:9F
sig_hashalgo: sha512
signature: 2F:A7:FA:A5:6B:BD:8D:7C:04:55:2F:07:D2:FE:24:C1:16:38:7A:EB:
  0A:4E:B5:4B:DD:CD:C9:18:32:88:88:5B:3D:99:D1:80:50:C5:81:6E:
  67:29:5B:76:47:22:70:63:F5:B0:DD:C5:D8:1D:07:20:C2:5D:FE:C1:
  C9:99:00:FF:01:10:EC:BF:83:87:C9:AD:2C:E5:84:F4:D0:7C:4D:8C:
  51:2F:61:94:27:96:41:43:C6:41:3E:F7:1B:99:90:09:50:84:80:4B:
  01:68:09:82:AC:EE:66:73:3E:3B:FB:E5:16:8D:60:82:80:EF:85:AC:
  B9:F5:29:24:04:69:4C:96:2A:9C:00:3E:C6:2F:6A:D8:81:A8:14:AE:
  5E:6E:3C:DA:CF:CE:92:F7:3E:81:AA:4A:CC:07:5C:E1:08:7F:7B:9D:
  88:DC:92:4E:52:78:4C:A2:B8:18:55:97:DC:A7:F9:B8:31:23:5F:A0:
  C0:AC:AD:37:49:6D:70:AD:0E:33:3B:04:E5:79:6E:82:02:39:1B:20:
  4E:38:5E:B3:30:53:75:C3:C6:27:FB:76:4D:C8:F5:D8:E5:50:42:1D:
  08:5D:E6:1C:81:52:3F:F5:EB:96:9C:9F:09:5A:22:1C:39:70:08:DF:
  24:E0:64:4E:89:7B:7F:B6:E4:93:32:9C:9F:2E:B4:77

Daniel Letzeisen (dtl131) said : #16

^Okay, but that does not tell us what you did to "install the driver".

Let's try:
sudo modprobe -v mt7601
dmesg | grep mt7601

I get this:
sudo modprobe -v mt7601
[sudo] password for elefspar:
modprobe: FATAL: Module mt7601 not found in directory /lib/modules/5.4.0-59-generic

I didn't do anything with the driver. Perhaps I caused problem in the installation of Ubuntu. I think I did something wrong during partition. The device was functional on Windows before.

Daniel Letzeisen (dtl131) said : #18

My mistake. It should have been:
sudo modprobe -v mt7601u

and then look at dmesg:
dmesg | grep mt7601

I don't see how partitioning would affect only the wireless driver..

The result of dmseg | grep mt7601 is (in loop):

[10443.017963] mt7601u 3-2:1.0: ASIC revision: 76010001 MAC revision: 76010500
[10443.018593] mt7601u 3-2:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[10443.430039] mt7601u 3-2:1.0: EEPROM ver:0c fae:00
[10443.898728] mt7601u 3-2:1.0: Warning: mt7601u_mcu_wait_resp retrying
[10444.218746] mt7601u 3-2:1.0: Warning: mt7601u_mcu_wait_resp retrying
[10444.538716] mt7601u 3-2:1.0: Warning: mt7601u_mcu_wait_resp retrying
[10444.858736] mt7601u 3-2:1.0: Warning: mt7601u_mcu_wait_resp retrying
[10445.178704] mt7601u 3-2:1.0: Warning: mt7601u_mcu_wait_resp retrying
[10445.178709] mt7601u 3-2:1.0: Error: mt7601u_mcu_wait_resp timed out
[10448.394653] mt7601u 3-2:1.0: Vendor request req:07 off:0080 failed:-110
[10451.594604] mt7601u 3-2:1.0: Vendor request req:02 off:0080 failed:-110
[10454.794554] mt7601u 3-2:1.0: Vendor request req:02 off:0080 failed:-110
[10454.794621] mt7601u: probe of 3-2:1.0 failed with error -110
[10455.629436] mt7601u 3-2:1.0: ASIC revision: 76010001 MAC revision: 76010500
[10455.629996] mt7601u 3-2:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____

Daniel Letzeisen (dtl131) said : #20

Error: mt7601u_mcu_wait_resp timed out
Unfortunately, there does not seem to be an easy solution to ^this. You can read about it here and if you're willing to try building your own kernel module, maybe you can solve it:
https://github.com/kuba-moo/mt7601u/issues/64

Jeremy (wa113y3s) said : #21

See https://askubuntu.com/a/1240731/300665

sudo apt install git dkms
git clone https://github.com/jeremyb31/mt7601u-5.4.git
sudo dkms add ./mt7601u-5.4
sudo dkms install mt7601u/1.0

Secure Boot must be disabled, reboot

Can you help with this problem?

Provide an answer of your own, or ask Eleftherios Spartalis for more information if necessary.

To post a message you must log in.