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 05-28-2007, 02:59 PM   #1
lyberrian
LQ Newbie
 
Registered: May 2007
Posts: 6

Rep: Reputation: 0
How does Debian run ndiswrapper at startup?


Thanks to help from experts on this forum, I have solved my screen-resolution and printer problems, and some digging has led me to the ndiswrapper/net8180 package that solves the chipset problem with the Linksys WPC11 wireless adapter. I have managed to load the correct driver using Alt+F2 and running ndiswrapper with the .inf file. But when I power down and reboot, I have to go through this process all over again. How can I make linux automatically run ndiswrapper? I am using Ubuntu 5.10 on a Toshiba Tecra 8000.
 
Old 05-28-2007, 09:04 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Just use:

Code:
update-rc.d ndiswrapper defaults
This will boot ndiswrapper on boottime.
 
Old 05-29-2007, 10:47 AM   #3
lyberrian
LQ Newbie
 
Registered: May 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, Puntjuh. I entered the specified command in the terminal, but it did not work. There is no shell script for ndiswrapper in my /etc/init.d directory. Is this the problem, and if so, what do I do to fix it?
 
Old 05-29-2007, 11:08 AM   #4
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Here's howto :,

echo "modprobe ndiswrapper" >> /etc/boot.local

I don't know if it's boot.local for debian, it could also be:

/etc/rc.d/boot.local
 
Old 05-29-2007, 02:58 PM   #5
lyberrian
LQ Newbie
 
Registered: May 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Your instructions solved my problem. Thanks. Rather than /etc/rcx.d, however, I needed /etc/init.d. As this directory contained no script, I used the "touch" command to create a file called "ndiswrapper.sh". Once I had created this file, I could use your second reply to modify this file.

I believe I am coming to understanding (ever so gradually) the way the Linux filesystem works. It is most gratifying to find help when I need it, from people who understand this system.

Regards,

Lyberrian
 
  


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
ndiswrapper-1.10 debian debian sarge BCM4306 802.11b/g ]x-k[ Linux - Wireless Networking 3 03-12-2006 12:42 AM
Autoload ndiswrapper on startup m2stian Fedora 2 12-05-2004 05:34 AM
ndiswrapper on startup? heri0n Linux - Wireless Networking 1 10-08-2004 04:29 PM
Debian run MySQL on Startup baandar Linux - Software 3 09-02-2004 01:45 AM
slackware ndiswrapper startup! trey85stang Linux - Wireless Networking 5 07-06-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 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