wpa supplicant init and logging

Ricardo Carrano carrano at laptop.org
Wed Oct 15 20:02:24 EDT 2008

Hello all!

I need help understanding two things regarding the wpa supplicant on the XO.

1 - The init process:

If you boot your XO and check the running wpa processes, here is what
you'll see:

# ps aux | grep wpa
root     1310  0.1  0.7   5444  1848 ?        S    23:46   0:00
/usr/sbin/wpa_supplicant -g /var/run/wpa_supplicant-global -ddd -t

But this is not what I would expect by inspecting
/etc/init.d/wpa_supplicant and /etc/sysconfig/wpa_supplicant.
Actually, after you do a "service wpa_supplicant restart" you would
get what I would expect.

# ps aux | grep wpa
root     1502  0.0  0.2   5444   580 ?        Ss   23:49   0:00
wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f

Where is the first coming from?

2 - The logging

Even if I enable -ddd on the logging (for instance by adding '-ddd' to
OTHER_ARGS in /etc/sysconfig/wpa_supplicant and restart the daemon, I
won't get anything interesting on the log
(/var/log/wpa_supplicant.log). All I got after "interesting"
associations to wpa aps is the following.

Providing DBus service 'fi.epitest.hostap.WPASupplicant'.

Any help or ideas will be highly appreciated!


More information about the Devel mailing list