diff --git a/man/NetworkManager.xml b/man/NetworkManager.xml index 277b8527b..e2ac82547 100644 --- a/man/NetworkManager.xml +++ b/man/NetworkManager.xml @@ -503,18 +503,32 @@ Debugging - The following environment variables are supported to help - debugging. When used in conjunction with the - option (thus echoing PPP and DHCP - helper output to stdout) these can quickly help pinpoint the - source of connection issues. Also see the - and - to enable debug logging inside NetworkManager itself. + NetworkManager only configures your system. So when your networking setup doesn't + work as expected, the first step is to look at your system to understand what is actually + configured, and whether that is correct. The second step is to find out how to tell + NetworkManager to do the right thing. - : When set to anything, causes - NetworkManager to turn on PPP debugging in pppd, which logs - all PPP and PPTP frames and client/server exchanges. + You can for example try to ping hosts (by + IP address or DNS name), look at ip link show, ip address show and ip route show, + and look at /etc/resolv.conf for name resolution issues. + Also look at the connection profiles that you have configured in NetworkManager (nmcli connection + and nmcli connection show "$PROFILE") + and the configured interfaces (nmcli device). + + + If that does not suffice, look at the logfiles of NetworkManager. NetworkManager + logs to syslog, so depending on your system configuration you can call journalctl + to get the logs. + By default, NetworkManager logs are not verbose and thus not very helpful for investigating + a problem in detail. You can change the logging level at runtime with nmcli general logging level TRACE domains ALL. + But usually a better way is to collect full logs from the start, by configuring + level=TRACE in NetworkManager.conf. See + NetworkManager.conf5 + manual. Note that trace logs of NetworkManager are verbose and systemd-journald might rate limit + some lines. Possibly disable rate limiting first with the RateLimitIntervalSec and + RateLimitBurst options of journald (see + journald.conf5 manual).