Turn off power management to kill wireless bug

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
artsown
Posts: 403
Joined: Wed 12 Sep 2012, 18:35

Turn off power management to kill wireless bug

#1 Post by artsown »

Pups on 3.X kerrnels have a bug that makes wireless almost unuseable with some hardwares.
Symptoms include extreme difficulty connecting, loss of connections and drops in download
speeds.

The workaround involves disabling power management on wlan0. To shut it off automatically
at startup, the usual advice is to add a line to the file rc.local in /etc/rc.d However, at least
one pup requires that the turnoff must occur after X starts and not before. This can be done
with a script in /root/startup

To create the script, open your text editor and type in this single line:

Code: Select all

iwconfig wlan0 power off
Save the file in /root/startup with a name like wireless (for example). Then exit your editor and
navigate to /root/startup. Right click on the file and select permissions. Click on Yes to make
the file a executeable script.

Reboot puppy before making your initial connection. The script
will auto-run each startup after X starts and connections then
will be made automatically.

I've tried this out on at least a half dozen newer and bleeding edge pups that have the bug
and this workaround has worked ok. To verify that power management is indeed off, type
iwconfig in your console.

Art

Post Reply