LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-28-2006, 01:14 PM   #1
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
quick easy question for all u linux gurus out there


Hi everyone,

I've installed ndiswrapper no problem... Everything went great! (I am learning some )
I did:
depmod -a --- no probs
ndiswarpper -m --- no probs
modprobe ndiswrapper --- no probs

WiFi Works!!! Easy

My question is:

Everytime I start up in suse I have to consose "modprobe ndiswrapper". Where is the modules file where I can put that to have it start up automatically when Suse starts up? i tried adding:

alias wlan0 ndiswrapper

to:

/etc/modprobe.conf

but that didn't work. I know this is probably an easy question for all u guys to answer but I couldn't figure it out... Thanks for all you help!
 
Old 05-28-2006, 01:58 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The solution is in this thread (start reading from the bottom, to save yourself some time).

Update: The ndiswrapper installation instructions offer this:

Quote:
Note that this doesn't automatically load ndiswrapper module at boot time. If you want the module to be loaded automatically at boot time, you should configure your module setup, which depends on the distrbution. Most distributions will load all modules listed in /etc/modules at boot time. Mandrake 10.x uses /etc/modprobe.preload. For them, you can add a line

ndiswrapper

in /etc/modules.

Last edited by macemoneta; 05-28-2006 at 02:01 PM.
 
Old 05-28-2006, 02:33 PM   #3
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
there isn't a /etc/modules in suse that i c or a modeprobe.preload
 
Old 05-28-2006, 07:11 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Make user changes to /etc/modprobe.conf.local, modprobe.conf is generated by SuSE. I belive this is done on every reboot. Whenever there is a *.conf and *.conf.local, make changes to the .local.
 
Old 05-29-2006, 01:30 AM   #5
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
well I tried putting

alias wlan0 ndiswrapper
and
modprobe ndiswrapper
into
modprobe.conf.local to no prevail. It turned my wifi on (or so the light on my laptop told me) but did not register as on. I could not connect to or configure any connections.

So my conclusion is gonna be this and hopefully someone can help me with this.

I need to write a script that runs when I login. I have no idea how to write a script (I would like to learn) or how to get it to start when I login... Here is what I need it to do tho, hopefully someone can give me a hand...

-----------------------------------
su
(enter password automatically)
modprobe ndiswrapper
keyring pops up asking for password
(enter password automatically)
-----------------------------------

after the above script runs the network manager will automatically connect to my lan...
can anyone help me write this?

Thanks Guys,
nomb
 
Old 05-29-2006, 10:29 AM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The 'modprobe ndiswrapper' does not belong in modprobe.conf, but the alias does.

The 'modprobe ndiswrapper' can be placed in /etc/rc.d/rc.local (or the SuSE equivalent) to run at boot. However, you should fully qualify the path to the executable. For example:

/sbin/modprobe ndiswrapper

Did you try putting the 'ndiswrapper' in /etc/modules?
 
Old 05-29-2006, 11:11 AM   #7
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
ok lets catch up...

I know that the modprobe ndiswrapper doesn't belong there but at this point I'm trying anything...

I don't have an /etc/modules trust me I've looked many times.

Also I looked for /etc/rc.d/rc.local. No luck I know thats a fc5 thing. At

this point I'm getting so frustrated. Anyone have any other ideas?

Thanks,

nomb

Last edited by nomb; 05-29-2006 at 11:12 AM.
 
Old 06-11-2006, 11:00 AM   #8
mpilet
LQ Newbie
 
Registered: Jun 2006
Distribution: SuSE 10.1
Posts: 2

Rep: Reputation: 0
Been there... I have SuSE 10.1 and added "modprobe ndiswrapper" to the boot.local file which is located in the /etc/rc.d directory. I know there are other ways to do it I just know that this one works.
Proceedure:
launch terminal
su
enter password
nano /etc/rc.d/boot.local

NOTE: I use nano, you can use any editor or install nano using yast.
 
Old 06-14-2006, 01:03 PM   #9
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
that worked great thanks!!! now if only I could get the key ring to log in automatically for me
 
  


Reply

Tags
boot, fc5, mandrake, ndiswrapper, suse



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
Quick 'n' easy question! orange400 Linux - General 6 09-09-2004 10:36 PM
Really quick and easy question libranikki Linux - Newbie 2 08-05-2004 07:54 PM
quick easy question alexr186 Linux - Networking 3 11-02-2003 08:48 AM
Easy Question about sendmail for GURUS cartfanatic39 Linux - Networking 3 09-18-2003 07:05 AM
Quick Easy Basic Question RaheimSG Linux - Hardware 5 09-12-2002 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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