fario
asked on
Need to type "sudo modprobe ndiswrapper" at every single reboot to have wireless working
I'm very new to Linux,
after having installed ubuntu i needed some tricks with ndiswrapper to make my wireless PCI adapter work.
The problem is that every time i reboot my machine, i need to enter sudo modprobe ndiswrapper into the console
If i forget to do that command, i can't see my wlan0 in the ifconfig -a screen.
I've tried to edit
/etc/rc.local
in the purpose of adding the "sudo modprobe ndiswrapper" string but i can't save it, maybe because is a read only file.
Neither sudo ndiswrapper -m made the tricks
I'm using Ubuntu 10.04 beta2
Thank you for your help
after having installed ubuntu i needed some tricks with ndiswrapper to make my wireless PCI adapter work.
The problem is that every time i reboot my machine, i need to enter sudo modprobe ndiswrapper into the console
If i forget to do that command, i can't see my wlan0 in the ifconfig -a screen.
I've tried to edit
/etc/rc.local
in the purpose of adding the "sudo modprobe ndiswrapper" string but i can't save it, maybe because is a read only file.
Neither sudo ndiswrapper -m made the tricks
I'm using Ubuntu 10.04 beta2
Thank you for your help
Add "ndiswrapper" (without "") to /etc/modules.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or use: sudo nano /etc/etc/modules
if you want to edit the modules file instead.
if you want to edit the modules file instead.
typo... Should of course be: sudo nano /etc/modules
Really, don't use rc.local unless you've tried everything else. rc.local is a fallback for things you can't do anywhere else. It will quickly become unwieldy if you start putting things in there. This belongs in /etc/modules (which is what "sudo ndiswrapper -m" is admittedly supposed to do, but I've never seen it work).
Also, please don't advise using "nano". Use "editor", which may be "nano", but may be whatever other editor the system admin has installed as the default. Not all Linuxes will use nano by default.
Also, please don't advise using "nano". Use "editor", which may be "nano", but may be whatever other editor the system admin has installed as the default. Not all Linuxes will use nano by default.