Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Oct 2018, 05:42
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
UPup Bionic Beaver (UPupBB) 18.05 (May 2018)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 23 of 24 [359 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24 Next
Author Message
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Sun 16 Sep 2018, 21:10    Post subject:  

@perdido
The post date and the driver got my immediate attention. and on that I made my post. After that, I did see the commands and in fact captured them to look at when I switch back into upupbb. I haven't done so yet. I should have mentioned that in my post. My apologies.

I am surprised to read that
Quote:
The driver has not been needed since version 1.57 of ndiswrapper.

1. Development is still occurring over at ubuntu - now up to 1.60.6, used with "trusty" and being used in cooperation with "Cuttlefish", the next Ubuntu. Sorry, I don't have the link readily at hand.
2. bcmhigh5.inf/? is the Windows 32 bit driver, so it is still being used. It would seem that the mechanics of setting ndiswrapper up properly is the problem. The commands intend to fix it.
3. So it would seem, those cl commands are not replacing the need for ndiswrapper; the commands do not obviate the need for a regular driver. Regardless of the version of ndiswrapper, the windows driver will have to be accessed somehow.

Thanks again. As soon as I can, I'll try those commands and report bacl.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 987
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Sun 16 Sep 2018, 22:14    Post subject:  

B.K. Johnson wrote:

3. So it would seem, those cl commands are not replacing the need for ndiswrapper; the commands do not obviate the need for a regular driver.
Regardless of the version of ndiswrapper, the windows driver will have to be accessed somehow.


Hi B.K. Johnson,
I mis-spoke, I should have said the custom compilation of ndiswrapper is no longer needed after version 1.57, the wireless driver from windows is still needed.
Sorry about the confusion.

It will be interesting to see if any of those terminal commands work.

.

_________________
Giving with an expectation for return brings misery.
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Mon 17 Sep 2018, 12:06    Post subject:  

@perdido
As promised, feedback on the cli commands issued by the poster.

bcmwlhigh5 that the poster refers to is the Windows driver. During the processing of Network Wizard, I navigate to where it is located because a driver for Broadcom BCM43231 is not among those listed.

The author states: "...driver may not be loaded" or "matching with device may be wrong." yet the driver is listed as installed with
Code:
ndiswrapper -l
. Fuzzy logic! When I issue the same command, what I get is
Code:
ndiswrapper: command not found

Clearly, the driver is not loaded; IT ISN'T EVEN INSTALLED. Where should it be? The ndiswrapper.ko is in the correct location. But what is in it? I don't have a hex dump software to find out. All the other commands in the post are then meaningless because they are based on the positive response from ndiswrapper -l.

[EDIT]
In your last post, you wrote:
Code:
.I should have said the custom compilation of ndiswrapper is no longer needed after version 1.57, the wireless driver from windows is still needed.
Sorry about the confusion.

OK. And by "custom compilation" we mean it does not have to be compiled with a particular kernal? Then version 1.57, for example, could be used OOTB on any puppy? Where can I find it? Wink

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 987
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Mon 17 Sep 2018, 13:57    Post subject:  

B.K. Johnson wrote:
@perdido
As promised, feedback on the cli commands issued by the poster.

bcmwlhigh5 that the poster refers to is the Windows driver. During the processing of Network Wizard, I navigate to where it is located because a driver for Broadcom BCM43231 is not among those listed.

The author states: "...driver may not be loaded" or "matching with device may be wrong." yet the driver is listed as installed with
Code:
ndiswrapper -l
. Fuzzy logic! When I issue the same command, what I get is
Code:
ndiswrapper: command not found

Clearly, the driver is not loaded; IT ISN'T EVEN INSTALLED. Where should it be? The ndiswrapper.ko is in the correct location. But what is in it? I don't have a hex dump software to find out. All the other commands in the post are then meaningless because they are based on the positive response from ndiswrapper -l.

[EDIT]
In your last post, you wrote:
Code:
.I should have said the custom compilation of ndiswrapper is no longer needed after version 1.57, the wireless driver from windows is still needed.
Sorry about the confusion.

OK. And by "custom compilation" we mean it does not have to be compiled with a particular kernal? Then version 1.57, for example, could be used OOTB on any puppy? Where can I find it? Wink



Hi B.K. Johnson,
ndiswrapper is kernel specific.
ndiswrapper just no longer needs to be compiled with
Code:
 wstdcall NTSTATUS WIN_FUNC(IoUnregisterPlugPlayNotification,1)
(void *tag)
{
      TRACE2("%p", tag);
      TODO(); /* Probably Not, legacy function abandoned in Windows 7 */
      IOEXIT(return STATUS_SUCCESS); /* Linux doesn't use it either */
}

added to the ntoskernal_io.c source file
since version 1.57 of ndiswrapper.

I installed ndiswrapper to upup bionic and got same result as you with terminal commands.
Perhaps the info on that page is obsolete as rcrsn51 suggested.

.
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Mon 17 Sep 2018, 14:37    Post subject:  

Hello perdido
This conversation is drawing to a close, but one last question. What version of ndiswrapper did you compile?

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3495
Location: Worcestershire, UK

PostPosted: Mon 17 Sep 2018, 14:54    Post subject:  

It does rather look like the ndiswrapper .pet is malformed and is missing some binaries which should be in /sbin and /usr/sbin.....

I will investigate.....

Surprising that nobody out of 400+ downloads has reported a problem before tho!!

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
OscarTalks


Joined: 05 Feb 2012
Posts: 1814
Location: London, England

PostPosted: Mon 17 Sep 2018, 16:34    Post subject:  

Hi PeeBee,

In case it helps, the ndiswrapper 1.61.1 which I compiled for several kernels installs /sbin/loadndisdriver and /usr/sbin/ndiswrapper which is a perl script, plus /usr/sbin/ndiswrapper-buginfo

_________________
Oscar in England

Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Mon 17 Sep 2018, 19:00    Post subject:  

peebee wrote:
Quote:
It does rather look like the ndiswrapper .pet is malformed and is missing some binaries which should be in /sbin and /usr/sbin.....


Whew! I know there are folks who don't relish me arguing a point relentlessly. But I'm a logical, critical thinker. I do feel vindicated.

Quote:
I will investigate.....

Thank you, good sir. What was it that spurred you on?

Quote:
Surprising that nobody out of 400+ downloads has reported a problem before tho!!

No surprise to me. Like I said, of the regulars here, only myself, OscarTalks and rcrsn51 have used ndiswrapper in the last 4 years. It is either downloaded without the immediate need (guilty of that myself) or more seriously, they are Windows refugees who tried it, had it fail and moved on with a bad puppy experience. Our developers and the community should be mindful of the fact that many refugees will have modems that don't have Linux drivers. One way of welcoming them is to have ndiswrapper that works for every puppy, there is one for every kernel. I must confess to a little selfishness. When upupbb was released, I tried it; it failed and mindful of the belittering and urgings to simply buy a Linux modem, I said nothing. It was only when posts began to promote upupbb as the "official" puppy that I felt I could not ignore the possibility of refugees regretting trying. I'm off my soapbox now. I don't feel as guilty.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 987
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Mon 17 Sep 2018, 20:52    Post subject:  

B.K. Johnson wrote:
Hello perdido
This conversation is drawing to a close, but one last question. What version of ndiswrapper did you compile?


Hi B.K. Johnson,
I had not done a compile, just tried the 1.61 version from this thread.

After you asked, I compiled a fresh ndiswrapper 1.61 and am attaching it to this post.
----

Attachment deleted.

Last edited by perdido on Tue 18 Sep 2018, 15:07; edited 1 time in total
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3495
Location: Worcestershire, UK

PostPosted: Tue 18 Sep 2018, 02:15    Post subject:  

Here is my updated pet

There is a subtle difference between the 2 pets - so if BKJ can test both that would be great.....
ndiswrapper_1.61-k4.9.96-lxpup-pae.pet
Description 
pet

 Download 
Filename  ndiswrapper_1.61-k4.9.96-lxpup-pae.pet 
Filesize  113.4 KB 
Downloaded  23 Time(s) 

_________________
LxPup = Puppy + LXDE

Last edited by peebee on Sat 22 Sep 2018, 15:15; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Tue 18 Sep 2018, 14:19    Post subject:  

@perdido Yours did not work. On the ndiswrapper -l command, I received a "not found" error.

@peebee
Close but no cigar! The collage of windows in the screenshot, collage.png, are typical screens in a successful installation and invocation except for that at the bottom left which is intermittent.

collage.png
The post perdido referenced.

So, I tried the commands in the post perdido referenced.
Whereas the poster did not get any response from the ndiswrapper -l command, I did.
Code:
# ndiswrapper -l
bcmwlhigh5 : driver installed
    device (0846:9020) present


You can see the entire dmesg -c dump in the attachment dmesg-c-dump.html, but this excerpt I think is the informative section.

There were several instances of:
Code:
pup_event_backend_modprobe' failed with exit code 1


specific reference to ndiswrapper
Code:
ndiswrapper: loading out-of-tree module taints kernel.
ndiswrapper: module verification failed: signature and/or required key missing - tainting kernel
Disabling lock debugging due to kernel taint
ndiswrapper: module license taints kernel.
ndiswrapper version 1.61 loaded (smp=yes, preempt=no)
udevd[2876]: Specified group 'input' unknown
udevd[2876]: /etc/udev/rules.d/55-cups.rules:5: NAME="%k" is ignored, because it breaks kernel supplied names; please remove
usbcore: registered new interface driver ndiswrapper
usb 1-3: USB disconnect, device number 2
usb 1-4: new high-speed USB device number 9 using ehci-pci
udevd[13878]: Process '/sbin/pup_event_backend_modprobe' failed with exit code 1.
#


iwconfig did not find the wireless, wlano

Code:
# iwconfig
lo        no wireless extensions.

enp2s8    no wireless extensions.


Next up was ndiswrapper -v.
You should find significant clues in the result.

Code:
#  ndiswrapper -v
/sbin/loadndisdriver: /sbin/loadndisdriver: cannot execute binary file
utils version is too old!
utils version '' is incompatible with utils version needed by driver ('1.9')!
utils version: '', utils version needed by module: '1.9'
module details:
filename:       /lib/modules/4.9.96-lxpup-32-pae/misc/ndiswrapper.ko
version:        1.61
vermagic:       4.9.96-lxpup-32-pae SMP mod_unload modversions 686

You may need to upgrade driver and/or utils to latest versions available at
http://ndiswrapper.sourceforge.net
dmesg-c-dump.html.zip
Description  complete demsg-c dump FAKE ZIP-remove extension
zip

 Download 
Filename  dmesg-c-dump.html.zip 
Filesize  52.99 KB 
Downloaded  8 Time(s) 
collage.png
 Description   collage of windows
 Filesize   171.38 KB
 Viewed   492 Time(s)

collage.png


_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3495
Location: Worcestershire, UK

PostPosted: Thu 20 Sep 2018, 04:08    Post subject:  

Quote:
utils version '' is incompatible with utils version needed by driver ('1.9')!

Is odd! Looks like version number is not set....no idea why!

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 667

PostPosted: Thu 20 Sep 2018, 09:13    Post subject:  

Quote:
utils version is too old!

I am not in upupbb ATM so can't look, but looking in tahr-6.0.2 at /sbin/, I see loadndiswrapper-1.9.
Where/How can we get an updated loadndiswrapper?

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 3495
Location: Worcestershire, UK

PostPosted: Sat 22 Sep 2018, 14:27    Post subject:  

7024ef81c21ffbf33cfd28aa47df4eb8 upupbb-18.05+13.iso

{delta} to be applied to original 18.05.iso

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 3495
Location: Worcestershire, UK

PostPosted: Sat 22 Sep 2018, 15:18    Post subject:  

New ndiswrapper pet above and in post #3

Hope this one works.....@BKJ?

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 23 of 24 [359 Posts]   Goto page: Previous 1, 2, 3, ..., 21, 22, 23, 24 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0763s ][ Queries: 13 (0.0163s) ][ GZIP on ]