On Mon, 2017-03-20 at 14:15 -0600, Matthew Stanger wrote: > Hi, > > Is there a simple way in wpa_supplicant to check via dbus if a > connection has failed due to a bad psk? There isn't a great way to know anyway, and the supplicant is just guessing when it says that in the logs. You can however watch the "State" property and if the connection fails in the 4 Way Handshake state you can usually assume authentication (802.1x, PSK, etc) failed. You will also get a DisconnectReason property change that you can additionally use to filter the disconnect, see could_be_psk_mismatch() in wpa_supplicant/events.c. Dan _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap