From Fedora Project Wiki
(Created page with '= Configure for basic debug = * Change line in /etc/sysconfig/wpa_supplicant file to log into /var/log/messages <pre> OTHER_ARGS="-u -f /var/log/messages -P /var/run/wpa_supplic...') |
No edit summary |
||
Line 1: | Line 1: | ||
= Configure for basic debug = | = Configure for basic debug = | ||
* | * Edit /etc/sysconfig/wpa_supplicant to log into /var/log/messages | ||
<pre> | <pre> | ||
OTHER_ARGS="-u -f /var/log/messages -P /var/run/wpa_supplicant.pid" | OTHER_ARGS="-u -f /var/log/messages -P /var/run/wpa_supplicant.pid" | ||
</pre> | </pre> | ||
* | * Edit /etc/rsyslog.conf to log all kernel messages into /var/log/messages | ||
<pre> | <pre> | ||
kern.*;*.info;mail.none;authpriv.none;cron.none /var/log/messages | kern.*;*.info;mail.none;authpriv.none;cron.none /var/log/messages | ||
Line 11: | Line 11: | ||
* Restart services | * Restart services | ||
<pre> | <pre> | ||
/etc/init.d/wpa_supplicant restart | /etc/init.d/wpa_supplicant restart | ||
Line 18: | Line 17: | ||
= Configure for verbose debug = | = Configure for verbose debug = | ||
Also requires settings from above. | |||
* Edit /etc/sysconfig/wpa_supplicant to enable verbose debug | |||
<pre> | |||
OTHER_ARGS="-u -f /var/log/messages -dd -P /var/run/wpa_supplicant.pid" | |||
</pre> | |||
* Edit /etc/init.d/NetworkManager to enable verbose debug | |||
<pre> | |||
daemon --pidfile $pidfile --check $servicename $processname --pid-file=$pidfile --log-level=DEBUG | |||
</pre> | |||
* Restart services | |||
<pre> | |||
/etc/init.d/NetworkManager restart | |||
/etc/init.d/wpa_supplicant restart | |||
</pre> |
Revision as of 11:37, 6 September 2010
Configure for basic debug
- Edit /etc/sysconfig/wpa_supplicant to log into /var/log/messages
OTHER_ARGS="-u -f /var/log/messages -P /var/run/wpa_supplicant.pid"
- Edit /etc/rsyslog.conf to log all kernel messages into /var/log/messages
kern.*;*.info;mail.none;authpriv.none;cron.none /var/log/messages
- Restart services
/etc/init.d/wpa_supplicant restart /etc/init.d/rsyslog restart
Configure for verbose debug
Also requires settings from above.
- Edit /etc/sysconfig/wpa_supplicant to enable verbose debug
OTHER_ARGS="-u -f /var/log/messages -dd -P /var/run/wpa_supplicant.pid"
- Edit /etc/init.d/NetworkManager to enable verbose debug
daemon --pidfile $pidfile --check $servicename $processname --pid-file=$pidfile --log-level=DEBUG
- Restart services
/etc/init.d/NetworkManager restart /etc/init.d/wpa_supplicant restart