LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2006, 11:55 AM   #1
joschi1
LQ Newbie
 
Registered: Sep 2005
Location: durham, ontario canada
Distribution: debian
Posts: 6

Rep: Reputation: 0
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
 
Old 07-25-2006, 12:20 PM   #2
lockpicker
Member
 
Registered: Feb 2006
Location: Sikkim Manipal Institute of Technology, Sikkim
Distribution: Slackware 10.2
Posts: 80

Rep: Reputation: 15
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.
 
Old 07-25-2006, 12:31 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
You may have to add
Code:
modeprobe ndiswrapper
under rc.local
 
Old 07-25-2006, 12:34 PM   #4
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
I always just put modules to load on startup on a debian machine in the /etc/modules file
 
Old 07-28-2006, 11:21 AM   #5
joschi1
LQ Newbie
 
Registered: Sep 2005
Location: durham, ontario canada
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
I couldn't find rc.M or rc.local in the suggested locations (or anywhere else).
 
Old 07-28-2006, 11:31 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to easily create DVDs? General Linux - Software 1 06-15-2006 08:34 PM
Unsubscribing from threads more easily? Randux LQ Suggestions & Feedback 5 05-03-2006 03:02 AM
how do i install XINE easily? Dr Gutiemouth Linux - Newbie 8 10-19-2004 10:28 PM
WMP54G ndiswrapper enable to ping mbeakes Linux - Wireless Networking 8 08-30-2004 01:14 AM
Can I easily format my hda? mary Linux - General 2 01-06-2004 05:02 PM


All times are GMT -5. The time now is 07:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration