Code:
root@bt:~# lsusb | grep Ralink
Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
root@bt:~# aireplay-ng -9 wlan0
13:15:40  Trying broadcast probe requests...
13:15:40  Injection is working!
13:15:42  Found 1 AP

13:15:42  Trying directed probe requests...
13:15:42  XX:XX:XX:XX:XX:XX - channel: 9 - '>>XXXXXXXXXXXXXXXXX<<'
13:15:44  Ping (min/avg/max): 38.209ms/56.489ms/82.522ms Power: -31.40
13:15:44  30/30: 100%

root@bt:~# pyrit -r capture-01.cap analyze
Pyrit 0.2.5-dev (svn r205) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+


Parsing file 'capture-01.cap' (1/1)...
2965 packets (2965 802.11-packets), 1 APs

#1: AccessPoint XX:XX:XX:XX:XX:XX ('>>XXXXXXXXXXXXXXXXX<<')
  #0: Station XX:XX:XX:XX:XX:XX, handshake found