No description
  • Shell 80.3%
  • Makefile 19.7%
Find a file
2026-05-01 17:09:25 +01:00
fixwifi.service initial commit 2026-05-01 16:54:41 +01:00
fixwifi.sh initial commit 2026-05-01 16:54:41 +01:00
LICENSE initial commit 2026-05-01 16:54:41 +01:00
Makefile add makefile 2026-05-01 17:08:00 +01:00
README update readme formatting 2026-05-01 17:09:25 +01:00

ABOUT

This is a small script that automatically kicks the iwlwifi driver to get it
running again when it dies, the firmware for this driver on linux is fucking
awful and dies constantly while under load.

Credit to John-Vison <https://github.com/John-Vision/Intel-7260-Wifi-Fix> for
the solution, my script is a cleaner version of it with better support for
more modern software.

USAGE

$ sudo nohup ~/fixwifi.sh >/var/log/fixwifi.log 2>&1 &

There is also a systemd service you can install if you're on systemd, but you
do need to obviously change the path to wherever you put the script. The
service also needs to run as a system service rather than user for obvious
reasons.

You can use the Makefile to install the service and script as well as enable
and start the service automatically. It puts the service file in
"/etc/systemd/system/iwlwifi.service" and the script in
"/usr/local/bin/iwlwifi.sh"

I have also read on a couple of forum posts that you can disable power saving
to reduce the frequency of the driver dying, but I don't know how effective
that is in practice.

$ echo "options iwlwifi power_save=0" | sudo tee /etc/modprobe.d/iwlwifi.conf

LICENSE

[MIT](./LICENSE)