Capturing wpa_supplicant -dd output?
dcbw at redhat.com
Fri Apr 26 13:31:26 EDT 2013
On Thu, 2013-04-25 at 00:37 +0300, 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/wpa_supplicant.wlan1.pid" -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 &".
Or how about "-f /tmp/log" instead?
More information about the HostAP