PDA

View Full Version : [ubuntu] Avoiding 'sudo modprobe ndiswrapper' command on Reboot (How can I?)



wklang
May 2nd, 2009, 05:03 AM
I recently upgraded from 8.10 to 9.04 and - using the instructions contained in the thread

"http:////ubuntuforums.org/showthread.php?t=530772"

I was able to get my WUSB300N wireless adapter to run......until I reboot the machine.

On reboot, I have to once again issue the command in order to restart th wireless adapter.


sudo modprobe ndiswrapper

I boot Ubuntu into the Gnome Display. Is there an "rc" file of some sort where I can insert this command where it'll automatically be executed when I login?

amingv
May 2nd, 2009, 05:44 AM
Just do


sudo ndiswrapper -m

wklang
May 2nd, 2009, 06:25 AM
Thanks, but I tried it under 9.04 and - while it worked under 8.10, it doesn't appear to work under 9.04.

What I get when I try is this:



wes@kashgar-ubuntu:~$ sudo ndiswrapper -m
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
module configuration already contains alias directive

wes@kashgar-ubuntu:~$


Any suggestions?

amingv
May 2nd, 2009, 01:28 PM
Try:


sudo su
echo "ndiswrapper" >> /etc/modules
exit

wklang
May 3rd, 2009, 02:01 AM
Thanks, amingv. The fix you suggested worked like a charm!

mirrorx
August 3rd, 2011, 06:34 AM
I recently upgraded from 8.10 to 9.04 and - using the instructions contained in the thread

"http:////ubuntuforums.org/showthread.php?t=530772"

I was able to get my WUSB300N wireless adapter to run......until I reboot the machine.

On reboot, I have to once again issue the command in order to restart th wireless adapter.


sudo modprobe ndiswrapper

I boot Ubuntu into the Gnome Display. Is there an "rc" file of some sort where I can insert this command where it'll automatically be executed when I login?
Its telling file not found,

and when I tried to download and install ndiswrapper,I am getting make error [2]

what to do ?