Skip to content

Instantly share code, notes, and snippets.

@onpubcom
Last active September 28, 2017 14:26
Show Gist options
  • Save onpubcom/7f41dc9cbe90556b2113 to your computer and use it in GitHub Desktop.
Save onpubcom/7f41dc9cbe90556b2113 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 gcc kernel-devel -y
# Create working dir for Broadcom driver files and patches.
mkdir hybrid_wl_f23
# Change to working dir.
cd hybrid_wl_f23
if [ 'x86_64' == `uname -m` ]; then
# 64-bit driver files.
FILE='hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz'
else
# 32-bit driver files.
FILE='hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz'
fi
# Download Broadcom Linux Wi-Fi driver.
wget http://www.broadcom.com/docs/linux_sta/$FILE
# Extract driver files.
tar zxvf $FILE
# Compile driver.
make clean && make
# Install driver.
sudo make install
# Update available drivers.
sudo depmod -a
# Unload conflicting drivers.
sudo rmmod b43 ssb bcma
# Load the driver.
sudo modprobe wl
# Blacklist conflicting drivers.
printf 'blacklist b43\nblacklist ssb\nblacklist bcma\n' | sudo tee /etc/modprobe.d/wl.conf
# Load driver automatically at boot time.
echo 'wl' | sudo tee /etc/modules-load.d/wl.conf
# Connect to a Wi-Fi network via NetworkManager...
@adsnjhfyeqw231eas
Copy link

After running this script, the wireless extension is successfully installed in my fedora 23(64 bit), but problem is no wifi is discovered!
(its not the the problem of my router because other devices successfully discover wifi)

How can I solve it? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment