• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Cisco AnyConnect hat ein DNS Problem

admine

Ultimate Guru
Hallo in die Runde,

ich komm mal wieder mit einem Fall, bei dem ich gerade nicht weiter weiß :(
Gegeben ist ein Laptop mit oS Leap 15.2 und Cisco AnyConnect 4.8.03052.
Der Laptop hat ganz normal Internet via WLAN - nichts besonderes.
Aber AnyConnect will nicht.
Fehler beim Starten des vpnagentd.service:
Code:
LVSN-WKS-0025:~ # systemctl status vpnagentd.service 
● vpnagentd.service - Cisco AnyConnect Secure Mobility Client Agent
   Loaded: loaded (/etc/systemd/system/vpnagentd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2020-11-04 18:05:13 CET; 4min 28s ago
  Process: 13217 ExecStartPre=/opt/cisco/anyconnect/bin/load_tun.sh (code=exited, status=0/SUCCESS)
 Main PID: 13220 (vpnagentd)
    Tasks: 6
   CGroup: /system.slice/vpnagentd.service
           └─13220 /opt/cisco/anyconnect/bin/vpnagentd -execv_instance

Nov 04 18:09:34 LVSN-WKS-0025 acvpnagent[13220]: Function: testDnsAccess File: ../../vpn/Agent/NetEnvironment.cpp Line: 985 Invoked Function: DNSRequest::Query Return Code: -29229040 (0xFE420010) Description: D>
Nov 04 18:09:34 LVSN-WKS-0025 acvpnagent[13220]: Function: testNetwork File: ../../vpn/Agent/NetEnvironment.cpp Line: 827 Invoked Function: CNetEnvironment::testDnsAccess Return Code: -29229040 (0xFE420010) Des>
Nov 04 18:09:34 LVSN-WKS-0025 acvpnagent[13220]: Function: TestNetEnv File: ../../vpn/Agent/NetEnvironment.cpp Line: 438 No DNS connectivity. Retesting connectivity to the secure gateway in 5 seconds.
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: getDnsConfiguration File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1175 nm_client_get_manager_running: NetworkManager is not running.
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: EnumerateInterfaces File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1410 Invoked Function: CNetInterface::getDnsConfiguration Return Code: ->
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: getDnsConfiguration File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1175 nm_client_get_manager_running: NetworkManager is not running.
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: EnumerateInterfaces File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1410 Invoked Function: CNetInterface::getDnsConfiguration Return Code: ->
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: testDnsAccess File: ../../vpn/Agent/NetEnvironment.cpp Line: 985 Invoked Function: DNSRequest::Query Return Code: -29229040 (0xFE420010) Description: D>
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: testNetwork File: ../../vpn/Agent/NetEnvironment.cpp Line: 827 Invoked Function: CNetEnvironment::testDnsAccess Return Code: -29229040 (0xFE420010) Des>
Nov 04 18:09:39 LVSN-WKS-0025 acvpnagent[13220]: Function: TestNetEnv File: ../../vpn/Agent/NetEnvironment.cpp Line: 438 No DNS connectivity. Retesting connectivity to the secure gateway in 5 seconds.

Jetzt gibt es ja keine echte /etc/resolv.conf mehr. Könnte es daran liegen?
Allerdings habe ich den Link auch schon gelöscht und eine echte resolv.conf hingelegt.
Restart des Services - selbes Ergebnis :(
Hab auch schon im Internet gesucht, allerdings nichts Vergleichbares gefunden.

Ich hab das schon so oft installiert und noch nie hatte ich ein Problem mit dem Ding.

Zur Info:
Genau der AnyConnect läuft auf einem anderen Laptop im gleichen WLAN tadellos - einziger Unterschied ist, es ist noch ein Leap 15.1 :???:

Für Ideen wäre ich wirklich dankbar.
 
OP
A

admine

Ultimate Guru
Sorry Sorry Stimmt. Das hatte ich übersehen :/
Hier jetzt vollständig:
Code:
vpnagentd.service - Cisco AnyConnect Secure Mobility Client Agent
   Loaded: loaded (/etc/systemd/system/vpnagentd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2020-11-04 21:01:49 CET; 20min ago
  Process: 6174 ExecStartPre=/opt/cisco/anyconnect/bin/load_tun.sh (code=exited, status=0/SUCCESS)
 Main PID: 6177 (vpnagentd)
    Tasks: 5
   CGroup: /system.slice/vpnagentd.service
           └─6177 /opt/cisco/anyconnect/bin/vpnagentd -execv_instance

Nov 04 21:14:06 LVSN-WKS-0025 acvpnagent[6177]: Function: TestNetEnv File: ../../vpn/Agent/NetEnvironment.cpp Line: 438 No DNS connectivity. Retesting connectivity to the secure gateway in 5 seconds.
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: getDnsConfiguration File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1175 nm_client_get_manager_running: NetworkManager is not running.
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: EnumerateInterfaces File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1410 Invoked Function: CNetInterface::getDnsConfiguration Return Code: -32636919 (0xFE0E0009) Description: NETINTERFACE_ERROR_UNEXPECTED wlan2
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: getDnsConfiguration File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1175 nm_client_get_manager_running: NetworkManager is not running.
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: EnumerateInterfaces File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 1410 Invoked Function: CNetInterface::getDnsConfiguration Return Code: -32636919 (0xFE0E0009) Description: NETINTERFACE_ERROR_UNEXPECTED wlan2
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: testDnsAccess File: ../../vpn/Agent/NetEnvironment.cpp Line: 985 Invoked Function: DNSRequest::Query Return Code: -29229040 (0xFE420010) Description: DNSREQUEST_ERROR_NO_DNS_RESOLVERS
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: testNetwork File: ../../vpn/Agent/NetEnvironment.cpp Line: 827 Invoked Function: CNetEnvironment::testDnsAccess Return Code: -29229040 (0xFE420010) Description: DNSREQUEST_ERROR_NO_DNS_RESOLVERS
Nov 04 21:14:11 LVSN-WKS-0025 acvpnagent[6177]: Function: TestNetEnv File: ../../vpn/Agent/NetEnvironment.cpp Line: 438 No DNS connectivity. Retesting connectivity to the secure gateway in 5 seconds.
Nov 04 21:19:03 LVSN-WKS-0025 acvpnagent[6177]: Current network state: No network interface
Nov 04 21:19:03 LVSN-WKS-0025 acvpnagent[6177]: Function: applyHostConfigForNoVpn File: ../../vpn/Agent/MainThread.cpp Line: 12559 No network interface is available, cannot determine potential public addresses.

Was mich aber jetzt gerade stutzig macht ... Kann es sein, dass hier nur nach dem NetworkManager geschaut wird?
Meine Netzwerkeinstellungen an diesem Laptop sind via "wicked" eingerichtet. An dem Anderen hab ich den NetworkManager benutzt.
 
OP
A

admine

Ultimate Guru
Ja, wlan2 ist das richtige Interface und meine Vermutung hat sich bestätigt.
Als die Internetverbindung via NetworkManager konfiguriert war, lief auch der Cisco AnyConnect.
 
Oben