Created
January 15, 2013 22:04
-
-
Save X4/4542556 to your computer and use it in GitHub Desktop.
Fixes problems with the iwlwifi driver stalling on Kernels 3.6+
Error: iwlwifi 0000:04:00.0: fail to flush all tx fifo queues
This file contains hidden or 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/bash | |
| ifconfig wlan0 down && sleep 1 | |
| ifconfig wlan0 up && sleep 1 | |
| echo "Reset WiFi" | |
| rmmod iwldvm && sleep 1 | |
| rmmod iwlwifi && sleep 1 | |
| echo "Remove Intel kernel modules" | |
| modprobe iwlwifi auto_agg=0 wd_disable=1 bt_coex_active=0 && sleep 1 | |
| modprobe iwldvm && sleep 1 | |
| echo "Reconfigure Intel kernel modules" | |
| ifconfig wlan0 up && sleep 1 | |
| iwlist wlan0 scan >/dev/null && sleep 1 | |
| echo "Initialize WiFi-Card" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment