Page 2 of 3

Posted: Sat 08 Jul 2017, 15:46
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.

Posted: Sat 08 Jul 2017, 15:53
by Flash
Are you sure that adapter is any good? Has it ever worked?

Posted: Sat 08 Jul 2017, 16:17
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.

Posted: Sat 08 Jul 2017, 16:21
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.

Posted: Sat 08 Jul 2017, 16:29
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.

------------------------

Posted: Sat 08 Jul 2017, 16:40
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.

Posted: Sat 08 Jul 2017, 16:47
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.

Posted: Sat 08 Jul 2017, 16:51
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

Posted: Sat 08 Jul 2017, 16:53
by rcrsn51
Then you need to talk to peebee.

Posted: Sat 08 Jul 2017, 17:03
by wimpy
Will do.

Posted: Sat 08 Jul 2017, 17:19
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.

Posted: Sat 08 Jul 2017, 19:19
by wimpy
Thank you. That's what I found. I've PMed peebee, so I'm hoping he'll come up with something

Posted: Sun 09 Jul 2017, 10:18
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.

Posted: Sun 09 Jul 2017, 10:48
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.

Posted: Sun 09 Jul 2017, 10:57
by wimpy
Yes! I did do that. The next time I won't be using change_kernels.

Posted: Sun 09 Jul 2017, 11:36
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.

Posted: Sun 09 Jul 2017, 12:22
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.

Posted: Sun 09 Jul 2017, 12:36
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.

Posted: Sun 09 Jul 2017, 12:55
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.

Posted: Sun 09 Jul 2017, 14:43
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.