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

📄 iwconfig.8

📁 采用嵌入式开发的wireless无线模组的应用开发工具
💻 8
📖 第 1 页 / 共 2 页
字号:
.\" Jean II - HPLB - 1996 => HPL - 2004.\" iwconfig.8.\".TH IWCONFIG 8 "22 June 2004" "wireless-tools" "Linux Programmer's Manual".\".\" NAME part.\".SH NAMEiwconfig \- configure a wireless network interface.\".\" SYNOPSIS part.\".SH SYNOPSIS.BI "iwconfig [" interface ].br.BI "iwconfig " interface " [essid " X "] [nwid " N "] [freq " F "] [channel " C ].br.BI "                   [sens " S "] [mode " M "] [ap " A "] [nick " NN ].br.BI "                   [rate " R "] [rts " RT "] [frag " FT "] [txpower " T ].br.BI "                   [enc " E "] [key " K "] [power " P "] [retry " R ].br.BI "                   [commit].br.BI "iwconfig --help".br.BI "iwconfig --version".\".\" DESCRIPTION part.\".SH DESCRIPTION.B Iwconfigis similar to.IR ifconfig (8),but is dedicated to the wireless interfaces. It is used to set theparameters of the network interface which are specific to the wirelessoperation (for example : the frequency)..B Iwconfigmay also be used to display those parameters, and the wirelessstatistics (extracted from.IR /proc/net/wireless )..PPAll these parameters and statistics are device dependent. Each driverwill provide only some of them depending on hardware support, and therange of values may change. Please refer to the man page of eachdevice for details..\".\" PARAMETER part.\".SH PARAMETERS.TP.B essidSet the ESSID (or Network Name - in some products it may also becalled Domain ID). The ESSID is used to identify cells which are partof the same virtual network..brAs opposed to the AP Address or NWID which define a single cell, theESSID defines a group of cells connected via repeaters orinfrastructure, where the user may roam transparently..brWith some cards, you may disable the ESSID checking (ESSIDpromiscuous) with.IR off " or " any " (and " onto reenable it)..br.B Examples :.br.I "	iwconfig eth0 essid any".br.I "	iwconfig eth0 essid ""My Network"".TP.BR nwid / domainSet the Network ID (in some products it may also be called DomainID). As all adjacent wireless networks share the same medium, thisparameter is used to differenciate them (create logical colocatednetworks) and identify nodes belonging to the same cell..brThis parameter is only used for pre-802.11 hardware, the 802.11protocol uses the ESSID and AP Address for this function..brWith some cards, you may disable the Network ID checking (NWIDpromiscuous) with.IR off " (and " onto reenable it)..br.B Examples :.br.I "	iwconfig eth0 nwid AB34.br.I "	iwconfig eth0 nwid off".TP.BR freq / channelSet the operating frequency or channel in the device. A value below1000 indicates a channel number, a value greater than 1000 is afrequency in Hz. You may append the suffix k, M or G to the value (forexample, "2.46G" for 2.46 GHz frequency), or add enough '0'..brChannels are usually numbered starting at 1, and you may use.IR iwlist (8)to get the total number of channels, list the available frequencies,and display the current frequency as a channel. Depending onregulations, some frequencies/channels may not be available..br.B Examples :.br.I "	iwconfig eth0 freq 2422000000".br.I "	iwconfig eth0 freq 2.422G".br.I "	iwconfig eth0 channel 3".TP.B sensSet the sensitivity threshold. This is the lowest signal level forwhich the hardware attempt packet reception, signals weaker than thisare ignored. This is used to avoid receiving background noise, so youshould set it according to the average noise level. Positive valuesare assumed to be the raw value used by the hardware or a percentage,negative values are assumed to be dBm..brWith some hardware, this parameter also controls the defer threshold(lowest signal level for which the hardware consider the channel busy)and the handover threshold (signal level where the hardware startlooking for a new access point)..br.B Example :.br.I "	iwconfig eth0 sens -80".TP.B modeSet the operating mode of the device, which depends on the networktopology. The mode can be.I Ad-Hoc(network composed of only one cell and without Access Point),.I Managed(node connects to a network composed of many Access Points, with roaming),.I Master(the node is the synchronisation master or acts as an Access Point),.I Repeater(the node forwards packets between other wireless nodes),.I Secondary(the node acts as a backup master/repeater),.I Monitor(the node is not associated with any cell and passively monitor allpackets on the frequency) or.IR Auto ..br.B Example :.br.I "	iwconfig eth0 mode Managed".br.I "	iwconfig eth0 mode Ad-Hoc".TP.B apForce the card to register to the Access Point given by the address,if it is possible. When the quality of the connection goes too low,the driver may revert back to automatic mode (the card selects thebest Access Point in range)..brYou may also use.I offto re-enable automatic mode without changing the current Access Point,or you may use.I anyor.I autoto force the card to reassociate with the currently best Access Point..br.B Example :.br.I "	iwconfig eth0 ap 00:60:1D:01:23:45".br.I "	iwconfig eth0 ap any".br.I "	iwconfig eth0 ap off".TP.BR nick [name]Set the nickname, or the station name. Some 802.11 products do defineit, but this is not used as far as the protocols (MAC, IP, TCP) areconcerned and completely useless as far as configuration goes. Onlysome diagnostic tools may use it..br.B Example :.br.I "	iwconfig eth0 nickname ""My Linux Node"".TP.BR rate / bit [rate]For cards supporting multiple bit rates, set the bit-rate in b/s. Thebit-rate is the speed at which bits are transmitted over the medium,the user speed of the link is lower due to medium sharing andvarious overhead..brYou may append the suffix k, M or G to the value (decimal multiplier :10^3, 10^6 and 10^9 b/s), or add enough '0'. Values below 1000 arecard specific, usually an index in the bit-rate list. Use.I autoto select automatic bit-rate mode (fallback to lower rate on noisychannels), which is the default for most cards, and.I fixedto revert back to fixed setting. If you specify a bit-rate value and append.IR auto ,the driver will use all bit-rates lower and equal than this value..br.B Examples :.br.I "	iwconfig eth0 rate 11M".br.I "	iwconfig eth0 rate auto".br.I "	iwconfig eth0 rate 5.5M auto".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 disablethe 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 ; a value equal to the maximum packet sizedisable the mechanism. You 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

⌨️ 快捷键说明

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