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 Adobe Flash Player 10 in Ubuntu 8.04 (32 bit and 64 bit Hardy heron)15th Oct 2008 adobe released Flash Player version 10.If you want to know what is new in adobe flash player 10 check this.In this tutorial we will see … Read More
Setup Wireless on a Fujitsu Siemens Li 2727 notebookThis Tutorial will work for all the notebooks in the Fujitsu Siemens range that require a special software switch to activate wifi, although it’s only… Read More
How to Increase your internet speed with NamebenchNameBench is a program that searches for the fastest DNS in your area. After the program is finished searching and comparing between DNS it will give … Read More
iPhone Tethering on Ubuntu 9.10 (Karmic)If you’re like me you have an iPhone and a portable computer running Ubuntu and you would like to have mobile internet without paying for an extra dat… Read More
setup Second IP address or Virtual IP address to your Networkcard in ubuntuIf you are a Network Administrator some time you need to assign more than ONE ip address (second ipaddress) to your network card of Ubuntu machine. Fo… Read More
0 comments:
Post a Comment