Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ipernet/2b440dd0f608b6af5e7e to your computer and use it in GitHub Desktop.
Save ipernet/2b440dd0f608b6af5e7e to your computer and use it in GitHub Desktop.
Broadcom wireless drivers for Fedora 23 x86_64 (kmod-wl)
# su -
# dnf install akmod-wl
# mkdir /root/rpmbuild/SOURCES/wl-kmod-4.2.3
# cp -rp /usr/src/akmods/wl-kmod-6.30.223.248-8.fc22.1.src.rpm /root/rpmbuild/SOURCES/wl-kmod-4.2.3/
# cd /root/rpmbuild/SOURCES/wl-kmod-4.2.3/
# rpm2cpio wl-kmod-6.30.223.248-8.fc22.1.src.rpm | cpio -idmv
# mkdir hb
# tar xvf hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz -C hb/
# cd hb/
# curl https://gist.githubusercontent.com/boesing/ae0777c0095a1d8d317f/raw/eb9b73a4bf531292c07f6b1dc3a43458ed970d86/wl_cfg80211_hybrid.c | patch -p2
# tar zcvf ../hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz *
# cd ..
# rm -r hb/
# cp -rp wl-kmod.spec ../../SPECS/
# mv * /root/rpmbuild/SOURCES/ && rmdir wl-kmod-4.2.3
# rpmbuild -ba wl-kmod.spec
# rpm -ivh /root/rpmbuild/RPMS/x86_64/kmod-wl-4.2.3-300.fc23.x86_64-6.30.223.248-8.fc23.1.x86_64.rpm
# modprobe wl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment