quick easy question for all u linux gurus out there
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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.
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?
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.