Re: wpa_supplicant Full Debug + Backgrounding, How?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 05, 2016 at 02:33:05PM +0200, Bima H. wrote:
> I want to run wpa_supplicant with debug mode in background. But if I
> invoke it from bash script, it just print some debug messages in
> initial phase in syslog, not all messages as long as the programm
> runs. How can I make debugging in background running as long as
> wpa_supplicant runs? I want to add debug support in openwrt. I don't
> want to use "&" at the end of invoking command because it distorts the
> exit status and don't want to let it run in foreground for the same
> reason and script-hanging. Strangely hostapd doesn't have problem in
> debugging mode in background and just logs all messages normally.

Building wpa_supplicant with CONFIG_DEBUG_FILE=y in
wpa_supplicant/.config and using the -f command line option to specify
the log file is likely the easiest approach for this.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux