⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iwconfig.8

📁 This package contains the Wireless tools, used to manipulate the Wireless Extensions. The Wireless
💻 8
📖 第 1 页 / 共 2 页
字号:
.IR "lifetime `value'" .By defaults, this value in in seconds, append the suffix m or u tospecify values in milliseconds or microseconds..brYou can also add the.IR min " and " maxmodifiers. If the card supports automatic mode, they define the boundsof the limit or lifetime. Some other cards define different valuesdepending on packet size, for example in 802.11.I min limitis the short retry limit (non RTS/CTS packets)..br.B Examples :.br.I "	iwconfig eth0 retry 16".br.I "	iwconfig eth0 retry lifetime 300m".br.I "	iwconfig eth0 retry min limit 8".TP.BR rts [_threshold]RTS/CTS adds a handshake before each packet transmission to make surethat the channel is clear. This adds overhead, but increasesperformance in case of hidden nodes or a large number of activenodes. This parameter sets the size of the smallest packet for whichthe node sends RTS ; a value equal to the maximum packet size disablesthe mechanism. You may also set this parameter to.IR auto ", " fixed " or " off ..br.B Examples :.br.I "	iwconfig eth0 rts 250".br.I "	iwconfig eth0 rts off".TP.BR frag [mentation_threshold]Fragmentation allows to split an IP packet in a burst of smallerfragments transmitted on the medium. In most cases this adds overhead,but in a very noisy environment this reduces the error penalty andallow packets to get through interference bursts. This parameter setsthe maximum fragment size which is always lower than the maximumpacket size..brThis parameter may also control Frame Bursting available on somecards, the ability to send multiple IP packets together. Thismechanism would be enabled if the fragment size is larger than themaximum packet size..brYou may also set this parameter to.IR auto ", " fixed " or " off ..br.B Examples :.br.I "	iwconfig eth0 frag 512".br.I "	iwconfig eth0 frag off".TP.BR key / enc [ryption]Used to manipulate encryption or scrambling keys and security mode..brTo set the current encryption key, just enter the key in hex digits as.IR XXXX-XXXX-XXXX-XXXX " or " XXXXXXXX .To set a key other than the current key, prepend or append.I [index]to the key itself (this won't change which is the active key). You canalso enter the key as an ASCII string by using the.I s:prefix. Passphrase is currently not supported..brTo change which key is the currently active key, just enter.I [index](without entering any key value)..br.IR off " and " ondisable and reenable encryption..brThe security mode may be.I openor.IR restricted ,and its meaning depends on the card used. With most cards, in.I openmode no authentication is used and the card may also acceptnon-encrypted sessions, whereas in.I restrictedmode only encrypted sessions are accepted and the card will useauthentication if available..brIf you need to set multiple keys, or set a key and change the activekey, you need to use multiple.B keydirectives. Arguments can be put in any order, the last one will takeprecedence..br.B Examples :.br.I "	iwconfig eth0 key 0123-4567-89".br.I "	iwconfig eth0 key [3] 0123-4567-89".br.I "	iwconfig eth0 key s:password [2]".br.I "	iwconfig eth0 key [2]".br.I "	iwconfig eth0 key open".br.I "	iwconfig eth0 key off".br.I "	iwconfig eth0 key restricted [3] 0123456789".br.I "	iwconfig eth0 key 01-23 key 45-67 [4] key [4]".TP.BR powerUsed to manipulate power management scheme parameters and mode..brTo set the period between wake ups, enter.IR "period `value'" .To set the timeout before going back to sleep, enter.IR "timeout `value'" .You can also add the.IR min " and " maxmodifiers. By default, those values are in seconds, append the suffixm or u to specify values in milliseconds or microseconds. Sometimes,those values are without units (number of beacon periods, dwell orsimilar)..br.IR off " and " ondisable and reenable power management. Finally, you may set the powermanagement mode to.I all(receive all packets),.I unicast(receive unicast packets only, discard multicast and broadcast) and.I multicast(receive multicast and broadcast only, discard unicast packets)..br.B Examples :.br.I "	iwconfig eth0 power period 2".br.I "	iwconfig eth0 power 500m unicast".br.I "	iwconfig eth0 power timeout 300u all".br.I "	iwconfig eth0 power off".br.I "	iwconfig eth0 power min period 2 power max period 4".TP.BR commitSome cards may not apply changes done through Wireless Extensionsimmediately (they may wait to aggregate the changes or apply it onlywhen the card is brought up via ifconfig). This command (whenavailable) forces the card to apply all pending changes..brThis is normally not needed, because the card will eventually applythe changes, but can be useful for debugging..\".\" DISPLAY part.\".SH DISPLAYFor each device which supports wireless extensions,.I iwconfigwill display the name of the.B MAC protocolused (name of device for proprietary protocols), the.B ESSID(Network Name), the.BR NWID ,the.B frequency(or channel), the.BR sensitivity ,the.B modeof operation, the.B Access Pointaddress, the.BR bit-rate ,the.BR "RTS threshold" ", the " "fragmentation threshold" ,the.B encryption keyand the.B power managementsettings (depending on availability)..PPThe parameters displayed have the same meaning and values as theparameters you can set, please refer to the previous part for adetailed explanation of them..brSome parameters are only displayed in short/abbreviated form (such asencryption). You may use.IR iwlist (8)to get all the details..brSome parameters have two modes (such as bitrate). If the value isprefixed by.RB ` = ',it means that the parameter is fixed and forced to that value, if itis prefixed by.RB ` : ',the parameter is in automatic mode and the current value is shown (andmay change)..TP.BR "Access Point" / CellAn address equal to 00:00:00:00:00:00 means that the card failed toassociate with an Access Point (most likely a configurationissue). The.B Access Pointparameter will be shown as.B Cellin ad-hoc mode (for obvious reasons), but otherwise works the same..PPIf.I /proc/net/wirelessexists,.I iwconfigwill also display its content. Note that those values will depend onthe driver and the hardware specifics, so you need to refer to yourdriver documentation for proper interpretation of those values..TP.B Link qualityOverall quality of the link. May be based on the level of contentionor interference, the bit or frame error rate, how good the receivedsignal is, some timing synchronisation, or other hardware metric. Thisis an aggregate value, and depends totally on the driver and hardware..TP.B Signal levelReceived signal strength (RSSI - how strong the received signalis). May be arbitrary units or dBm,.I iwconfiguses driver meta information to interpret the raw value given by.I /proc/net/wirelessand display the proper unit or maximum value (using 8 bit arithmetic). In.I Ad-Hocmode, this may be undefined and you should use.IR iwspy ..TP.B Noise levelBackground noise level (when no packet is transmitted). Similarcomments as for.BR "Signal level" ..TP.B Rx invalid nwidNumber of packets received with a different NWID or ESSID. Used todetect configuration problems or adjacent network existence (on thesame frequency)..TP.B Rx invalid cryptNumber of packets that the hardware was unable to decrypt. This can beused to detect invalid encryption settings..TP.B Rx invalid fragNumber of packets for which the hardware was not able to properlyre-assemble the link layer fragments (most likely one was missing)..TP.B Tx excessive retriesNumber of packets that the hardware failed to deliver. Most MACprotocols will retry the packet a number of times before giving up..TP.B Invalid miscOther packets lost in relation with specific wireless operations..TP.B Missed beaconNumber of periodic beacons from the Cell or the Access Point we havemissed. Beacons are sent at regular intervals to maintain the cellcoordination, failure to receive them usually indicates that the cardis out of range..\".\" AUTHOR part.\".SH AUTHORJean Tourrilhes \- jt@hpl.hp.com.\".\" FILES part.\".SH FILES.I /proc/net/wireless.\".\" SEE ALSO part.\".SH SEE ALSO.BR ifconfig (8),.BR iwspy (8),.BR iwlist (8),.BR iwevent (8),.BR iwpriv (8),.BR wireless (7).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -