LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 12:20 AM   #1
ryale138
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 0
modprobe ndiswrapper trouble


Hey guys. I am just learning to use linux, heard that Suse 10.0 would be good to learn on. So I have it installed on my laptop (Compaq Presario r3140 AMD Athlon 64). I am having trouble with the wireless card (I know big surprise huh?)
Well, I have the ndiswrapper working (from the pre-installed suse packages), and I have found and installed the driver I need as well (netbc564.inf and bcmwl564.sys, both in the same directory). I belive I have installed the drivers using ndiswrapper.

#ndiswrapper -l
Installed ndis drivers:
netbc564 driver present, hardware present

I completed this with the command

#ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper

Now, I go to finish everything up and do

#modprobe ndiswrapper

And I recieve an error message saying:

FATAL: Module ndiswrapper not found.

I went and looked in my /etc/modprobe.d/ and found a file named ndiswrapper but still cannot get the module to load. I know once I can get the module to load, I can then use YAST to configure the card. But until then I'm just outta luck.
Thanks!
 
Old 05-17-2006, 02:10 AM   #2
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
install package locate or updatedb
run as root
updatedb
locate ndiswrapper.ko

while we are at it
ndiswrapper -v
 
Old 05-17-2006, 02:22 PM   #3
ryale138
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Emanuel,
Thanks for the quick reply. I tried what you said. I installed the package "locate." I did a

#updatedb

(which took quite a while)

and then I did a

#locate ndiswrapper.ko

The next step you told me to do was to

#ndiswrapper -v

Which threw an error saying it was an invalid option. The only options I have for ndiswrapper are

-i inffile
-d devid driver
-e driver
-l
-m
-hotplug

I tried

#modprobe ndiswrapper

and still recieved the FATAL error. So still no real change.
Thanks
 
Old 05-17-2006, 03:31 PM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
what is the result of
locate ndiswrapper.ko

use the whole path to do
modprobe /path/to/ndiswrapper (do not add the .ko)
Any error?

Anyway you may need to get the latest ndis version instead
 
Old 05-17-2006, 04:21 PM   #5
ryale138
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
When I do a

#locate ndiswrapper.ko

I don't have any results displayed. (I'm assuming this SHOULD give me the /path/to/ndiswrapper that you are talking about?)

I thought about the newest version of ndis. I downloaded that, and I tried installing it, but I just can't get it to install. (Like I said, I'm extremely new to Linux.) Do you think I would have better luck with the newest version of ndis? (being that I'm running on the 64 bit platform).

Thanks again.
 
Old 05-18-2006, 01:17 AM   #6
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
Quote:
#locate ndiswrapper.ko
I don't have any results displayed
Yes in essence, it means the kernel module you trying to load (modprobe)
is not there on the HD anywhere.

Try yast to install / desinstall ndiswrapper.

I am not too familiar with yast web repositories. In theory you should
be able to download a pretty recent prepackaged version of ndis.
If this does not work, anyway, it is a good idea to use
one of the latest ndis version

It probably did not compile because you either did not install gcc
or did not install the kernel source (go to yast again)
Compilation (end of it anyway) to be done as root.
Do not forget if you do not post excactly what you did and error messages
nobody can help

Never ran a 64 bits, so do not know. I suppose it will be ok

Some good reading: go to LQ bookmark, search for newbie then for rute
pick some readings
 
Old 05-18-2006, 09:52 PM   #7
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
If you have your Suse DVD source handy you should be able to reinstall the package.

I'd try a simple find command to locate the ndiswrapper.ko module.

Code:
find /lib/modules -name "ndiswrapper*"
Obviously if thats not found, then its not installed.

If you've already tried to uninstall and reinstall via Yast, then I'd download ndiswrapper source (tar.gz) from Sourceforge and compile it. Be sure to uninstall it via Yast before you compile it.

To compile it yourself, you'll need Kernel source for your current kernel version (you can find your kernel version by doing "uname -r" on a shell). You'll also need the packages Make and gcc.

Once you untar the ndiswrapper to a folder, just use your shell, cd to the directory, then just type "make" and it'll automatically read the make config file from that directory and it'll make it. Then just "make install" and it'll install it for you and it should work w/ the same commands.

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Cannot modprobe ndiswrapper! Orca1983 Linux - Hardware 1 02-04-2006 04:52 AM
modprobe ndiswrapper Oral_Christie Linux - Wireless Networking 3 09-03-2005 02:36 PM
modprobe ndiswrapper hvtopiwala Linux - Wireless Networking 3 05-12-2005 02:08 PM
modprobe ndiswrapper esher2292 Linux - Newbie 2 05-31-2004 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration