I have new Ubuntu and I want to debug some errors in network settings.

I cannot find log for NetworkManager.

/var/log/syslog and /var/log/daemon.log - what people recommend on this stack exchange in other questions - are both empty.

Python script from this page - https://wiki.ubuntu.com/DebuggingNetworkManager - doesn't exist anymore.

sudo service network-manager status displays a few lines of the log, but not all.


journalctl -u NetworkManager

That does the trick

  • This is Systemd only, I suppose. – Kamiccolo Jun 1 '18 at 10:43
  • 2
    Yes. Since the question is on askubuntu, it talks about systemd, because all ubuntu installations are with systemd (except for ancient ones). – Karel Bílek Jun 1 '18 at 14:29
  • What are You saying exactly? That Ubuntu 14.04 is not Ubuntu? Or users of those "ancient" versions, as You say, are not accepted in this StackExchange network site? You did ask the question without specifying Your Ubuntu version, so... – Kamiccolo Jun 1 '18 at 15:06
  • 4
    I specifically said the version in the title. – Karel Bílek Jun 4 '18 at 21:13

You can also try this one. You'll see some Network Manager state changes with this one.

sudo journalctl -fu NetworkManager


Mar 15 09:06:37 macbookair NetworkManager[1098]: <info>  [xxx] keyfile: add connection in-memory (xxx,"tun0")
Mar 15 09:06:37 macbookair NetworkManager[1098]: <info>  [xxx] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Mar 15 09:06:37 macbookair NetworkManager[1098]: <info>  [xxx] device (tun0): Activation: starting connection 'tun0' (xxx)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.