Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Re: iwlwifi - problem with wireless radio being
killed

Neil Bothwick

2008-04-22

Replies: Find Java Web Hosting

Author LoginPost Reply
On Sun, 20 Apr 2008 16:42:41 -0500, »Q« wrote:

> I wish I knew how to keep it from going off in the first place,

It's probably a good thing, especially if your laptop's battery is as
rubbish as mine

> for now I'll just give an alias to
> "/etc/init.d/net.wlan0 stop && iwconfig wlan0 txpower on
> && /etc/init.d/net.wlan0 start"

There's no need to mess around with aliases, the network scripts can
handle this automatically. Add this to /etc/conf.d/net

preup() {
  [[ ${IFACE} == "wlan0" ]] && iwconfig wlan0 txpower on
  return 0
}


--
Neil Bothwick

Pentium is a risk processor

Attachment: signature.asc (zipped)
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.