Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » CACKO & SHARP/金峰 & OZ

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
把CF Wifi设置到省电模式
View previous topic :: View next topic  
Author Message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2007-Jan-07 Sun, pm3:02 Reply with quote
 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
View user's profile Send private message
mikehuang



Joined: 26 Dec 2006
Posts: 21

小企鹅: 597

PostPosted: 2007-Jan-07 Sun, pm4:01 Reply with quote
 Post subject:

好专业,幸好我的sdwifi自带省电模式
Back to top
View user's profile Send private message AIM Address128955599 MSN Messenger Skype Name
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2007-Jan-07 Sun, pm5:05 Reply with quote
 Post subject:

都带省电,省多少不好说。
一般驱动都没开,待我慢慢翻译。
不喜欢SD卡,贵不说,拿手里不方便,离身体太近,信号不好。

_________________
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
View user's profile Send private message
badog
论坛管理员


Joined: 01 Nov 2006
Posts: 1021

小企鹅: 6575

PostPosted: 2007-Jan-07 Sun, pm10:11 Reply with quote
 Post subject:

盼望中
Back to top
View user's profile Send private message Send e-mail
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2007-Jan-07 Sun, pm11:29 Reply with quote
 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
View user's profile Send private message
水晶



Joined: 14 Jan 2007
Posts: 9

小企鹅: 232

PostPosted: 2007-Feb-05 Mon, pm8:27 Reply with quote
 Post subject:

真是太专业了,可就是看不懂 Shocked 不过,还是要顶 Laughing
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » CACKO & SHARP/金峰 & OZ All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
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