iwevents is yet another linux utility which helps track any events related to the Wireless Interfaces on the network. iwevents can monitor for events related to the settings of the interfaces itself. For instance, a change to the encryption key, ESSID etc done via iwconfig command or events related to the hardware itself like the device joining a new Wireless network, scan completion (using iwlist), packet dropped, driver event, node registration, node expiration.
Simply run the command without any arguements. In the following example, I simply switched off my Wireless Router and restarted again to trigger some events.
opensuse11:~ # iwevents
Waiting for Wireless Events from interfaces…
19:46:47.447103 wlan0 New Access Point/Cell address:Not-Associated
19:47:01.551857 wlan0 Scan request completed
19:47:05.161466 wlan0 Scan request completed
19:47:05.161865 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.162313 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.162342 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.162358 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.162371 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.162384 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.162871 wlan0 New Access Point/Cell address:Not-Associated
19:47:05.163403 wlan0 Set Mode:Managed
19:47:05.163499 wlan0 Set Frequency:2.437 GHz (Channel 6)
19:47:05.163616 wlan0 Set ESSID:”SKYNET”
19:47:05.171008 wlan0 Custom driver event:ASSOCINFO(ReqIEs=0008534b593532313438010802040b160c12182432043048606cdd160050f20101000050f20201000050f20201000050f202 RespIEs=010882848b0c1296182432043048606cdd0900037f01010000ff7f)
19:47:05.171054 wlan0 New Access Point/Cell address:00:11:22:23:AF:6E