Skip to content

Instantly share code, notes, and snippets.

@PandorasFox
Created December 28, 2019 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PandorasFox/cf9b547a8ac07febf8ee451b819835ce to your computer and use it in GitHub Desktop.
Save PandorasFox/cf9b547a8ac07febf8ee451b819835ce to your computer and use it in GitHub Desktop.
#!/bin/sh
# run me after updating surface-linux while you still have wifi
# (or keep a copy of board.bin stashed somewhere)
sudo rm -fv /tmp/board.bin
curl -A "Mozilla/4.0" www.killernetworking.com/support/K1535_Debian/board.bin > /tmp/board.bin
sudo rm -fv /usr/lib/firmware/ath10k/QCA6174/hw{3.0,2.1}/board-2.bin /usr/lib/firmware/ath10k/QCA6174/hw3.0/board.bin
sudo cp -v /tmp/board.bin /usr/lib/firmware/ath10k/QCA6174/hw3.0/board.bin
sudo cp -v /tmp/board.bin /usr/lib/firmware/ath10k/QCA6174/hw2.1/board.bin
sudo modprobe -rv ath10k_pci && sudo modprobe -v ath10k_pci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment