Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running Arch Linux, and recently updated the whole system.

Now I every time I connects to VPN with nmcli command, if it fails, I couldn't figure out the reason:

NetworkManager[15967]: <info> VPN plugin state changed: starting (3)
NetworkManager[15967]: <info> VPN connection 'XXX' (Connect) reply received.
NetworkManager[15967]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
NetworkManager[15967]: <warn> VPN plugin failed: 1
NetworkManager[15967]: <warn> VPN plugin failed: 1
NetworkManager[15967]: <warn> VPN plugin failed: 1
NetworkManager[15967]: <info> VPN plugin state changed: stopped (6)
NetworkManager[15967]: <info> VPN plugin state change reason: 0
NetworkManager[15967]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

Prior to the upgrade, I can see error messages from pppd, e.g "You're already logged in bla bla", now every helpful message is gone.

Any ideas? Why is the connection failed?

share|improve this question
    
Things to try here: wiki.ubuntu.com/DebuggingNetworkManager. May need to be adapted for Arch. –  slm May 28 at 12:02

2 Answers 2

up vote 3 down vote accepted

Change the used loglevel in your NetworkManager.conf file

[logging] This section controls NetworkManager's logging. Any settings here are overridden by the --log-level and --log-domains command-line options.

   level=<level>
          One of [ERR, WARN, INFO, DEBUG].  The ERR level logs only critical
          errors.  WARN logs warnings that may reflect operation.  INFO logs
          various  informational messages that are useful for tracking state
          and operations.   DEBUG  enables  verbose  logging  for  debugging
          purposes.   Subsequent  levels  also log all messages from earlier
          levels; thus setting the log level to INFO  also  logs  error  and
          warning messages.

But note this part:

This section controls NetworkManager's logging. Any settings here are overridden by the --log-level and --log-domains command-line options.

share|improve this answer

I did check your log and compare with my successful log, have seen that your ppp plugin for network-manager fail to be loaded and you need install networkmanager-pptp package to have it.

share|improve this answer
    
Nope, it's already installed –  warl0ck Jun 29 at 9:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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