Tag Archives: broadcom

kernel Linux openSUSE Wireless

Compiling the wireless module “broadcom-wl” for kernel 4.x under openSUSE 13.2

This weekend I was trying to compile the broadcom-wl src package for kernel 4.0.5-4 under my openSUSE 13.2 installed on my Mac Book Air 13″ (dual boot). After I updated my Linux box the wireless was a mess, it left to work.

I decided to compile the module from sources.

First, I downloaded all its dependencies with:
zypper source-install -d broadcom-wl-kmp-desktop

Second I got the source RPM package broadcom-wl- from here.

After I tried to rebuild the package with the command rpmbuild (you need to install it if you don’t have it).
rpmbuild --rpbuild broadcom-wl-

But I was getting this error message:

rpmbuild --rebuild broadcom-wl-
Installing broadcom-wl-
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
cat: /usr/src/packages/SOURCES/broadcom-wl-preamble: No such file or directory
error: File /usr/src/packages/SOURCES/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz: No such file or directory

I found I need some additional files. I got them from here. I just need the files: broadcom-wl-preamble and hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz, I downloaded them.

After I downloaded them, I copied them to correct path:
mv ~/Download/broadcom-wl-preamble /usr/src/packages/SOURCES/
mv ~/Download/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz /usr/src/packages/SOURCES/

I tried again to rebuild the package:

rpmbuild --rebuild broadcom-wl-

This time, all it’s fine.

The new RPMS built was generated on /usr/src/packages/RPMS/x86_64. I just only need to install them:

rpm -i /usr/src/packages/RPMS/x86_64/broadcom-wl-kmp-desktop- /usr/src/packages/RPMS/x86_64/broadcom-wl-

That’s it. Just I need to load the kernel module:

modprobe wl

It’s works. The wireless “Network controller: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter” it’s working now.