[ON HOLD] Can't get MT-7601 driver to work...

Message
Author
User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

[ON HOLD] Can't get MT-7601 driver to work...

#1 Post by ardvark »

Hi all...

I tried using the driver listed here with Tahr 6.x and was unable to get it to work. The driver installed correctly but none of the managers I tried was able to see my usb adapter, even after I tried using the "ifconfig wlan0 up" command. Was this the correct command? My adapter chip is as follows...

Code: Select all

Bus 001 Device 004: ID 148f:7601 Ralink Technology Corp.
Is this doable using Tahr live or do I need to do a frugal or full install? Live is the only option in this case.

Any help would be much appreciated.... :)
Last edited by ardvark on Tue 31 Mar 2015, 02:37, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

I have tested the driver with different connection managers and it worked each time. It also worked for californiac here.

Please note that the interface name is ra0, not wlan0. Other than that, I don't know what to suggest.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#3 Post by ardvark »

rcrsn51 wrote:Please note that the interface name is ra0, not wlan0.
Hi...

Thank you for your reply. :)

Right, I did remember that but "ra0" didn't show show up anywhere that I could see. Image

Regards...

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#4 Post by ardvark »

Hi all...

Does anyone else have any thoughts?

Regards...

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

RC, is it that Ardvark can't pull this off live, or does your post here suggest there's a second driver he could try?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#6 Post by tempestuous »

ardvark wrote:

Code: Select all

Bus 001 Device 004: ID 148f:7601 Ralink Technology Corp.
rcrsn51's mt7601Usta driver definitely supports that USB device ID.

ardvark, I know it seems obvious, but you're running the PAE version of Tahrpup 6.0, right? Not the non-PAE version?
You can do some troubleshooting. First check that the driver is installed, and can be seen by Puppy -

Code: Select all

modinfo mt7601Usta
This should produce some meaningful output.
Now plug in the wifi dongle, and wait a few seconds. Puppy should automatically load the mt7601Usta driver. Check with this command -

Code: Select all

lsmod
Obviously you should see "mt7601Usta" listed.
If not, try to manually load the driver with the "insmod" command, which will tell you if the driver will properly load -

Code: Select all

insmod /lib/modules/3.14.20/kernel/drivers/net/wireless/mt7601Usta.ko
Make sure you include the ".ko" at the end of the command - that's the full filename of the driver.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#7 Post by ardvark »

Hi Semme and Tempestuous...

Thank you both very much! :)

I'll see if Puppy can use this command for PAE information...

Code: Select all

cat /proc/cpuinfo

When I downloaded the .iso, I'm pretty sure I chose the PAE but I can't remember for sure...

After that, I can check on the rest later on. :)

Regards...

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#8 Post by ardvark »

Hi guys...

Ok, I think I found the problem. Puppy claims the driver .pet installs correctly, however, as it turns out, the file mt7601Usta.ko is not being copied to the directory Tempestuous mentioned. Modinfo and insmod confirm this by telling me that it couldn't find the files in question.

I was able to run the proc command mentioned in my last post and confirmed that the version is PAE, as mentioned in the "flags" section.

So either the file is being copied to the wrong location or it is not being copied at all. I tried using the "find" command in the terminal as described here but it didn't list anything. I then tried using a .pet called findwild but it couldn't find anything either, however, I may not have used it correctly, not sure.

Is there another location to look for the .ko file or perhaps I could just extract the .driver .pet for the files and put them in the appropriate locations? If needed, how would I go about extracting it?

Thanks for your help! :)

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Driver location >> /lib/modules/3.14.20/kernel/drivers/net/wireless/mt7601Usta.ko

And it's dat file >> /etc/Wireless/RT2870STA/RT2870STA.dat

http://www.datafilehost.com/d/f8ce9e17
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#10 Post by ardvark »

Hi Semme...

Thank you for the personalized driver file but I'm not entirely sure what you mean. In the file you gave me, are their multiple files in it to put in different locations?

Thanks! :)

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#11 Post by Semme »

Correct. There's the driver and it's dat file.. Both from the original pet.

This file you can extract, yes?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#12 Post by rcrsn51 »

It appears that everyone but ardvark can download and install the PET correctly.

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#13 Post by ardvark »

rcrsn51 wrote:It appears that everyone but ardvark can download and install the PET correctly.
And was that really necessary or helpful? :(

Regards...

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#14 Post by ardvark »

Semme wrote:This file you can extract, yes?
Hi...

Yes, it extracts just fine, however, I don't see a wireless folder in etc (am I supposed to create it?) and for some reason, insmod is still unable to see the .ko file I put in the directory Tempestuous mentioned. :(

Regards...

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#15 Post by Semme »

They're both directories the pet would have created or extracted to. As for insmod/modprobe.. a quick discussion.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#16 Post by tempestuous »

ardvark wrote:And was that really necessary or helpful?
It indicates that your dotpet download is faulty or corrupt.
Downloading the individual components is an overcomplicated solution - you should simply fix your original download by changing browser, or operating system.
ROX should show the filesize of the dotpet as 294K.
I believe the md5sum should be - 0769ffdb2f9b0baf62aef0b61ec335ed

User avatar
ardvark
Posts: 1448
Joined: Tue 02 Jul 2013, 03:43
Location: USA

#17 Post by ardvark »

tempestuous wrote:It indicates that your dotpet download is faulty or corrupt. Downloading the individual components is an overcomplicated solution - you should simply fix your original download by changing browser, or operating system. ROX should show the filesize of the dotpet as 294K.
I believe the md5sum should be - 0769ffdb2f9b0baf62aef0b61ec335ed
Hi Tempestuous...

That fixed the install problem, everything is in its proper location....Thank you! :)

I used Firefox on my laptop running Lubuntu 14.04 this time (to download the file.) However, insmod won't load the module. I get the following error....

Code: Select all

insmod /lib/modules/3.14.20/kernel/drivers/net/wireless/mt7601Usta.ko
insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/drivers/net/wireless/mt7601Usta.ko: Invalid parameters
root# modinfo mt7601Usta
filename:       /lib/modules/3.14.20/kernel/drivers/net/wireless/mt7601Usta.ko
version:        3.0.0.3
description:    RT2870 Wireless Lan Linux Driver
author:         Paul Lin <paul_lin@ralinktech.com>
license:        GPL
srcversion:     9D04CCEB4173E5DBEA0736D
alias:          usb:v7392p7710d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2955p1003d*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:v2A5Fp1000d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7601d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp6370d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7650d*dc*dsc*dp*ic*isc*ip*in*
depends:        
vermagic:       3.14.20 SMP mod_unload modversions 686 
parm:           mac:rt28xx: wireless mac addr (charp)
I'm not sure what parameters it's referring to. :?:

Thank you for your help! :)

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#18 Post by tempestuous »

ardvark wrote:

Code: Select all

insmod: ERROR: could not insert module /lib/modules/3.14.20/kernel/drivers/net/wireless/mt7601Usta.ko: Invalid parameters
I have compiled drivers in the past which have thrown up error messages like this, and it was a core problem with the driver code, itself, but in this case we already know of several other reports of success ...
so ...
I will hazard a guess it may be down to the difference in kernel version between Tahrpup 6.0 and Tahrpup 6.0.2. Even though both kernels are 3.14.20, there's a critical configuration difference between them.

I suspect that rcrsn51's driver was compiled against the OLD kernel,
and I suspect that ardvark is running the NEW kernel.

If I'm right, the solution is for ardvark to run the older version of Tahrpup (tahr-6.0-CE_PAE.iso)
or for rcrsn51 to recompile against the newer kernel.

If my assumptions are wrong, then my solution will obviously be incorrect.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#19 Post by rcrsn51 »

In the original thread, the driver is clearly identified as being for Tahrpup 602 PAE.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#20 Post by tempestuous »

OK.
ardvark, are you maybe running Tahrpup 6.0 ?

Post Reply