kuba-moo / mt7601u

Linux mac80211-based driver for Mediatek MT7601U USB bgn WiFi dongle
284 stars 111 forks source link

Error while install mt7601u driver #61

Closed hpmuthu closed 7 years ago

hpmuthu commented 7 years ago

$ make && sudo make install && depmod make -C /lib/modules/uname -r/build M=$PWD make[1]: Entering directory '/usr/src/linux-headers-4.7.0-040700rc3-generic' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory '/usr/src/linux-headers-4.7.0-040700rc3-generic' make -C /lib/modules/uname -r/build M=$PWD modules_install make[1]: Entering directory '/usr/src/linux-headers-4.7.0-040700rc3-generic' INSTALL /home/vittal/mt7601u/mt7601u.ko At main.c:158:

My Ralink wifi adapter is still not working after installing above comment.

kuba-moo commented 7 years ago

It looks like you have a signed kernel but lack tools to sign the modules. Perhaps openssl package missing?

Please note, however, that the driver should already be included in Linux 4.7 and if it doesn't work then quite likely it's a different chip, not mt7601u. Could you post output of lsusb?

hpmuthu commented 7 years ago

lsusb returns

Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp.

I removed kernel 4.7. I am using Ubuntu 16.04. Kernel version is 4.4. I installed kuba-moo/mt7601u driver, still my wifi adapter is not working.

kuba-moo commented 7 years ago

Could you post the output of dmesg -c after you plug in the card? Perhaps you don't have the firmware file?

hpmuthu commented 7 years ago

I wifi adapter working in Ubuntu 16.04 live cd without installing any drivers. But in my pc(Ubuntu 16.04) wifi adapter is not working.
dmesg.txt

kuba-moo commented 7 years ago

You seem to have the vendor driver installed (mt7601 without the 'u'), please remove it.

hpmuthu commented 7 years ago

Hi I reinstalled Ubuntu 16.04. Now wifi adapter is working.

kuba-moo commented 7 years ago

Good to hear that. As I said in previous message you had the broken vendor driver installed and it took priority over mt7601u. I thought a bit about how to explain to you finding and removing the vendor driver, but it was hard without knowing how it got there in the first place. I'm glad it's working after reinstallation! 👍