How to Install the mt7601u USB WiFi Driver

Message
Author
User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#16 Post by wimpy »

lsmod showed nothing at all. I thought the slacko pet you posted was a 64bit version. Does it matter? If the kernel change command has left a faulty OS I would be better off ditching it and starting again.
If your slacko pet works, I would not need to change kernels.
According to Dougal's wizard the module should be loaded automatically. However, modprobe seems to be all at sea. I would like to keep this installation while installing another, following your steps, but I've found that impossible with my limited knowledge.- so deleting it and starting again would seem to be my only option.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

mostly_lurking
Posts: 328
Joined: Wed 25 Jun 2014, 20:31

#17 Post by mostly_lurking »

wimpy wrote:I thought the slacko pet you posted was a 64bit version.
The "mt7601u_huge_slacko_PAE-k4.1.11.pet" from the first post is 32bit, the one from the second post, "mt7601u_slacko64_630-k4.1.11.pet", is 64bit. Make sure you downloaded the correct one.

You can check this by right-clicking the driver file and looking at the "Properties" dialog, or by using the "file" command:

Code: Select all

# file mt7601u.ko
mt7601u.ko: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#18 Post by Flash »

I think any kernel with PAE in its name has to be 32-bit. PAE allows 32-bit kernels to use more than 4 GB of RAM.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#19 Post by wimpy »

Thank you both mostly_lurking and Flash. I wasn't looking at the correct post nor thinking clearly. That simplifies my next move.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

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

#20 Post by rcrsn51 »

The second group of PETs was started in May 2016 and is now largely irrelevant since newer kernels have arrived.

I have removed it to avoid confusion.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#21 Post by wimpy »

I deleted that installation and started again. Without changing the kernels I ran the 4.1.11 slacko pet supplied above, and rebooted. I plugged in the adapter and nothing happened.iwconfig said there was no wireless connection. I ran the Dougal wizard but that didn't work. Modprobe said that it could not find mt7601u while looking in a completely different folder. In fact, the pet had put mt7601u.ko in the /lib/modules/4.1.11/extrafolder.
At this point I'm getting out of my depth. It's a shame because this distro is perhaps the best I've come across so far. Thanks once again for your help.
Last edited by wimpy on Sat 08 Jul 2017, 16:15, edited 1 time in total.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#22 Post by Flash »

Are you sure that adapter is any good? Has it ever worked?

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

#23 Post by rcrsn51 »

wimpy wrote:Without changing the kernels....
32bit - use with a kernel change
What Puppy are you running?

If you installed a driver PET designed specifically for k4.1.11, then you MUST be using a Puppy with that kernel.

If you are still running your LxPup, then you must do a kernel change to k4.1.11, just like you did before with the xenial kernel.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#24 Post by wimpy »

@FlashI It's working fine in Lubuntu16.08, Windows XP and the LxPupXenial16.08pae (when that distro deigns to boot). I would really like to put the mt7601u.ko where Dougal's Wizard will pick it up.I wonder if there is a configuration file whcih sets the areas where modprobe searches.
@rcrsn51 I used the iso that you used which I assumed was a 4.1.11 kernel and would match the pet you supplied. I'd previously deleted that change kernel installation completely. There's a command which tells you what kernel you're on but I'm going to have to look that up.
Last edited by wimpy on Sat 08 Jul 2017, 16:30, edited 1 time in total.

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

#25 Post by rcrsn51 »

I used the iso that you used
Please be specific.

The whole point of this exercise was to keep using LxPup but do a kernel-switch back to k4.1.11.

Have you talked to peebee about potential problems with kernel-changing in LxPup?

This adapter works in other Linuxes because they have the mt7601u driver built-in. Your version of LxPup does NOT.

Your solution is to switch kernels to one that has it, or has the driver available as a separate PET, like k4.1.11.

Or get a newer version of LxPup whose kernel already contains the driver. Talk to peebee.
I would really like to put the mt7601u.ko where Dougal's Wizard will pick it up.
That's not how it works, despite what Dougal may lead you to believe. If the kernel contains the correct matching driver, it will automatically be loaded when you plug in the adapter.

------------------------
Last edited by rcrsn51 on Sat 08 Jul 2017, 16:42, edited 2 times in total.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#26 Post by wimpy »

1. LxPupSc-17.01.1R.iso.
2. I thought that the point of the previous exercise was to change kernels to a 4.9.x where the adapter driver was included and it ought to work OOTB.
3. I haven't spoken to peebee - mainly because I had killed that installation. I was thinking of doing a kernel change, as you did, but since the previous kernel change had not been too successful, I hoped to get a wireless connection without the kernel change.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

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

#27 Post by rcrsn51 »

wimpy wrote: I thought that the point of the previous exercise was to change kernels to a 4.9.x where the adapter driver was included and it ought to work OOTB.
It was, but that kernel-change operation failed. That' s why you need peebee's input.

You then asked me for a k4.1.11 driver PET, which I supplied. But that ONLY makes sense if your Puppy has the matching k4.1.11 kernel. For your LxPupSc-17.01, that means a kernel-change to k4.1.11.

Messing around with Dougal won't change that. Period.
Last edited by rcrsn51 on Sat 08 Jul 2017, 16:52, edited 1 time in total.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#28 Post by wimpy »

I did a uname -r on the LxPupSc-17.01.1R.iso installation and it says that the kernel is a 4.9.x. So it should work without a kernel change. and should not need any pet - that 4.1.11 pet was an error and I removed it. iwconfig still says that there is no wireless connection
Last edited by wimpy on Sat 08 Jul 2017, 17:00, edited 1 time in total.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

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

#29 Post by rcrsn51 »

Then you need to talk to peebee.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#30 Post by wimpy »

Will do.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

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

#31 Post by rcrsn51 »

wimpy wrote:I did a uname -r on the LxPupSc-17.01.1R.iso installation and it says that the kernel is a 4.9.x. So it should work without a kernel change. and should not need any pet - that 4.1.11 pet was an error and I removed it. iwconfig still says that there is no wireless connection
I just checked a pristine install of LxPupSc-17.01.1R. It has k4.9.0 and does NOT contain the mt7601u driver. It ABSOLUTELY requires a kernel change.

Or a newer version of LxPupSc whose kernel has the driver built-in.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#32 Post by wimpy »

Thank you. That's what I found. I've PMed peebee, so I'm hoping he'll come up with something
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#33 Post by wimpy »

Peebee has replied very kindly to my problem. He will be producing 4.12 kernel files ie vmlinuz and zdrv (which will contain the mt7601u driver).
I guess you don't really need the change_kernels command. You can just copy over the existing vmlinuz and zdrv, when you extract the 2 files from the iso.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

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

#34 Post by rcrsn51 »

Just out of curiosity: when you ran the change-kernels tool, did you try to drag-and-drop the two files into their input boxes?

That doesn't work in LxPup.

User avatar
wimpy
Posts: 406
Joined: Wed 22 Aug 2012, 10:30
Location: Essex, UK

#35 Post by wimpy »

Yes! I did do that. The next time I won't be using change_kernels.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

Post Reply