View previous topic :: View next topic |
Author |
Message |
Demo n00b
Joined: 25 Nov 2022 Posts: 62
|
Posted: Sun Feb 19, 2023 7:03 pm Post subject: Question: Why doesn't protonvpn-cli work?!!! |
|
|
Hello folks ...
For the past days I've been trying to make protonvpn work on my gentoo box, but to no joy, tried everything and still ...
first init came with this message: Code: | You entered the following information:
Username: ##############
Password: ********************************
Tier: Free
Default protocol: TCP
Is this information correct? [Y/n]: y
Writing configuration to disk...
[!] There was an error connecting to the ProtonVPN API.
[!] Please make sure your connection is working properly! |
The config file was like this; Code: | [USER]
username = None
tier = None
default_protocol = None
initialized = 0
dns_leak_protection = 1
custom_dns = None
check_update_interval = 3
api_domain = https://api.protonvpn.ch
[metadata]
last_api_pull = 0
last_update_check = 1676817651 |
This was the log: Code: |
2023-02-19 16:28:34,304 — protonvpn-cli — DEBUG — change_file_owner:327 — Changed owner of /home/USER/.pvpn-cli/pvpn-cli.log to USER
2023-02-19 16:28:34,304 — protonvpn-cli — DEBUG — cli:89 — ###########################
2023-02-19 16:28:34,304 — protonvpn-cli — DEBUG — cli:90 — ### NEW PROCESS STARTED ###
2023-02-19 16:28:34,305 — protonvpn-cli — DEBUG — cli:91 — ###########################
2023-02-19 16:28:34,305 — protonvpn-cli — DEBUG — cli:92 — ['/usr/lib/python-exec/python3.10/protonvpn', 'init']
2023-02-19 16:28:34,305 — protonvpn-cli — DEBUG — cli:93 — USER: USER
2023-02-19 16:28:34,305 — protonvpn-cli — DEBUG — cli:94 — CONFIG_DIR: /home/USER/.pvpn-cli
2023-02-19 16:28:34,309 — protonvpn-cli — DEBUG — cli:97 — Arguments
{'--cc': None, '--fastest': False, '--help': False, '--p2p': False, '--random': False, '--sc': False, '--tor': False, '--version': False, '-p': None, '<servername>': None, 'c': False, 'configure': False, 'connect': False, 'd': False, 'disconnect': False, 'examples': False, 'init': True, 'r': False, 'reconnect': False, 'refresh': False, 's': False, 'status': False}
2023-02-19 16:28:59,025 — protonvpn-cli — DEBUG — change_file_owner:327 — Changed owner of /home/USER/.pvpn-cli/pvpn-cli.cfg to USER
2023-02-19 16:28:59,025 — protonvpn-cli — DEBUG — init_config_file:180 — pvpn-cli.cfg initialized
2023-02-19 16:28:59,049 — protonvpn-cli — DEBUG — call_api:38 — Initiating API Call: https://api.protonvpn.ch/vpn/logicals
2023-02-19 16:33:25,821 — protonvpn-cli — DEBUG — call_api:53 — Error connecting to ProtonVPN API
2023-02-19 16:40:21,825 — protonvpn-cli — DEBUG — cli:89 — ###########################
2023-02-19 16:40:21,826 — protonvpn-cli — DEBUG — cli:90 — ### NEW PROCESS STARTED ###
2023-02-19 16:40:21,826 — protonvpn-cli — DEBUG — cli:91 — ###########################
2023-02-19 16:40:21,826 — protonvpn-cli — DEBUG — cli:92 — ['/usr/lib/python-exec/python3.10/protonvpn', 'init']
2023-02-19 16:40:21,826 — protonvpn-cli — DEBUG — cli:93 — USER: USER
2023-02-19 16:40:21,826 — protonvpn-cli — DEBUG — cli:94 — CONFIG_DIR: /home/USER/.pvpn-cli
2023-02-19 16:40:21,830 — protonvpn-cli — DEBUG — cli:97 — Arguments
{'--cc': None, '--fastest': False, '--help': False, '--p2p': False, '--random': False, '--sc': False, '--tor': False, '--version': False, '-p': None, '<servername>': None, 'c': False, 'configure': False, 'connect': False, 'd': False, 'disconnect': False, 'examples': False, 'init': True, 'r': False, 'reconnect': False, 'refresh': False, 's': False, 'status': False}
2023-02-19 16:40:51,816 — protonvpn-cli — DEBUG — init_config_file:180 — pvpn-cli.cfg initialized
2023-02-19 16:40:51,825 — protonvpn-cli — DEBUG — call_api:38 — Initiating API Call: https://api.protonvpn.ch/vpn/logicals
2023-02-19 16:49:28,391 — protonvpn-cli — DEBUG — call_api:53 — Error connecting to ProtonVPN API |
Then tried to override the config file manually like this: Code: | [USER]
username = ##############
tier = Free
default_protocol = TCP
initialized = 1
dns_leak_protection = 1
custom_dns = None
check_update_interval = 3
api_domain = https://api.protonmail.ch
killswitch = 0
split_tunnel = 0
[metadata]
last_api_pull = 0
last_update_check = 1676817651 |
According to the suggestion from this page; https://github.com/Rafficer/linux-cli-community/issues/235
I even manually edited the utils.py file with the other URL, but still.
This was added to the above log: Code: | 2023-02-19 16:53:22,127 — protonvpn-cli — DEBUG — cli:89 — ###########################
2023-02-19 16:53:22,127 — protonvpn-cli — DEBUG — cli:90 — ### NEW PROCESS STARTED ###
2023-02-19 16:53:22,127 — protonvpn-cli — DEBUG — cli:91 — ###########################
2023-02-19 16:53:22,127 — protonvpn-cli — DEBUG — cli:92 — ['/usr/lib/python-exec/python3.10/protonvpn', 'c', '-f']
2023-02-19 16:53:22,127 — protonvpn-cli — DEBUG — cli:93 — USER: USER
2023-02-19 16:53:22,128 — protonvpn-cli — DEBUG — cli:94 — CONFIG_DIR: /home/USER/.pvpn-cli
2023-02-19 16:53:22,131 — protonvpn-cli — DEBUG — cli:97 — Arguments
{'--cc': None, '--fastest': True, '--help': False, '--p2p': False, '--random': False, '--sc': False, '--tor': False, '--version': False, '-p': None, '<servername>': None, 'c': True, 'configure': False, 'connect': False, 'd': False, 'disconnect': False, 'examples': False, 'init': False, 'r': False, 'reconnect': False, 'refresh': False, 's': False, 'status': False}
2023-02-19 16:53:22,132 — protonvpn-cli — DEBUG — check_root:337 — Program wasn't executed as root
2023-02-19 16:53:34,766 — protonvpn-cli — DEBUG — cli:89 — ###########################
2023-02-19 16:53:34,766 — protonvpn-cli — DEBUG — cli:90 — ### NEW PROCESS STARTED ###
2023-02-19 16:53:34,766 — protonvpn-cli — DEBUG — cli:91 — ###########################
2023-02-19 16:53:34,766 — protonvpn-cli — DEBUG — cli:92 — ['/usr/lib/python-exec/python3.10/protonvpn', 'c', '-f']
2023-02-19 16:53:34,766 — protonvpn-cli — DEBUG — cli:93 — USER: USER
2023-02-19 16:53:34,766 — protonvpn-cli — DEBUG — cli:94 — CONFIG_DIR: /home/USER/.pvpn-cli
2023-02-19 16:53:34,770 — protonvpn-cli — DEBUG — cli:97 — Arguments
{'--cc': None, '--fastest': True, '--help': False, '--p2p': False, '--random': False, '--sc': False, '--tor': False, '--version': False, '-p': None, '<servername>': None, 'c': True, 'configure': False, 'connect': False, 'd': False, 'disconnect': False, 'examples': False, 'init': False, 'r': False, 'reconnect': False, 'refresh': False, 's': False, 'status': False}
2023-02-19 16:53:34,777 — protonvpn-cli — DEBUG — check_init:463 — Config USER/killswitch not found, default set
2023-02-19 16:53:34,777 — protonvpn-cli — DEBUG — set_config_value:135 — Writing killswitch to [USER] in config file
2023-02-19 16:53:34,778 — protonvpn-cli — DEBUG — check_init:463 — Config USER/split_tunnel not found, default set
2023-02-19 16:53:34,778 — protonvpn-cli — DEBUG — set_config_value:135 — Writing split_tunnel to [USER] in config file
2023-02-19 16:53:34,778 — protonvpn-cli — DEBUG — fastest:145 — Starting fastest connect
2023-02-19 16:53:34,779 — protonvpn-cli — DEBUG — disconnect:307 — Initiating disconnect
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — is_connected:197 — Checking connection Status. OpenVPN processes: 0
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — manage_dns:608 — Restoring DNS
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — manage_dns:625 — No Backupfile found
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — manage_ipv6:688 — Restoring ip6tables
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — manage_ipv6:703 — No Backupfile found
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — manage_killswitch:778 — Restoring iptables
2023-02-19 16:53:34,820 — protonvpn-cli — DEBUG — manage_killswitch:787 — No Backupfile found
2023-02-19 16:53:34,821 — protonvpn-cli — DEBUG — disconnect:347 — No connection found
2023-02-19 16:53:34,829 — protonvpn-cli — DEBUG — call_api:38 — Initiating API Call: https://api.protonvpn.ch/vpn/logicals |
Tried to connect but still got the error connecting.
Tried to remove it and reinstall it via pip, but got this error message: Code: | error: externally-managed-environment
× This environment is externally managed
╰─>
The system-wide Python installation in Gentoo should be maintained
using the system package manager (e.g. emerge).
If the package in question is not packaged for Gentoo, please
consider installing it inside a virtual environment, e.g.:
python -m venv /path/to/venv
. /path/to/venv/bin/activate
pip install mypackage
To exit the virtual environment, run:
deactivate
The virtual environment is not deleted, and can be re-entered by
re-sourcing the activate file.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification, |
This is the package emerge --info: Code: | Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-11, glibc-2.36-r7, 6.0.5-rt-rt14 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.0.5-rt-rt14-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-glibc2.36
KiB Mem: 32631304 total, 21503824 free
KiB Swap: 9745404 total, 9745404 free
Timestamp of repository gentoo: Sat, 18 Feb 2023 14:30:01 +0000
Head commit of repository gentoo: 3832f34bc7f22f976fd7c0cd557a4688b7b58bf8
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p15-r2::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.36.0-r2::gentoo
dev-lang/python: 3.10.10::gentoo, 3.11.2::gentoo
dev-lang/rust-bin: 1.67.1::gentoo
dev-util/cmake: 3.25.2::gentoo
dev-util/meson: 1.0.0::gentoo
sys-apps/baselayout: 2.13-r1::gentoo
sys-apps/sandbox: 2.30-r1::gentoo
sys-apps/systemd: 252.5::gentoo
sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake: 1.16.5::gentoo
sys-devel/binutils: 2.38-r2::gentoo, 2.39-r4::gentoo, 2.40-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 15.0.7-r1::gentoo
sys-devel/gcc: 11.3.1_p20221209::gentoo, 12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config: 2.10::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/lld: 15.0.7::gentoo
sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make: 4.4::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.36-r7::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
wayland-desktop
location: /var/lib/layman/wayland-desktop
masters: gentoo
priority: 50
volatile: True
ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2021"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="zstd"
BINPKG_FORMAT="xpak"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_10 multilib systemd sysv-utils udev"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=skylake"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COLORTERM="truecolor"
COMMON_FLAGS="-O2 -pipe -march=skylake"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-O2 -pipe -march=skylake"
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="gnome-classic"
DISPLAY=":0"
DISTDIR="/var/cache/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -pipe -march=skylake"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe -march=skylake"
GCC_SPECS=""
GDMSESSION="gnome-classic"
GDM_LANG="en_US.UTF-8"
GENTOO_MIRRORS="http://ftp.agdsn.de/gentoo https://ftp.uni-hannover.de/gentoo/ rsync://ftp.linux.org.tr/gentoo-distfiles/ https://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://www.gtlib.gatech.edu/pub/gentoo"
GNOME_SETUP_DISPLAY=":1"
GNOME_SHELL_SESSION_MODE="classic"
GNOME_TERMINAL_SCREEN="/org/gnome/Terminal/screen/7b01eaa1_f836_40f5_bdb0_fbcdca8d9f84"
GNOME_TERMINAL_SERVICE=":1.88"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
GRUB_PLATFORMS="efi-64"
GSETTINGS_BACKEND="dconf"
HOME="/home/USER"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/11/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.38/info:/usr/share/info"
INPUT_DEVICES="libinput"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="en_US.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LEX="flex"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="USER"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33
;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=00:tw=30
;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01
;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;
31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.
gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=
01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;
31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:
*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.
cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.
jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*
.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.
tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.
pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.
webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.
vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=
01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35
:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.
ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.
log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.
aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.
mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=
00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*
.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.
dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old
=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:"
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
LV2_PATH="/usr/lib64/lv2"
MAIL="/var/mail/USER"
MAKEOPTS="-j32"
MANPAGER="manpager"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/11/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.38/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/15/share/man:/usr/lib/llvm/14/share/man"
MOTD_SHOWN="pam"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
OFFICE_IMPLEMENTATION="libreoffice"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin"
PHP_TARGETS="php7-4 php8-0"
PKGDIR="/var/cache/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loong m68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.10"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.10/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.10/site-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres12 postgres13"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/USER"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_10"
PYTHON_TARGETS="python3_10"
QT_IM_MODULE="ibus"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby27 ruby30"
SESSION_MANAGER="local/OptiPlex-7040:@/tmp/.ICE-unix/808,unix/OptiPlex-7040:/tmp/.ICE-unix/808"
SHELL="/bin/bash"
SHLVL="1"
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
SYMLINK_LIB="no"
SYSROOT="/"
SYSTEMD_EXEC_PID="825"
TERM="xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dri3 dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vpx wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="USER"
USERLAND="GNU"
USERNAME="USER"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="bionic Cygwin Darwin glibc mingw musl SunOS Winnt"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="intel"
VTE_VERSION="7003"
WAYLAND_DISPLAY="wayland-0"
XAUTHORITY="/run/user/1000/.mutter-Xwaylandauth.S9EU01"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_CURRENT_DESKTOP="GNOME-Classic:GNOME"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
XDG_MENU_PREFIX="gnome-"
XDG_RUNTIME_DIR="/run/user/1000"
XDG_SESSION_CLASS="user"
XDG_SESSION_DESKTOP="gnome-classic"
XDG_SESSION_TYPE="wayland"
XMODIFIERS="@im=ibus"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
enable_year2038="no"
=================================================================
Package Settings
=================================================================
net-vpn/protonvpn-cli-2.2.11-r1::gentoo was built with the following:
USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_9" |
Now another question comes to mind as well, why isn't the gui package available through any overlay, perhaps if it was to work, it could've made life easier!!!
Needless to say I'm still trying to connect through openvpn, but it's not working, and I still didn't find the reason. I pinged both servers api.protonvpn.ch, and api.protonmail.ch, and both don't report any package loss.
Wrapped LS_COLORS to make the forum layout behave. —Chiitoo |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Sun Feb 19, 2023 7:36 pm Post subject: Re: Question: Why doesn't protonvpn-cli work?!!! |
|
|
Demo wrote: | Now another question comes to mind as well, why isn't the gui package available through any overlay, perhaps if it was to work, it could've made life easier!!! |
There are some overlay with protonvpn-gui
You can configure protonvpn with WireGuard. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Demo n00b
Joined: 25 Nov 2022 Posts: 62
|
Posted: Sun Feb 19, 2023 8:29 pm Post subject: |
|
|
Thank you for the reply fedeliallalinea!
I've tried installing many overlays before including Miezhiko, and Waffle-builds, specifically for the gui interface of proton, but this wasn't successful.
I installed all the available overlays once even, with layman, and synchronized with both layman, and eix-remote, and the search never came up with the gui package.
But I was interested in knowing how it'd go, so I made a hack, and installed it by downloading the ebuild file, then got the digest and merged it.
When I invoked the protonvpn command, this returned: Code: | Traceback (most recent call last):
File "/usr/lib/python-exec/python3.10/protonvpn", line 33, in <module>
sys.exit(load_entry_point('protonvpn-gui==1.12.0', 'console_scripts', 'protonvpn')())
File "/usr/lib/python-exec/python3.10/protonvpn", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/protonvpn_gui/main.py", line 14, in <module>
from proton.constants import VERSION as proton_version
ModuleNotFoundError: No module named 'proton' |
I'm still working on the wiregard way, but why should it be painful?!! |
|
Back to top |
|
|
BraniggansLaw n00b
Joined: 17 Sep 2022 Posts: 10
|
Posted: Fri Mar 03, 2023 11:34 pm Post subject: |
|
|
I got protonvpn working with openvpn. First you need to download this: https://github.com/alfredopalhares/openvpn-update-resolv-conf. You will have a script called /etc/openvpn/update-resolv-conf.
Then in your protonvpn account page, go to downloads and you will see a list of servers. Download the script for each server you want to be able to connect to (they will be *.ovpn) and save them to ~/.config/openvpn/protonvpn-server-configs/. Then get your openvpn username and password from your protonvpn account dashboard and write them to a file called ~/.config/openvpn/protonvpn-pass.conf. The file should look like this:
*youropenvpnusername*
*youropenvpnpassword*
auth-user-pass ~/.config/openvpn/protonvpn-pass.conf
Then append "auth-user-pass ~/.config/openvpn/protonvpn-pass.conf" to the last line of every script you downloaded (*.ovpn files).
Launch openvpn with the path too one of those *.ovpn files to connect to the desired server. You won't be able to disconnect without doing killall openvpn. |
|
Back to top |
|
|
saturnalia0 Tux's lil' helper
Joined: 13 Oct 2016 Posts: 134
|
Posted: Mon Mar 13, 2023 12:13 am Post subject: |
|
|
At the risk of not answering your question at all... have you considered hosting your own OpenVPN server and simply connecting to it with openvpn, which works smoothly on Gentoo? My personal setup, which I have replicated many times in a matter of minutes, is as follows:
1. Create a Droplet in Digital Ocean for $4/mo using Debian image
2. Run apt-update
3. Run this script to install OpenVPN server on it https://github.com/angristan/openvpn-install
4. Copy the client key over to my Gentoo box
5. ./openvpn my.ovpn
And that's it. Emerging openvpn on Gentoo should be no hassle. I am myself a paying customer of Proton (mail), but for VPN I host my own solution given it is so simple and cheap, specially if you use the same server to host other stuff... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|