LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to easily enable ndiswrapper? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-easily-enable-ndiswrapper-467478/)

joschi1 07-25-2006 10:55 AM

how to easily enable ndiswrapper?
 
I'm using Debian 2.6.8-2-386 on a Dell Inspiron laptop, with a D-Link dwl-g630 wireless network card.

I got ndiswrapper working with the XP drivers, but I always had to go to a root terminal and execute

insmod /lib/modules/2.6.8-2-386/misc/ndiswapper.ko
dhclient wlan0


to get it started.

I used ndiswrapper -m to write the configuration for modprobe, but it reports errors now when booting (and it takes a long time to do this).

Now I seem to have to remove and reinstall the driver and do dhclient wlan0.

How can I remove whatever ndiswrapper -m did so it doesn't try to start during booting, and

How can I get it to easily start ndiswrapper (either at boot or with a sript on the desktop or something similar)?

I'm not very familiar with modules but I'm willing to try whatever you suggest.

Thanks,

Joschi

lockpicker 07-25-2006 11:20 AM

well check out your /etc/rc.d/rc.M or /etc/rc.local for changes made by ndiswrapper most probably the latter file should be the hit. Comment out the line that says modprobe ndiswrapper and that'll no longer try to start at bootup.

jstephens84 07-25-2006 11:31 AM

You may have to add
Code:

modeprobe ndiswrapper
under rc.local

AzrielMacKay 07-25-2006 11:34 AM

I always just put modules to load on startup on a debian machine in the /etc/modules file

joschi1 07-28-2006 10:21 AM

I couldn't find rc.M or rc.local in the suggested locations (or anywhere else).

Nylex 07-28-2006 10:31 AM

I don't think Debian uses rc.d. The equivalent may be /etc/init.d, though I don't know what the relevant files are.


All times are GMT -5. The time now is 05:25 PM.