jakeday / linux-surface

Linux Kernel for Surface Devices
2.6k stars 243 forks source link

Changes I make to ath10k board.bin files just revert on reboot in Tails os #650

Open thedacky opened 4 years ago

thedacky commented 4 years ago

Hello I'm desperate for some help......I'm a complete novice user who doesn't understand much at all about how this all works. I've installed Tails live on USB and have no issue booting and running tails apart from WiFi not working - no wifi networks are visible. I understand this is a common problem and requires the following steps to fix:

  1. The Board.bin file to be downloaded from http://www.killernetworking.com/support/K1535_Debian/board.bin
  2. Remove the /lib/firmware/ath10k/QCA6174/hw2.1/board.bin and /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
  3. Remove the board-2.bin files from /lib/firmware/ath10k/QCA6174/hw2.1 and /lib/firmware/ath10k/QCA6174/hw3.0/
  4. Copy the downloaded Board.bin to /lib/firmware/ath10k/QCA6174/hw2.1 and /lib/firmware/ath10k/QCA6174/hw3.0/
  5. Use the following command - sudo gedit /etc/modprobe.d/ath10k.config - to create ath10k.conf file with the following specification "options ath10k_core skip_otp=y".

I've learnt how to used terminal commands to be able to run through all these steps with no issue but when done and I reboot then none of these changes are saved and the changes just revert. I've set up persistence which is working fine and I don't suspect that to be the issue. I also tried to follow the instructions under "Download Pre-built Kernel and Headers" but the same issue occurs. I can get through the updates but once I reboot everything reverts. That said I'm not sure I'm doing the right thing as Tails is Debian not Ubuntu based and I cannot get the instructions for "Compiling the Kernel from Source For Debian-Based Systems" to work.

When executing step 0 I get the following output: Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package build-essential E: Unable to locate package binutils-dev E: Unable to locate package libncurses5-dev E: Unable to locate package libssl-dev E: Unable to locate package ccache E: Unable to locate package bison E: Unable to locate package flex E: Unable to locate package libelf-dev

When executing step 1 I get the following output:

Cloning into '/root/linux-stable'... 1586433216 PERROR torsocks[30214]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202) fatal: unable to look up git.kernel.org (port 9418) (Non-recoverable failure in name resolution)

So something is not right and I'm not sure where to go from here. The fact that no changes I'm making using Terminal commands persist on reboot has got me stumped. Any help that can be provided will be greatly appreciated.

sphh commented 3 years ago

Please see #677.