LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Broadcom card and init commands (https://www.linuxquestions.org/questions/linux-newbie-8/broadcom-card-and-init-commands-644061/)

ogee 05-22-2008 12:34 PM

Broadcom card and init commands
 
After trying about a dozen links and suggestions on how to get my Broadcom bcm94311 card working (it wasn't listed in the restricted drivers either) I had ndiswrapper installed but still no luck. Then I found a tip to run the following commands:

Quote:

sudo rmmod ohci_hcd
sudo rmmod ssb
sudo rmmod ndiswrapper
sudo modprobe ndiswrapper
sudo modprobe ohci_hcd
After running the above I had the following results:

Quote:

robb@MOM4313:~$ sudo rmmod ssb
sudo: unable to resolve host MOM4313
[sudo] password for robb:
robb@MOM4313:~$ sudo rmmod ndiswrapper
sudo: unable to resolve host MOM4313
robb@MOM4313:~$ sudo modprobe ndiswrapper
sudo: unable to resolve host MOM4313
robb@MOM4313:~$ sudo modprobe uhci_hcd
sudo: unable to resolve host MOM4313
robb@MOM4313:~$
And I had wireless working. Running these commands is a pain since it is extremely slow with no network connetion.
My question is where would be the best place to put them so that they will run when I boot. I looked at rc.local but I'm not sure I understand the scripts that are there.
thanks

bigrigdriver 05-22-2008 01:09 PM

/etc/modprobe is the file that loads modules on boot; I guess it could also remove them. But, if you modify that file, you may loose your modifications the next time /etc/modprobe is updated.

So, creat file /etc/modprobe.local if it doesn't exist, and put your commands in there.

ogee 05-22-2008 02:22 PM

Broadcom card and init commands
 
bigrigdriver: I put the needed commands into a file /etc/modprobe.local and rebooted but with no luck. I deleted the file and ran each command individually (which takes approx. 30 seconds for each one to complete) to get back to working wireless.


All times are GMT -5. The time now is 12:18 AM.