OpenconnectはArch Linuxでは接続できません。

OpenconnectはArch Linuxでは接続できません。

openconnectArch Linux(正確にはAntergos)に問題がありますが、その原因が何であるかわかりません。 (私はLinuxなどに精通していますが、VPNは初めてですopenconnect。)

2つの方法で大学のVPNに接続しようとしています。まず、Cisco AnyConnect 準拠 VPN を作成し、名前とゲートウェイを入力する手順に従いました。

これを行い、ネットワーク管理者アプレットを介して接続しようとすると機能しません。 VPNスイッチをオンにするとすぐに戻り、それがすべてです。エラーメッセージもなく、何もありません。

私が試した2番目の方法は、コマンドラインを使用することでした。だから私はこれを試してみます

$ sudo openconnect -u myusername my.gateway.edu

(これから実際のゲートウェイをユーザー名に置き換えて、my.gateway.eduそのIPを難読化します)

その入力から得られたログは次のとおりです。

POST https://my.gateway.edu/
Connected to 164.**.**.**:443
SSL negotiation with my.gateway.edu
Server certificate verify failed: signer not found

Certificate from VPN server "my.gateway.edu" failed verification.
Reason: signer not found
To trust this server in future, perhaps add this to your command line:
    --servercert sha256:bb2476a96b88357fe74f28a347ba549a2af4bea8668e30a77e1a8295f466bfdc
Enter 'yes' to accept, 'no' to abort; anything else to view: yes
Connected to HTTPS on my.gateway.edu
Got HTTP response: HTTP/1.1 401 Unauthorized
Error generating GSSAPI response:
gss_init_sec_context(): Unspecified GSS failure.  Minor code may provide more information
gss_init_sec_context(): SPNEGO cannot find mechanisms to negotiate
Server 'my.gateway.edu' requested Basic authentication which is disabled by default
GET https://my.gateway.edu/
Connected to 164.**.**.**:443
SSL negotiation with my.gateway.edu
Server certificate verify failed: signer not found
Connected to HTTPS on my.gateway.edu
Got HTTP response: HTTP/1.1 401 Unauthorized
No more authentication methods to try
GET https://my.gateway.edu/
Please enter your username.
POST https://my.gateway.edu/auth
Please enter your password.
Password:
POST https://my.gateway.edu/auth
Got CONNECT response: HTTP/1.1 200 CONNECTED
CSTP connected. DPD 90, Keepalive 32400
Connected as 169.**.***.**, using SSL
DTLS handshake failed: Resource temporarily unavailable, try again.
Failed to open tun device: No such device
Set up tun device failed
Unknown error; exiting.

私は大学のITサポートチームに連絡しましたが、彼らも何が起こっているのかわかりません(アーチLinuxについてはよくわかりません)。フラグの使用などの他の方法を試しましたが、--script /etc/vpnc/vpnc-script結果は同じです。

編集する

最近触れました。このウェブサイトIT担当者は、接続する前にトンネルデバイスを作成する必要があると述べました。これを行った後も、結果はsudo openconnect -u myusername my.gateway.edu --interface tun1まだ同じです。

ベストアンサー1

今この問題が発生しました。別のソリューション私には適していませんが、インターネット検索で見つけた結果このスレッドこれは、問題がカーネルのpacman -Syu更新によって引き起こされるため、簡単に解決できるいくつかの不一致があることを説明/仮定します。コンピュータを再起動してください。 「やめ直してください」という昔のように!

おすすめ記事