Results 1 to 6 of 6

Thread: How to turn off WIFI power management?

  1. #1
    Join Date
    May 2009
    Beans
    6

    Resolved - How to turn off WIFI power management?

    Hi, and thanks in advance for the help!

    I'm trying to figure out how to turn off the WIFI power management (Ubuntu 9.10, eee-PC 1000HE, Atheros 928X).

    I can do it using 'sudo iwconfig wlan0 power off' and it does indeed seem to stabilize the random drops in the wireless network.

    I know I've seen somewhere in this forum which /etc config file to put the change into, but I can't seem to find it now to save my life!

    Can somebody please point me in the right direction so that I can turn off power management and have it survive across reboots?

    thanks!!!
    Last edited by trherald; December 21st, 2009 at 11:06 PM. Reason: problem solution found!

  2. #2
    Join Date
    May 2009
    Beans
    6

    Re: How to turn off WIFI power management?

    I think I found a solution (at least it SEEMS to work):

    modify /etc/network/interfaces and add:

    auto wlan0
    iface wlan0 inet dhcp
    wireless-power off

    reboot and lo-and-behold iwconfig shows power management off!!

  3. #3
    Join Date
    Feb 2009
    Location
    Turkey
    Beans
    10
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to turn off WIFI power management?

    Thanks for posting this

  4. #4
    Join Date
    May 2011
    Location
    Melbourne
    Beans
    4
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to turn off WIFI power management?

    I tried what you said in 11.04, and it totally ballsed up my networking. My menu bar looked like it was from an older version, and it wouldn't connect at all (and if i went to iwconfig, it said that my power management was still on). How can I basically do what you want to do, but in 11.04?

  5. #5
    Join Date
    May 2011
    Location
    Melbourne
    Beans
    4
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to turn off WIFI power management?

    I found a solution:

    Go to /etc/pm/power.d and create a file called wireless. In it write:

    #!/bin/sh
    /sbin/iwconfig wlan0 power off
    and you should be fine! From what I can work out, this basically overrides ubuntu's default power management regarding wireless. Seems to be working for me on 11.04.
    Last edited by Jepeppi; May 26th, 2011 at 05:46 AM.

  6. #6
    Join Date
    Apr 2009
    Beans
    1

    Re: How to turn off WIFI power management?

    Adding the "wireless-power off" to /etc/network/interfaces works!

    Thanks a lot!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •