“I always say, 'This will be my last 'Metal Gear.'” Hideo Kojima

Intel Wireless 7260 and Archlinux

Hello!

If you have Archlinux installed in a laptop with an Intel Wireless 7260 card and your connection is very slow or unstable, read this. It may save you from crazyness.

First of all, read the wiki. It has some possible workarounds. None of them worked for me, but I had a slight clue of what to do. Since we changed the router recently, I was starting to think it may be a faulty unit. But the fact was that, sometimes, I got good results (like 1-2 mb/s of 5-6 mb/s possible). But it always went to garbage (100 kb/s). Also, connecting through Ethernet gave me 5-6 mb/s all the time. I tried connecting from Windows too, and Windows gave me 4-5 mb/s wirelessly.

So, The router was working fine. But power management seem to be involved on poor performance. So I checked if the udev rules was REALLY working… and I found that it was not. Power management was enabled even after rebooting. After some testing, I changed the udev rule on /etc/udev/rules.d/80-iwlwifi.rules to:

ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="<mac address>", RUN+="/usr/bin/iwconfig wlp2s0 power off"

Of course, change to your card's MAC address :)

EDIT: Also change “wlp2s0” to whatever name your device has (just run “iwconfig” on a terminal).

Also, if you have Laptop Mode Tools enabled, disable iwlwifi power management on cat /etc/laptop-mode/conf.d/wireless-iwl-power.conf changing IWL_AC_POWER and IWL_BATT_POWER like this:

IWL_AC_POWER=0
IWL_BATT_POWER=0

Now I’m having even better performance than on Windows. It gaves me 4-5 mb/s far from the router.

Hope it worked for you too :)

UPDATE 12/2014: Now that Archlinux includes “iwlwifi-7260-10.ucode” firmware, the wireless card seem to be working better. Anyway, I suggest backing up a copy of “iwlwifi-7260-7.ucode” firmware just in case (it seems to be the best version for 7260 cards). Firmware files are under /usr/lib/firmware.

Jordi