I'm trying to set the debug level of wpa_cli using the level command.
It doesn't matter if I use interactive mode or direct commands the level command always fails.
wpa_cli -i wlan0 level 1
=> FAIL
And interactive mode:
wpa_cli
wpa_cli v2.3
Copyright (c) 2004-2014, Jouni Malinen <[email protected]> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'wlan0'
Interactive mode
> level 5
FAIL
What is the correct way to get this to work?
I'm trying to get debug messages for when a connection fails (because of a wrong psk or something)