LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-27-2005, 09:32 PM   #1
sguen
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Question ndiswrapper wouldn't load on boot


I was able to install my wireless card and compiled the kernel to the point where I can see the card with lsmod. Then I installed ndiswrapper and configured my driver. Finally I did

Code:
modprobe ndiswrapper
which also worked fine. I have two problems here, and I was hoping that someone could help me:

1. If I reboot, my wireless card is invisible for iwconfig unless I type "modprobe ndiswrapper" again

2. Where and how can I specify the wireless connection I want to connect to and the security code?

I'd like to configure it, so it automatically connects on start up.

Any help would be muchg appreciated.
 
Old 07-27-2005, 11:06 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,997

Rep: Reputation: 107Reputation: 107
type "ndiswrapper -m" to make the module load up on demand.
Do something like
Code:
VERBOSE=1
case "$HWADDR" in

00:40:F4:*)
  INFO="RealTek 8180"
  MODE="Managed"
  ESSID="essid"
  KEY="key"
  ;;
esac
in your /etc/rc.d/rc.wireless.conf
and put
Code:
/etc/rc.d/rc.wireless wlan0
/sbin/dhcpcd wlan0
in your /etc/rc.d/rc.local

EDIT: the rc.local stuff seems like it should work, but for some reason it does not on my system. It does make it easier to load up internet at startup though.

Last edited by tuxdev; 07-27-2005 at 11:11 PM.
 
Old 07-27-2005, 11:10 PM   #3
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
You need to put it in your startup scripts in the rc.modules file.

http://slackware.com/config/init.php
 
Old 07-27-2005, 11:12 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,997

Rep: Reputation: 107Reputation: 107
that url is not up to date. The current official docs are www.slackbook.org.
 
Old 07-27-2005, 11:51 PM   #5
sguen
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you all! I try what you suggested and let you know what happens.
 
Old 07-28-2005, 02:46 PM   #6
sguen
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
tuxdev,

Thanks again! That did it.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper, doesn't load my driver ghostbar Linux - Wireless Networking 2 09-15-2005 12:36 PM
ndiswrapper doesn't load the driver ghostbar Linux - Software 0 09-14-2005 11:32 AM
howto load ndiswrapper at boot time with suse 9.3 Nieko04 Linux - Wireless Networking 8 09-07-2005 04:43 AM
Mandriva - Ndiswrapper won`t load konfusionrave Linux - Wireless Networking 1 08-29-2005 07:52 AM
unable to load ndiswrapper at boot time stevenro Linux - Wireless Networking 5 11-25-2004 04:20 PM


All times are GMT -5. The time now is 06:20 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration