Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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.
Hey, I just got linux wireless workin on my Inspiron 5150, but I have one little problem. In order to get it working, I have to bring up a console, and run "modprobe ndiswrapper" each time I boot up. What do I need to do to automate this?
5. Automate
Once everything works fine you can write the correct modprobe settings to load ndiswrapper automatically when wlan0 interface is used, by running
ndiswrapper -m
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
I've already given that a try, but it hasn't been working... Wireless works fine when I activate it via "modprobe ndiswrapper" when logged in as root, however, I have to do this manually everytime i restart the machine. When I do "ndiswrapper -m", it gives me a message saying "Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf", however if I check this file, there is no such entry. Also, if I manually add the entry, upon reboot, the entry disappears. inside /etc/modules.d I have five files, 'aliases, alsa, i386, ndiswrapper, svgalib'. Help!
Originally posted by gauntalus When I do "ndiswrapper -m", it gives me a message saying "Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf", however if I check this file, there is no such entry. Also, if I manually add the entry, upon reboot, the entry disappears.
this is a common thing with distros. on debian what happens is that if you change those alias things, you have to *manually* run the command "update-modules". please check how gentoo do this, although it is probably a similar system. once you run that command the changes will be fixed. find that command.
Originally posted by pragmatico this is a common thing with distros. on debian what happens is that if you change those alias things, you have to *manually* run the command "update-modules". please check how gentoo do this, although it is probably a similar system. once you run that command the changes will be fixed. find that command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.