Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. @onpubcom onpubcom revised this gist Nov 16, 2015. 1 changed file with 14 additions and 12 deletions.
    26 changes: 14 additions & 12 deletions fedora23_broadcom_wl_install.sh
    Original file line number Diff line number Diff line change
    @@ -1,28 +1,30 @@
    #/usr/bin/env bash

    # Install some pacakages we'll need to compile the driver below.
    sudo dnf install git kernel-devel patch -y
    sudo dnf install gcc kernel-devel 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
    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

    # 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
    # Download Broadcom Linux Wi-Fi driver
    wget http://www.broadcom.com/docs/linux_sta/$FILE

    # Apply driver patches.
    find broadcom-wl/ -type f -name '*.patch' -exec patch -p1 -i {} \;
    # Extract driver files.
    tar zxvf $FILE

    # Compile driver.
    make
    make clean && make

    # Install driver.
    sudo make install
    @@ -36,4 +38,4 @@ 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...
    # Connect to a Wi-Fi network via NetworkManager...
  2. @onpubcom onpubcom revised this gist Sep 27, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fedora23_broadcom_wl_install.sh
    Original file line number Diff line number Diff line change
    @@ -33,7 +33,7 @@ sudo depmod -a
    # Load the driver.
    sudo modprobe wl

    # Make the driver load automatically at boot.
    echo "wl" | sudo tee /etc/modules-load.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...
  3. @onpubcom onpubcom revised this gist Sep 27, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions fedora23_broadcom_wl_install.sh
    Original file line number Diff line number Diff line change
    @@ -33,4 +33,7 @@ sudo depmod -a
    # Load the driver.
    sudo modprobe wl

    # Make the driver load automatically at boot.
    echo "wl" | sudo tee /etc/modules-load.d/wl.conf

    # Connect to a Wi-Fi network via NetworkManager...
  4. @onpubcom onpubcom revised this gist Sep 27, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fedora23_broadcom_wl_install.sh
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,10 @@
    sudo dnf install git kernel-devel patch -y

    # Create working dir for Broadcom driver files and patches.
    mkdir hybrid_wl
    mkdir hybrid_wl_f23

    # Change to working dir.
    cd hybrid_wl
    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
  5. @onpubcom onpubcom created this gist Sep 26, 2015.
    36 changes: 36 additions & 0 deletions fedora23_broadcom_wl_install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    #/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...