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?