From Fedora Project Wiki
Line 18: | Line 18: | ||
</pre> | </pre> | ||
= Configure for debug kernel together with | = Configure for debug kernel and wpa_supplicant together with NetworkManager= | ||
Requires settings from above and below changes. | |||
* Edit /etc/init.d/NetworkManager file to enable verbose debug | * Edit /etc/init.d/NetworkManager file to enable verbose debug | ||
Line 30: | Line 30: | ||
<pre> | <pre> | ||
/etc/init.d/NetworkManager restart | /etc/init.d/NetworkManager restart | ||
</pre> | </pre> |
Revision as of 13:11, 24 January 2011
Configure to debug kernel and wpa_supplicant
Sometimes is needed to have kernel debug messages together with wpa_supplicant logged in one place. Below changes allow to do this.
- Edit /etc/sysconfig/wpa_supplicant file to log into /var/log/messages
OTHER_ARGS="-u -f /var/log/messages -dd -P /var/run/wpa_supplicant.pid"
- Edit /etc/rsyslog.conf file 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 debug kernel and wpa_supplicant together with NetworkManager
Requires settings from above and below changes.
- Edit /etc/init.d/NetworkManager file to enable verbose debug
daemon --pidfile $pidfile --check $servicename $processname --pid-file=$pidfile --log-level=DEBUG
- Restart services
/etc/init.d/NetworkManager restart