LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Modprobe Ndiswrapper Error (https://www.linuxquestions.org/questions/linux-wireless-networking-41/modprobe-ndiswrapper-error-461680/)

jonnygraw 07-06-2006 11:18 PM

Modprobe Ndiswrapper Error
 
Hi, I am using Slackware 10.2 on my Dell Inspiron E1405 with a the Dell 1390 Mini Wireless Card 802.11 b/g. The driver for that is the bcmw15. I am having troubles with ndiswrapper (version 1.14) when I run:
Code:

modprobe ndiswrapper
I get this error message:
Code:

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.15.3/misc/ndiswrapper.ko): Unkown symbol in modules, or unkown parameter (see dmesg)
The bottom of my dmesg says:
Code:

b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
ndiswrapper: Unknown symbol wireless_send_event

I just compiled a 2.6.15.3 kernel on my laptop. I got the kernel source from kernel.org. I googled my problem and the only solution was to set "CONFIG_NET_RADIO=y" but as you'll see below I've done that:

Code:

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y

#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not set
# CONFIG_WAVELAN is not set

#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set

#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
# CONFIG_PRISM54 is not set
# CONFIG_HOSTAP is not set
CONFIG_NET_WIRELESS=y

I'm thinking that there is another configuration I have to set and I may have to recompile the kernel. Other than that I am pretty lost. Any suggestions? Help would be appreciated :)

Bruce Hill 07-07-2006 01:39 AM

Hey jonnygraw

Welcome to LQ!

Check out this little Slackware ndiswrapper tutorial. I think it will help you see what's required in Slack.

jonnygraw 07-07-2006 02:11 PM

Hey, thanks for the reply! The link gave me some very valuable information about the gcc and kernel issues. I got ndiswrapper to work--finally--using the testing 2.6.13 kernel and ndiswrapper-1.15. I had to downgrade to gcc-3.3 so there wouldn't be any issues with the kernel.

Note to anyone using the bcmw15 driver:

If you get a forced parameter during:

Code:

ndiswrapper -i bcmwl5.inf
Change the parameter back to the original one in the .conf file. Look at dmesg to find out which conf file is used in /etc/ndiswrapper/bcmwl5/

Also, be sure to turn your wireless card on....that was a probelm for me :p

The only thing I need to do is make ndiswrapper load during boot time. I added it to modprobe.conf and modules.conf but it still wouldn't load. Any suggestions?

nadroj 07-07-2006 02:12 PM

if you need commands to run at boot, add it to /etc/rc.d/rc.local or maybe a rc.inet script.

Bruce Hill 07-07-2006 02:51 PM

Quote:

Originally posted by jonnygraw
The only thing I need to do is make ndiswrapper load during boot time. I added it to modprobe.conf and modules.conf but it still wouldn't load. Any suggestions?
For Slackware you should add "/sbin/modprode ndiswrapper" to "/etc/rc.d/rc.modules" -- without the quotes, to load the module when you boot. Just put it at the very end of the file.


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