`scutil --nc start` verbindet PPPT VPN nicht - OS X 10.11

Aus der Antwort auf diese Frage habe ich versucht scutil --nc start 'us.justfreevpn.com', ein PPPT-VPN zu verbinden, aber alles, was ich bekomme, ist das folgende Popup:

Pop-up

Frustrierend, wenn ich die Verbindung manuell über die Menüleiste starte, kann ich sie dann stoppenscutil --nc stop 'us.justfreevpn.com'

scutil --nc listgibt folgendes:

Available network connection services in the current set (*=enabled):
* (Disconnected)   16DB05C1-0843-447F-9EA0-AD43139270AF PPP --> PPTP       "us.justfreevpn.com"             [PPP:PPTP]

Und scutil --nc show 'us.justfreevpn.com'das:

* (Disconnected)   16DB05C1-0843-447F-9EA0-AD43139270AF PPP --> PPTP       "us.justfreevpn.com"             [PPP:PPTP]
PPP <dictionary> {
  ACSPEnabled : 1
  CCPEnabled : 1
  CommDisplayTerminalWindow : 0
  CommRedialCount : 1
  CommRedialEnabled : 0
  CommRedialInterval : 5
  CommUseTerminalScript : 0
  DialOnDemand : 0
  DisconnectOnFastUserSwitch : 1
  DisconnectOnIdle : 0
  DisconnectOnIdleTimer : 600
  DisconnectOnLogout : 1
  DisconnectOnSleep : 0
  IPCPCompressionVJ : 0
  IdleReminder : 0
  IdleReminderTimer : 1800
  LCPEchoEnabled : 1
  LCPEchoFailure : 15
  LCPEchoInterval : 20
  Logfile : /var/log/ppp.log
  VerboseLogging : 0
}

Das Log zeigt nur folgendes:

Tue Feb 23 10:18:44 2016 : publish_entry SCDSet() failed: Success!
Tue Feb 23 10:18:44 2016 : publish_entry SCDSet() failed: Success!

Und der letzte Exit-Code ist 0:

$ echo $?
0

Was mache ich falsch?

OS X 10.11.3

Bist du damit weitergekommen? Habe ein ähnliches Problem
Leider nicht @Nath

Antworten (2)

Hatte das gleiche Problem. Am Ende ging ich die AppleScript-Route:

tell application "System Events"
        tell current location of network preferences
                set VPN to service "UniVPN" -- your VPN name here
                if exists VPN then connect VPN
                repeat while (current configuration of VPN is not connected)
                    delay 1
                end repeat
        end tell
end tell

(Von https://superuser.com/a/358663/17760 )

Ich hatte ein ähnliches Problem unter macOS 10.12.6.
Die Hauptursache war, dass ich auch den Konfigurationsnamen des VPN geändert habe

Nach dem Entfernen des alten VPN und Erstellen eines VPN mit anderem Namen und Konfiguration „Default“ funktioniert es sowohl mit dem Befehl scutil als auch mit networksetupGeben Sie hier die Bildbeschreibung ein