Please support VectorLinux!

Author Topic: Linux Video Tutorials on VectorLinux. (Independent effort..for the time being.)  (Read 60131 times)

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Quote
modprobe ndiswrapper gives me this error: FATAL: Module ndiswrapper not found.
Apparently it's a problem with ndiswrapper. So then, what do I do to fix that?

Try uninstalling your corrent ndiswrapper and reinstalling.  Also you could build ndiswrapper from source. It's easy, for you especially.  Also don't use the ndiswrapper I submitted to the packagers thread. It's kernel dependent and if you have done any kernel upgrades from the original with VL 6.0 standard it will fail.

Quote
Quote from: stretchedthin on Today at 01:45:15 am
also what do you see when you 'modprobe -c | grep ndiswrapper'

I see: alias wlan0 ndiswrapper
          alias wlan0 ndiswrapper
It looks like 'alias wlan0 ndiswrapper' has shown up twice.
Did you insert your own line into /etc/modprobe.conf, if so modprobe is reading it in both places.
I think you can delete the one in /etc/modprobe.conf

I think this is the pciid number: 13B1:000B (I got it from looking at ndiswrapper -l)
You can use lsusb (as root for a usb device ) or lspci ( as root non-usb type devices) to verify.

If you google 13B1:000B, you are going to find a lot of discussion on the topic of instaling this very device.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
Ah Ha! Thanks to w2ibc's howto on ndiswrapper, I think I've found the problem. I tried modinfo ndiswrapper, and got a "could not find module ndiswrapper error." According to the howto, the ndiswrapper module file should be: /lib/modules/2.6.27.29/misc/ndiswrapper.ko

That file does not exist on my computer! I checked the ndiswrapper package and it is only 25KB in size. By comparison, the ndiswrapper source tar.gz is 194.4KB in size! I'm thinking something is wrong with the package. Surely the source doesn't go from 194.4 to 25 KB in the packaging process.
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
I was thinking something along those lines when you got....
Quote
modprobe ndiswrapper gives me this error: FATAL: Module ndiswrapper not found.
That's why I suggested...
Quote
Try uninstalling your current ndiswrapper and reinstalling.  Also you could build ndiswrapper from source. It's easy.

I'm guessing you have ndiswrapper but it's still associated with your old kernel (It looks like you may have done a kernel upgrade.  That would explain why all the ndiswrapper commands work for you but it just won't run. 

I'll check out w2ibc's howto. Looks like a good one.  I guess I should include more of those testing commands in my own tutorial.  modinfo, modprobe -c | grep ndiswrapper, even depmod -a would be useful.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

w2ibc

  • Packager
  • Vectorite
  • ****
  • Posts: 114
  • GAHHHHHH!!!!!
    • W2IBC.com
Ah Ha! Thanks to w2ibc's howto on ndiswrapper, I think I've found the problem. I tried modinfo ndiswrapper, and got a "could not find module ndiswrapper error." According to the howto, the ndiswrapper module file should be: /lib/modules/2.6.27.29/misc/ndiswrapper.ko

That file does not exist on my computer! I checked the ndiswrapper package and it is only 25KB in size. By comparison, the ndiswrapper source tar.gz is 194.4KB in size! I'm thinking something is wrong with the package. Surely the source doesn't go from 194.4 to 25 KB in the packaging process.

im glad the how to is useful wrote that yesterday AM when i had to reinstall everything after putting in a new drive.

im going with stretchedthin thinking its assc with the old kernel

http://vectorlinux.osuosl.org/veclinux-6.0/kernels/drivers/

the .tlz has a better compression rateing then tar.gz so i would expect a tlz to be a bit smaller then the .tar.gz

when i did the gPHPedit package for VL the gphpedit source was 1.1MB but the .tlz is 351KB so even though it is smaller then "source" it should be fine.

i would reinstall the ndiswrapper package from the above link for your kernel and try and reinstall the driver
Linux Registered User #481509.

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
I'm running VL 5.9.1 SOHO, not 6.0 and I haven't done a kernel upgrade. Maybe I'll look into packaging the newer version for 5.9.
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
VL 5.9.1, don't have much experience with that one, but at any rate it looks like you are right.  If both modprobe ndiswrapper and modinfo ndiswrapper are telling you that it doesn't exist then it is time to build your own.  One thing I'll say about packaging for the repos' is that it is a different animal than packaging for yourself.  You will have to compile it in such a way that it is kernel independent if you package it for the repos'. Far easier just to build it from source for your own machine.  I know you won't have any trouble with it, but Here is a tut from youtube for anybody new that may be following this thread.

http://www.youtube.com/watch?v=v0Ist9aEKEg
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
I could use the previous SlackBuild and modify it though, right? Instead of making a new one?
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Sure you could. Just make sure the slackbuild is kernel independent.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Daniel

  • Packager
  • Vectorian
  • ****
  • Posts: 704
    • TuxToys - Packages for VectorLinux 6.0
How do I make sure that the SlackBuild is kernel independent?
The following sentence is true. The previous sentence is false.

VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Not sure. I just build the kernel dependent ones from source myself. Take a look at the slackbuild used for 1.54, link below.
http://vectorlinux.osuosl.org/veclinux-6.0/source/patches/ndiswrapper/1.54/src/

also here's the link to my introduction to the whole ndiswrapper-kernel packaging issue.
http://forum.vectorlinux.com/index.php?topic=10902.0

I'll ask your question there and see if I get an answer.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
If anyone has noticed that I haven't been producing many tut's this past week or so, it's because I've been producing something else. Well, technically my wife did, but I was there damn it. ;D
Introducing Tayra McKenna Coulton, my daughter.
« Last Edit: December 15, 2009, 08:53:59 am by stretchedthin »
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
What a lovely angel... :)
Congratulation....

GrannyGeek

  • Packager
  • Vectorian
  • ****
  • Posts: 2567
Congratulations! Tayra is a real cutie and the best holiday gift you'll ever get.

We'll expect to see her on this forum in 2019 or so.<g>
--GrannyGeek
Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Aw.. what a darling. Congratulations!

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Thanks everybody, and yes I'm in the market for stuffed penquins, and a Linux sippy cup, let the indoctrination begin. ;D
However, I would pay top dollar for a diaper with the Windows logo on it.  Then I could say..."ah look, she's defragging"
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee