Ubuntu 11.10: avoid wireless network energy management

By Default, Ubuntu 11.10, comes with a very awkward energy management policy: when you switch off the power cable or you come from a sleep, the wireless network card turns instantly off. Besides, if your wireless card doesn’t work properly as mine (RT3090), maybe this policy can bring you some unexpected headaches.

The solution is to create a text file, located in /etc/pm/power.d/ and name it wireless:

sudo gedit /etc/pm/power.d/wireless

With the following content:

#!/bin/sh

/sbin/iwconfig wlan0 power off

In addition, it is necessary to give “read” and “write” permissions to all users:

sudo chmod 777 /etc/pm/power.d/wireless

All we have to do now is to reboot. Energy Manager will not disconnect again the WIFI card.

Source: askubuntu.com

Advertisements

One thought on “Ubuntu 11.10: avoid wireless network energy management

  1. Pingback: Ubuntu 12.04: how to fix the wifi interface using Ralink RT3090 card | David Cortijo Martín

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s