View Single Post
Posts: 50 | Thanked: 444 times | Joined on Apr 2010 @ Austria
#102
Originally Posted by FRuMMaGe View Post
On a side note, does anyone with grep/awk piping experience know how to determince whether a device is in monitor or managed mode via iwconfig?
You can also check the device's link encapsulation.
/sys/class/net/<device>/type would be 803 (IEEE 802.11 + radiotap) for monitor interfaces.
This should be at least true for all mac80211-based drivers.
 

The Following 2 Users Say Thank You to lxp For This Useful Post: