Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dghubble/efb64a7e37e4fe02ebe3 to your computer and use it in GitHub Desktop.
Save dghubble/efb64a7e37e4fe02ebe3 to your computer and use it in GitHub Desktop.
#/usr/bin/env bash
# Install some pacakages we'll need to compile the driver below.
sudo dnf install git kernel-devel patch -y
# Create working dir for Broadcom driver files and patches.
mkdir hybrid_wl
# Change to working dir.
cd hybrid_wl
# Download Broadcom Linux Wi-Fi driver (64-bit version).
wget http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
# Extract driver files.
tar zxvf hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
# Download Linux 4.2 Broadcom driver patches.
git clone https://github.com/magnific0/broadcom-wl.git
# Apply driver patches.
find broadcom-wl/ -type f -name '*.patch' -exec patch -p1 -i {} \;
# Compile driver.
make
# Install driver.
sudo make install
# Update available drivers.
sudo depmod -a
# Load the driver.
sudo modprobe wl
# Connect to a Wi-Fi network via NetworkManager...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment