Debugging wpa-supplicant

How do I turn on verbose debugging in wpa-supplicant?

I see a CTRL-EVENT-BEACON-LOSS event every few hours on a wireless repeater and would like to get more information.

Thanks in anticipation!

I did a bit of digging and discovered that wpa-supplicant is started by the wpad script in /etc/init.d

I edited the file and inserted -dd, verbose debugging according to the linux man page, thus:

procd_set_param command /usr/sbin/wpa_supplicant -dd -n -s -g /var/run/wpa_supplicant/global

1 Like