Iwspy is used to set a list of addresses to monitor in a wireless network interface and to read back quality of link information for each of those. This information is the same as the one available in /proc/net/wireless : quality of the link, signal strength and noise level.This information is updated each time a new packet is received, so each address of the list adds some overhead in the driver.
Note that this functionality works only for nodes part of the current wireless cell, you can not monitor Access Points you are not associated with (you can use Scanning for that) and nodes in other cells. In Managed mode, in most case packets are relayed by the Access Point, in this case you will get the signal strength of the Access Point. For those reasons this functionality is mostly useful in Ad-Hoc and Master mode.
The iwspy command provides statistics on the quality of the link between your NIC and another wireless device on the network. It doesn’t run all the time; you have to activate iwspy on your interface first. When not activated, iwspy gives a “no statistics to collect” error message.You can try the following commands
sudo iwspy wlan0
wlan0: No statistics to collect
Activation requires you to specify the target IP address and the wireless NIC interface through which it can be found.
sudo iwspy wlan0 192.168.1.1
If you use the iwspy command without the IP address it provides WLAN statistics with a typical/reference value against which it can be compared. In the example that follows the signal is considered fairly strong, with a 64/92 quality value versus a typical 36/92 value, but it could be weak by the historical values on your network. It’s good to check this from time to time for fluctuations.
sudo iwspy wlan0
eth0 Statistics collected:
00:09:5B:C9:19:22 : Quality:0 Signal level:0 Noise level:0
Link/Cell/AP : Quality:64/92 Signal level:-51 dBm Noise level:-149 dBm (updated)
Typical/Reference : Quality:36/92 Signal level:-62 dBm Noise level:-98 dBm
To switch off iwspy monitoring, use the following command
sudo iwspy wlan0 off
Home »
networking
» How to Check Wireless link quality in Ubuntu Linux
How to Check Wireless link quality in Ubuntu Linux
Related Posts:
Install Freecom Musicpal in Ubuntu FeistyIntroduction Freecom just brought a brand new product to the Dutch market called the “Musicpal“. On the box it says it’s supported for Windows and Mac… Read More
How to Check Wireless link quality in Ubuntu LinuxIwspy is used to set a list of addresses to monitor in a wireless network interface and to read back quality of link information for each of those. Th… Read More
Install Linksys WUSB54GC wireless In Ubuntu/Kubuntu 7.04/7.10This script that can do this very easily. It uses ndiswrapper to install for 32bit or 64bt Ubuntu or Kubuntu. You can get the script from below Fresh… Read More
How to Fix for Broadcom 4328 v3 wireless problem in Ubuntu 9.10 (Karmic)This tutorial will explain how to fix Broadcom 4328 v3 wireless problem in ubuntu karmic Try unloading the module (sudo modprobe -r wl) then reload t… Read More
How to check device driver in Debian/Ubuntu GNU/LinuxThis very useful tool to check Debian GNU/Linux device driver check page.Ubuntu is based on Debian GNU/Linux so let us try this and see the results … Read More
0 comments:
Post a Comment