LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   can't modprobe ndiswrapper with .inf driver installed (https://www.linuxquestions.org/questions/linux-wireless-networking-41/cant-modprobe-ndiswrapper-with-inf-driver-installed-336989/)

Andrew Skinner 06-25-2005 02:57 AM

can't modprobe ndiswrapper with .inf driver installed
 
I'm trying to get a D-link DWL-G122 wireless adaptor running on Mandrake LE2005, its in the hardware list as approved.

if I modprobe ndiswrapper BEFORE installing the .inf driver (netrtusb) then I can install the adaptor and , network all works via wlan0 (used drakwizard to install). wlan0 is not automatically re-started at boot , the wizard does not enter wlan0 in modprobe.conf and modprobe.preload does not include an ndiswrapper entry BUT this is OK right now because any attempt to reload ndiswrapper after a boot crashes the machine.

if I type modprobe ndiswrapper after installing the netrtusb driver the command does not complete.
if I add ndiswrapper to modprobe.preload.conf the machine hangs at boot.

I tried also a manual install

ndiswrapper -i /(path)/netrtusb.conf
ndiswrapper -l
(comes back with netrtusb driver isntalled and hardware present)
modprobe ndiswrapper
(command does not complete )


I also tried the wizard without doing a modprobe ndiswrapper first, this seems to load the inf file before doing a modprobe and hangs.

what am I doing wrong ?
can I fix this ?

david_ross 06-25-2005 06:03 AM

If you run dmesg after it fails do you get any relevant ndiswrapper messages at the end?

Andrew Skinner 06-25-2005 08:10 AM

rebooted , started a root console

# ndiswrapper -i etc
# ndiswrapper -l (driver loaded, hardware presnt)
# modprobe ndiswarpper ( command not completed)

started a new console

# dmesg

last entries are

ndiswrapper: version 1.0 loaded (preempt=no, smp=no)
ndiswrapper: driver netrtusb (D-Link, 06/30/2004, 1.02.0000) added
usb 3-1: reset high speed USB device using ehci_hcd and address 2

this last line is repeated for several screen fulls (must be >50 )


All times are GMT -5. The time now is 05:31 AM.