Comment 138 for bug 548992

Revision history for this message
Paul Smith (psmith-gnu) wrote :

I have this same problem (Ubuntu 11.10, dual-boot installation via Wubi, on a Samsung laptop--not sure of the model but it's brand new). lshw shows this for my wireless device:

                description: Wireless interface
                product: Centrino Advanced-N 6230
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: wlan0
                version: 34
                serial: 88:53:2e:67:ea:85
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlagn driverversion=3.0.0-12-generic firmware=17.168.5.1 build 33993 ip=192.168.1.108 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
                resources: irq:42 memory:c0500000-c0501fff

Disabling the power management via iwconfig seems to solve the problem. However, this is NOT persistent. When I reboot, it's set back to "on" and I get power issues.

I tried adding a script to /etc/network/if-pre-up.d that turned off power management, but that script was never being invoked (I added an echo to a file in /tmp which never showed up). I don't know why that script is not invoked??

I moved it to /etc/network/if-up.d and now it seems to work (although it takes a long time for me to get my first wireless connection, I think because the power management is not disabled until after the first connection).

Also, after rebooting a few times testing this out, my wireless got into some strange state where it would NEVER connect, and just continued to ask me for the wireless password (even though it already knew the right password). I rebooted into Windows, then back to Ubuntu, and so far it's been OK and the wireless is stable.

I really wonder why my pre-up scripts are not being invoked, though: I think if I could disable the power management before trying to bring up the interface I could connet