I have Linux Slackware64-15.0. I'm using your python script in my init scripts to connect every boot. My VPN disappears and is restored by restarting by issuing 'protonvpn reconnect'. It's losing the connection many times per hour at the moment. At other times it can last weeks. Periods of internet idleness are likely to trigger trouble
I'm not using networkmanager at all, or systemd.
In the "Out to Lunch" State:
Checking /etc/resolv.conf shows it has reverted to the original version.
Running 'route' gives a delay of 5-10 seconds and then gives a believable routing table as if I was connected. It includes proton0.
ifconfig shows no proton0.
reconnecting informs me that it is "terminating existing connection" so some bit thinks it's connected.
Periods of internet idleness always trigger an outage, but downloads always complete. BBC news also triggers disconnections.
I connected today, and immediately copied the connected version of resolv.conf. When it went out to lunch, I copied back the resolv.conf, but of course that achieved nothing.
It can last for weeks at a time, but is disconnecting very frequently at the moment. It seems pretty indifferent to what server I use, slightly preferring the local one.
Program Versions:
Linux-cli-community-2.2.11
python3-3.9.17
Kernel-5.15.63
Slackware-15.0 was released in mid-2022, so most versions are about the end of 2021. My window manager is XFCE, but that's irrelevant really since I keep a root terminal in a TTY, and use that for commands. Sudo doesn't have sufficient privileges.
It appeared to be a disk directory issue I fsck'ed the ext4 disks, and one gave 'directories not optimized' errors. Then I restored a backup, and it went away.
I have Linux Slackware64-15.0. I'm using your python script in my init scripts to connect every boot. My VPN disappears and is restored by restarting by issuing 'protonvpn reconnect'. It's losing the connection many times per hour at the moment. At other times it can last weeks. Periods of internet idleness are likely to trigger trouble
I'm not using networkmanager at all, or systemd.
In the "Out to Lunch" State: Checking /etc/resolv.conf shows it has reverted to the original version. Running 'route' gives a delay of 5-10 seconds and then gives a believable routing table as if I was connected. It includes proton0. ifconfig shows no proton0. reconnecting informs me that it is "terminating existing connection" so some bit thinks it's connected.
Periods of internet idleness always trigger an outage, but downloads always complete. BBC news also triggers disconnections.
I connected today, and immediately copied the connected version of resolv.conf. When it went out to lunch, I copied back the resolv.conf, but of course that achieved nothing.
It can last for weeks at a time, but is disconnecting very frequently at the moment. It seems pretty indifferent to what server I use, slightly preferring the local one.
Program Versions: Linux-cli-community-2.2.11 python3-3.9.17 Kernel-5.15.63
Slackware-15.0 was released in mid-2022, so most versions are about the end of 2021. My window manager is XFCE, but that's irrelevant really since I keep a root terminal in a TTY, and use that for commands. Sudo doesn't have sufficient privileges.