Post History
Begin with the logs I'd begin with the logs: journalctl -u NetworkManager You may want to create a log config file for this: vim /etc/NetworkManager/conf.d/95-nm-debug.conf # perhaps sudo, to ha...
Answer
#1: Initial revision
## Begin with the logs I'd begin with the logs: `journalctl -u NetworkManager` You may want to create a log config file for this: `vim /etc/NetworkManager/conf.d/95-nm-debug.conf` # perhaps sudo, to have access to /etc File contents: ``` [logging] domains=ALL:TRACE ``` `systemctl restart NetworkManager` to make NM notice the changes. ### Logs incomplete? If logging output is incomplete, disable rate limiting in the journal: 1. `vim /etc/systemd/journald.conf` 2. find `RateLimitBurst` 3. set to `0` 4. `systemctl restart systemd-journald` ## Python helper scripts I hear there are some, but haven't used them. `sudo /usr/lib/NetworkManager/debug-helper.py --nm debug # or info or trace if not debug` ## Testcase for debugging This stops NM, unloads and loads the DRIVER, then starts NM again. Should provide good logs. ``` sudo service network-manager stop sudo modprobe -r DRIVER sudo modprobe DRIVER sudo service network-manager start ``` ## Sources For more, see: 1. https://wiki.ubuntu.com/DebuggingNetworkManager 2. https://wiki.gnome.org/Projects/NetworkManager/Debugging 3. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/introduction-to-networkmanager-debugging_configuring-and-managing-networking