Last active
August 10, 2016 16:00
-
-
Save SeanTRobinson/5b82a93d3098a24ec0cd50a0eb26eac8 to your computer and use it in GitHub Desktop.
A script to fix the issues trying to get Ubuntu 14.04 running on the Dell XPS 13 1950 laptops.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "================================" | |
echo "Dell XPS 13 1950 Fixes for Ubuntu 14.04" | |
echo "================================" | |
echo "Downloading required files" | |
echo "--------------------------------" | |
mkdir patch/ | |
cd patch/ | |
wget "https://drive.google.com/open?id=0B2mAwPT_fh_IMVRjN0JHSnJpTTA" -O BCM-0a5c-6412.hcd | |
wget "https://drive.google.com/open?id=0B2mAwPT_fh_IcF9BcnkxTFhaazA" -O brcmfmac4350-pcie.bin | |
wget "https://drive.google.com/open?id=0B2mAwPT_fh_IMFdld2VLSWo3RVU" -O linux-headers-4.3.0-wifitest-custom_4.3.0-wifitest-custom-10.00.Custom_amd64.deb | |
wget "https://drive.google.com/open?id=0B2mAwPT_fh_IWnpaZ3BBcEdRZk0" -O linux-image-4.3.0-wifitest-custom_4.3.0-wifitest-custom-10.00.Custom_amd64.deb | |
echo "Patching" | |
echo "--------------------------------" | |
sudo chown root:root brcmfmac4350-pcie.bin BCM-0a5c-6412.hcd | |
sudo mv -t /lib/firmware/brcm/ BCM-0a5c-6412.hcd brcmfmac4350-pcie.bin | |
sudo dpkg -i linux-headers-4.3.0-wifitest-custom_4.3.0-wifitest-custom-10.00.Custom_amd64.deb linux-image-4.3.0-wifitest-custom_4.3.0-wifitest-custom-10.00.Custom_amd64.deb | |
echo "Updating" | |
echo "--------------------------------" | |
sudo apt-get upgrade | |
sudo apt-get update | |
echo "Fixing Wifi Adapter" | |
echo "--------------------------------" | |
sudo apt-get purge bcmwl-kernel-source broadcom-sta-common broadcom-sta-source | |
sudo apt-get install b43-fwcutter firmware-b43-installer | |
echo "Cleaning Up" | |
echo "--------------------------------" | |
cd .. | |
rm -rf patch/ | |
echo "--------------------------------" | |
echo "All done, please reboot." | |
echo "--------------------------------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment