Capturing wpa_supplicant -dd output?

The Wanderer wanderer at
Wed Apr 24 23:43:29 EDT 2013

On 04/24/2013 05:37 PM, Jouni Malinen wrote:

> 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 &".

Thanks; I can work with that.

 From your description, I would expect running with '-B' to not print any
output at all even when not redirected, so I'm not entirely sure I
understand what's actually going on here. I don't have to understand it
to be able to use the results, however.

    The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Every time you let somebody set a limit they start moving it.
   - LiveJournal user antonia_tiger

More information about the HostAP mailing list