AdGuardVPNCLI icon indicating copy to clipboard operation
AdGuardVPNCLI copied to clipboard

Connecting through TUN mode is not working on Fedora workstation

Open uncharted-user opened this issue 1 year ago • 5 comments

Please answer the following question for yourself before submitting an issue

  • [X] I checked to make sure that this issue has not already been filed

AdGuard VPN CLI version

v1.0.0 and v1.1.112

Environment

  • OS: Fedora Linux 40 (Workstation Edition)
  • Kernel: 6.10.11-200.fc40.x86_64
  • Desktop: GNOME 46.5
  • Session: Wayland

Issue Details

Steps to reproduce:

  1. Open Terminal and type curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardVPNCLI/master/scripts/release/install.sh | sh -s -- -v
  2. Then login using adguardvpn-cli login
  3. After that, connect using adguardvpn-cli connect -l SG → Type yes then type no and again type no

Expected Behavior

Should show connected to SG

Actual Behavior

Failed to start the VPN service in the background

Screenshots

Screenshot 1

Additional Information

No response

uncharted-user avatar Oct 03 '24 02:10 uncharted-user

@uncharted-user Please try export SSL_CERT_FILE=/etc/pki/tls/cert.pem

sfionov avatar Oct 03 '24 03:10 sfionov

@uncharted-user Please try export SSL_CERT_FILE=/etc/pki/tls/cert.pem

Just tried but still getting same error.

ghost avatar Oct 03 '24 16:10 ghost

@uncharted-user Can you please reproduce the problem, export logs using adguardvpn-cli export-logs and send them to [email protected], mentioning this task in the message?

sfionov avatar Oct 11 '24 05:10 sfionov

@uncharted-user Can you please reproduce the problem, export logs using adguardvpn-cli export-logs and send them to [email protected], mentioning this task in the message?

Thank you for the reply. Cloud you please check the logs I sent? Why the issue is closed?

ghost avatar Oct 12 '24 20:10 ghost

@uncharted-user Yes, received the logs. The problem is that Fedora has sudoers configuration which prevents -E sudo option from working. We'll try to cimcumvent this in the next release.

sfionov avatar Oct 13 '24 12:10 sfionov

We'll try to cimcumvent this in the next release.

Thank you for the consideration. Is there any possible workaround available, or the next will be soon?

ghost avatar Oct 13 '24 20:10 ghost

I get the same issue on Fedora 41:

❯ adguardvpn-cli connect 
[sudo] password for marvin: 
Failed to start the VPN service in the background. Process started but no pid file created

natema avatar Mar 07 '25 18:03 natema