Created
August 11, 2016 16:53
-
-
Save marttosc/75b9678e0b83950ff3080daffff4b165 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 - Wifi problem with Qualcomm Atheros QCA6174 802.11ac
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
#!/bin/sh | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root!" 1>&2 | |
exit 1 | |
fi | |
cd /tmp | |
mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/ | |
mkdir /tmp/qca6174/ | |
cp /lib/firmware/ath10k/QCA6174/hw3.0/* /tmp/qca6174/ | |
rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2>/dev/null | |
wget -O board.bin https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/board-2.bin?raw=true | |
cp board.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin | |
wget -O firmware-4.bin https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true | |
cp firmware-4.bin /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin | |
chmod +x /lib/firmware/ath10k/QCA6174/hw3.0/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why copy board-2.bin to board.bin?
Is it board-2.bin to board-2.bin?