Record Events happening in Supplicant Module in a log file inside the phone with Timing Information
nithy.psg at gmail.com
Wed Oct 12 12:12:13 EDT 2011
I am working to record some of the events happening in wpa_supplicant module
like how many times the configuration file is read by supplicant to populate
it's data structures, what time it happened, number of scans performed and
their timing information etc.
I have a rooted Nexus One phone which uses the wext driver. Currently, I
would kill the wpa_supplicant process and start it with advanced log level
to see all these information. The command I used is
wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd
But I was able to see all these logs ONLY when I am connected to ADB
interface through Eclipse. What I want is that I need to see all the logs
even when the phone is not connected to ADB. I would like to store all these
log information as a file inside the smartphone which I can later retrieve.
Example the file could be logged in /data/misc/wifi/supplicant_log.txt. I
shall later parse this log file and gather some information.
Please guide me in achieving this. Thank you all for your time and patience
Networking Research Laboratory (NRL)
NC State University.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP