how to save the output of hostapd

Jouni Malinen j
Sat Mar 17 11:33:23 PDT 2012

On Sat, Mar 17, 2012 at 12:44:36PM +0800, why wrote:
> I want to save the output of hostapd, I use "hostapd -B | tee 1.txt", but it does not work. Can someone help me? Thank you.

The -B argument requests hostapd to run in the background, i.e., that
command exists immediately after initial setup. If you want to record
output from the process, you'll need to start it without -B and, e.g.,
direct stdout/stderr to a file.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list