Skip to content

Instantly share code, notes, and snippets.

@op-ct
Last active November 20, 2015 17:49
Show Gist options
  • Save op-ct/8cf6aad629094cdc3413 to your computer and use it in GitHub Desktop.
Save op-ct/8cf6aad629094cdc3413 to your computer and use it in GitHub Desktop.
fedora23_broadcom_wl_install.sh
#/usr/bin/env bash
# Install some pacakages we'll need to compile the driver below.
sudo dnf install git kernel-devel gcc patch -y
# Create working dir for Broadcom driver files and patches.
mkdir hybrid_wl_f23
# Change to working dir.
cd hybrid_wl_f23
# 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
# Load driver automatically at boot time.
echo 'wl' | sudo tee /etc/modules-load.d/wl.conf
# 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