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

#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

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

#36 Post by rcrsn51 »

wimpy wrote:The next time I won't be using change_kernels.
Why? LxPup has other ways of selecting a file.

When you try to drag-and-drop in LxPup, change_kernels just aborts and throws an error message in the terminal window.

That's something that 01micko and peebee might want to address.

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

#37 Post by wimpy »

peebee PM'd me the 4.12 files. I put them in and rebooted. I ran Dougal's wizard and loaded up the mt7601u. It loaded successfully but it still coudn't find the the wlan0 interface. I'm at a loss of what to do next.
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

#38 Post by rcrsn51 »

All I can do is reiterate my original test report.

1. I switched to the huge xenial kernel (using the correct procedure).
2. I rebooted.
3. I plugged in the adapter.
4. I ran the standard command line checks: uname -r, modinfo mt7601u, lsmod, iwconfig.
5. I ran PeasyWiFi.
I ran Dougal's wizard and loaded up the mt7601u. It loaded successfully but it still coudn't find the the wlan0 interface.
You insist on using Dougal, which keeps giving you misleading information.

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

#39 Post by wimpy »

I did the same. My iwconfig says there is no wireless connection and Peasywifi confirms this. The mt7601u for an earlier kernel provided above works OK in that flaky LxPupXenial16.08. On this installation, Dougal loads the mt7601u, but then can't find the wlan0 interface. I thought the mt7601u in this k4.12 would load automatically when it detected the USB device and would find the wlan0 interface. Seems not. Should I upload peebee's 4.12 files or wait for him to do it.
LxXenial16.08, LxPupSc17.07.01,Lucid 5.2.8 and others - all frugal

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#40 Post by peebee »

wimpy wrote:On this installation, Dougal loads the mt7601u, but then can't find the wlan0 interface.
The mt7601u firmware must be available. My kernels do not include firmware - instead there is a separate fdrv in the iso which includes the mt7601 firmware.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

Post Reply