Capturing wpa_supplicant -dd output?

Jouni Malinen j at
Wed Apr 24 17:37:35 EDT 2013

On Wed, Apr 24, 2013 at 11:44:33AM -0400, The Wanderer wrote:
> The full command line being run is:
> wpa_supplicant -B -P "/var/run/" -i "wlan1"
> -D nl80211,wext -t -dd -c "/etc/wpa_supplicant/wpa_supplicant.conf"

You cannot fork the process to background (-B) and record the log to
stdout. stdout is closed whenever -B is included in the command line and
this will stop any logging. If you want to get the stdout stored to a
file, you would need to either keep the process on foreground or use a
command like "wpa_supplicant .... > /tmp/log &".

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list