I have turned off power management for my wireless. I did that in /etc/pm/power.d/wireless.
When I try to connect to a network, the power management turns back on. So the connection fails.
I try:
sudo iwconfig wlan0 power off
The power management is then off, but when I connect it is turned back on.
I added a service as detailed here, it is now initially off. When I try to connect, the power management turns on again.
Output of lshw -C network:
*-network
description: Wireless interface
product: Wireless 7260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 6b
serial: <redacted>
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=3.19.0-15-generic firmware=25.15.12.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:43 memory:f0400000-f0401fff
*-network DISABLED
description: Ethernet interface
physical id: 1
logical name: virbr0-nic
serial: <redacted>
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
What is happening here? Can I try anything else?