starting the wireless adapter

Hello,

I have been trying to get my Broadcom BCM4328 to work properly on openSUSE 11.2 (kernel 2.6.31.5). Finally, after installing the wl kernel module, I managed to get it working when a run the following commands after a reboot:

sudo /sbin/modprobe -r b43 b44 ssb wl
sudo /sbin/modprobe wl
sudo /sbin/modprobe b44
sudo /etc/init.d/network restart

My question is how can I automate the above commands, i.e. create a startup script to initialise the wireless adapter properly without the need to manually reload the kernel modules?

Thanks!

Not quite sure, but I would say blacklisting ssb should do the job here. Do this:

su -c ‘kwrite /etc/modprobe.d/50-blacklist.conf’

Add the line below at the bottom of the file:

blacklist ssb

Save it, reboot and see if wireless works without the trick. To undo this, remove the added line, reboot and you’re back where you came from.

It didn’t work. I’m not an expert, but as far as I know the b44 module depends on (or uses) the ssb. Therefore, if the b44 is loaded before the wl, ssb will eventually get loaded and ‘grab’ the wireless adapter. I think this is the reason for manually loading the wl before the b44.

On 02/04/2010 09:46 AM, febo wrote:
>
> It didn’t work. I’m not an expert, but as far as I know the b44 module
> depends on (or uses) the ssb. Therefore, if the b44 is loaded before the
> wl, ssb will eventually get loaded and ‘grab’ the wireless adapter. I
> think this is the reason for manually loading the wl before the b44.

If you need b44 for your wired ethernet device, and wl for your wireless (you
do), wl must be loaded first for the reasons you state.

To do it automatically, add ssb, b43, and b44 to the blacklist file
(/etc/modules.d/50-blacklist.conf) and add the commands below to
/etc/init.d/boot.local:

/sbin/modprobe wl
/sbin/modprobe ssb
/sbin/modprobe b44

IIRC, boot.local will be processed before the network is started, thus the
network restart is not needed here. If I’m wrong, add it too.