Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed ndiswrapper and the driver bcmwlhigh5.inf for my netgear usb wifi. After booting my wifi is always offline. I can activate it using the command

sudo modprobe ndiswrapper

the wireless connection activates and stays active. Unfortunately this system is for my spouse who is blind. I don't want her to have to type terminal commands. Is there a file that I can append the aforementioned command to that will start the wireless on boot?

I'm running Ubuntu 12.04 LTS

share|improve this question

2 Answers 2

You can set up a cron job for this that is run at every reboot. Modify the root crontab by typing sudo crontab -e and add the line

@reboot <whatever you want to do>

Hope this helps.

share|improve this answer

Learned it from my question which was answered by Oli. You'd add it to the end of /etc/modules. Here's a command that will handle that for you. run it on terminal and restart system.

echo ndiswrapper | sudo tee -a /etc/modules

I think there after it will start automatically. I did it for my system and its working perfectly fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.