📄 iwspy.8
字号:
.\" Jean II - HPLB - 96.\" iwspy.8.\".TH IWSPY 8 "31 October 1996" "net-tools" "Linux Programmer's Manual".\".\" NAME part.\".SH NAMEiwspy \- Get wireless statistics from specific nodes.\".\" SYNOPSIS part.\".SH SYNOPSIS.BI "iwspy " interface.br.BI "iwspy " interface " [+] " DNSNAME " | " IPADDR " | " HWADDR " [...]".br.BI "iwspy " interface " off".br.BI "iwspy " interface " setthr " "low high".br.BI "iwspy " interface " getthr".\".\" DESCRIPTION part.\".SH DESCRIPTION.B Iwspyis used to set a list of addresses to monitor in a wireless networkinterface and to read back quality of link information for each ofthose. This information is the same as the one available in.I /proc/net/wireless: quality of the link, signal strength and noise level..PPThis information is updated each time a new packet is received, soeach address of the list adds some overhead in the driver..PPNote that this functionality works only for nodes part of the currentwireless cell, you can not monitor Access Points you are notassociated with (you can use Scanning for that) and nodes in othercells. In Managed mode, in most case packets are relayed by the AccessPoint, in this case you will get the signal strength of the AccessPoint. For those reasons this functionality is mostly useful in Ad-Hocand Master mode..\".\" PARAMETER part.\".SH PARAMETERSYou may set any number of addresses up to 8..TP.BR DNSNAME " | " IPADDRSet an IP address, or in some cases a DNS name (using the nameresolver). As the hardware works with hardware addresses,.B iwspywill translate this IP address through.IR ARP .In some case, this address might not be in the ARP cache and.B iwspywill fail. In those case,.IR ping (8)this name/address and retry..TP.B HWADDRSet a hardware (MAC) address (this address is not translated & checkedlike the IP one). The address must contain a colon.RB ( : )to be recognised as a hardware address..TP.B +Add the new set of addresses at the end of the current list instead ofreplacing it. The address list is unique for each device, so each usershould use this option to avoid conflicts..TP.B offRemove the current list of addresses and disable the spy functionality.TP.B setthrSet the.I lowand.I highsignal strength threshold for the iwspy event (for drivers thatsupport it)..brEvery time the signal strength for any of the address monitoredwith iwspy goes lower than the low threshold or goes higher than thehigh threshold, a Wireless Event will be generated..brThis can be used to monitor link outages without having to run iwspyperiodically..TP.B getthrRetrieve the current.I lowand.I highsignal strength threshold for the iwspy event.\".\" FILES part.\".SH FILES.I /proc/net/wireless.\".\" SEE ALSO part.\".SH SEE ALSO.BR iwconfig (8),.BR iwlist (8),.BR iwevent (8),.BR iwpriv (8),.BR wireless (7).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -