|
|
Zaurus 中文论坛 - 手持linux设备专用 |
 |
View previous topic :: View next topic |
Author |
Message |
ccpaging
Joined: 07 Dec 2006 Posts: 757
小企鹅: 16604
|
Posted: 2007-Jan-07 Sun, pm3:02 |
|
Post subject: 把CF Wifi设置到省电模式 |
|
NAME
iwconfig - configure a wireless network interface
SYNOPSIS
iwconfig [interface]
iwconfig interface [essid X] [nwid N] [mode M] [freq F]
[channel C][sens S ][ap A ][nick NN ]
[rate R] [rts RT] [frag FT] [txpower T]
[enc E] [key K] [power P] [retry R]
[commit]
iwconfig --help
iwconfig --version
省电相关参数:
sens Set the sensitivity threshold. This is the lowest signal level
for which the hardware will consider receive packets usable.
Positive values are assumed to be the raw value used by the
hardware or a percentage, negative values are assumed to be dBm.
Depending on the hardware implementation, this parameter may
control various functions.
This parameter may control the receive threshold, the lowest
signal level for which the hardware attempts packet reception,
signals weaker than this are ignored. This may also controls the
defer threshold, the lowest signal level for which the hardware
considers the channel busy. Proper setting of those threshold
prevent the card to waste time receiving background noise. Mod-
ern designs seems to control those thresholds automatically.
On modern cards, this parameter may control handover/roaming
threshold, the lowest signal level for which the hardware
remains associated with the current Access Point. When the sig-
nal level goes below this threshold the card starts looking for
a new/better Access Point.
Example :
iwconfig eth0 sens -80
power Used to manipulate power management scheme parameters and mode.
To set the period between wake ups, enter period ���value���. To
set the timeout before going back to sleep, enter timeout
���value���. You can also add the min and max modifiers. By
default, those values are in seconds, append the suffix m or u
to specify values in milliseconds or microseconds. Sometimes,
those values are without units (number of beacon periods, dwell
or similar).
off and on disable and reenable power management. Finally, you
may set the power management mode to all (receive all packets),
unicast (receive unicast packets only, discard multicast and
broadcast) and multicast (receive multicast and broadcast only,
discard unicast packets).
Examples :
iwconfig eth0 power period 2
iwconfig eth0 power 500m unicast
iwconfig eth0 power timeout 300u all
iwconfig eth0 power off
iwconfig eth0 power min period 2 power max period 4
txpower
For cards supporting multiple transmit powers, sets the transmit
power in dBm. If W is the power in Watt, the power in dBm is P =
30 + 10.log(W). If the value is postfixed by mW, it will be
automatically converted to dBm.
In addition, on and off enable and disable the radio, and auto
and fixed enable and disable power control (if those features
are available).
Examples :
iwconfig eth0 txpower 15
iwconfig eth0 txpower 30mW
iwconfig eth0 txpower auto
iwconfig eth0 txpower off _________________ SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/ |
|
Back to top |
|
mikehuang
Joined: 26 Dec 2006 Posts: 21
小企鹅: 597
|
Posted: 2007-Jan-07 Sun, pm4:01 |
|
Post subject: |
|
好专业,幸好我的sdwifi自带省电模式 |
|
Back to top |
|
ccpaging
Joined: 07 Dec 2006 Posts: 757
小企鹅: 16604
|
|
Back to top |
|
badog 论坛管理员
Joined: 01 Nov 2006 Posts: 1021
小企鹅: 6575
|
Posted: 2007-Jan-07 Sun, pm10:11 |
|
Post subject: |
|
盼望中 |
|
Back to top |
|
ccpaging
Joined: 07 Dec 2006 Posts: 757
小企鹅: 16604
|
Posted: 2007-Jan-07 Sun, pm11:29 |
|
Post subject: 初步设置 |
|
卡connected以后,进terminal
su
iwconfig wlan0 power on power max period 3
看看有没错误
再执行iwconfig
看看Power Management是不是改成on了
或者
Power Management period: 2.9993s
如果成功,电源灯可能开始闪了,不同的卡不一样
修改文件/etc/pcmcia/wireless.opts
文件最后加一句:
IWCONFIG="power on power max period 3"
具体的参数好多,我会在坛子里边翻译,然后找个最佳方案
重新插拔卡以后,可以用iwconfig看看,power是不是改过来了
而且,这样对数据传递基本没影响 _________________ SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/ |
|
Back to top |
|
水晶
Joined: 14 Jan 2007 Posts: 9
小企鹅: 232
|
Posted: 2007-Feb-05 Mon, pm8:27 |
|
Post subject: |
|
真是太专业了,可就是看不懂 不过,还是要顶  |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
|
 |
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
 |
|
|
|
|