Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: iwlwifi - problem with wireless radio being killed
Date: Tue, 22 Apr 2008 10:30:34
Message-Id: 20080422113026.18a84fa4@loonquawl.digimed.co.uk
In Reply to: [gentoo-user] Re: iwlwifi - problem with wireless radio being killed by "»Q«"
1 On Sun, 20 Apr 2008 16:42:41 -0500, »Q« wrote:
2
3 > I wish I knew how to keep it from going off in the first place,
4
5 It's probably a good thing, especially if your laptop's battery is as
6 rubbish as mine
7
8 > for now I'll just give an alias to
9 > "/etc/init.d/net.wlan0 stop && iwconfig wlan0 txpower on
10 > && /etc/init.d/net.wlan0 start"
11
12 There's no need to mess around with aliases, the network scripts can
13 handle this automatically. Add this to /etc/conf.d/net
14
15 preup() {
16 [[ ${IFACE} == "wlan0" ]] && iwconfig wlan0 txpower on
17 return 0
18 }
19
20
21 --
22 Neil Bothwick
23
24 Pentium is a risk processor

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: iwlwifi - problem with wireless radio being killed "»Q«" <boxcars@×××.net>