Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using the protonvpn-cli-2.2.11, because I can and very much want to go around networkmanager. I'm a slackware64-15.0 user, so I don't have to suffer that <...sentence deteriorates into expletives>. I can take it or leave it.
I connect via the protonvpn script added to the init scripts (Yes, no systemd) and run the protonvpn-cli to connect. It modifies the route, & etc/resolv.conf. Protonvpn-cli has one short script in /usr/bin and is otherwise much like a python module with small scripts aplenty.
Occasionally, the vpn is liable to hang, In this state, I can't browse. Curiously, running downloads will complete. /etc/resolv.conf sometimes has gone back to it's 'no vpn' state. other times it looks connected. 'Route' throws up the headers, pauses 5-10 second and shows me connected to the vpn. But I'm not. The script has a 'status' option which shows me connected. But if I reconnect, my browsing is fine - until the next time, whenever that is. It might happen 3 times in a morning, the be ok for weeks. Suspending my pc does it reliably.
Any fixes, guesses as to the issue, or tests to narrow this down are welcome and will be tried.
No debug mode. It's a bunch of python scripts which are a remake of a bash script and probably added a few options. It does have the advantage that I can choose my exit point. My transfers are encrypted until the vpn exit point. So a local server in a small country mightn't offer as much protection as say an Australian or Japanese one.
EDIT: I don't actually need protection currently, but may need it some day.
Last edited by business_kid; 07-31-2023 at 04:47 AM.
I checked that site. I'm using the python rewrite of the bash script protonvpn-cli.sh.
You'd hardly call a python script '.sh' would you? I think this is the github site https://github.com/Rafficer/linux-cli-community bacause IIRC that's what I built in the slackbuild (if there was a slackbuild). I threw this thing together one afternoon anyhow, and honestly don't remember how.
But I never checked that github site for a relevant issue, or posted one. I'll go that road, and report back.
EDIT: Just thinking: Bash scripts are clunky, but might be better than a dodgy python mess. Only, I can't log into github ATM because my email server is offline - again! I have email verification set up on github. As soon as I can get in, I'll drop that email and switch email provider. It's been three days now and they don't care or won't pay the ransom .
www.mail.com works. My password is accepted, and I'm transferred to login.mail.com, which times out.
Last edited by business_kid; 08-01-2023 at 08:40 AM.
The problem got drastic. I disconnected the vpn by habit, and the problem persisted. I rang my isp, and they did their "look-up-the-router" trick. That seemed good. I pinged my dns server and it timed out. He asked me to try a different pc, so I dragged myself off to my RazPi and that was fine.
I'll post the network issue as a new thread. If the vpn issue persists, I'll mark this unsolved and update.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.