Re: NM is asking for new key each time it fail to associate



Hi Dan

Besides the logs attached in the previous mail, I also get the these logs[1] in another laptop running Fedora 25.

So I suppose more reason codes should be checked instead of just -4 in need_new_wpa_psk().

*[1] https://paste.gnome.org/pmpudt8od

On Sat, Dec 17, 2016 at 1:37 AM Dan Williams <dcbw redhat com> wrote:

If the association fails during the 4-way handshake the most likely
reason for a failure is a wrong PSK.  The older mail thread you
referenced doesn't indicate what the disconnect reason code was, but we
didn't have reason codes available in NM back in 2008 so it may well
have been the same one.

But in your new case, the "Connection disconnected (-4)" does indicate
a different reason: WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY.  The
negative indicates it came from the kernel/driver, not from the AP.
 That usually indicates a bug in the driver or with power-saving
functionality.  NM should handle this better.

I've mailed a patch for this to the list, thanks for the report!

Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]