-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openpyn not auto-starting after system boot #80
Comments
This should fix it. and yeah Arch repo doesn't work. just don't have the time yet. |
I'm not sure how to make that work. Here's what I tried:
Then after a reboot, I still get the error. I'm not a pro at python, so maybe I missed something! As for the arch repo, do you need any help? |
The commit is not pushed to the master branch yet. Grab the 'test' branch.
I haven't had the time to learn about Arch repo upload, |
I did as instructed, then I re-enabled openpyn, but still, after reboot, I get the same error! I'll give the arch issue a look! |
First check if the running version is 2.1.4 For some reason by the time systemd service starts your network isn't coming up. I am assuming that your PC auto connects to wifi, you don't have to manually connect to it. |
I am indeed using version 2.1.4 Yes, my PC is set to auto connect to wifi. I had run Maybe, i could create a network manager hook that would restart the openpyn service on connection? |
Try just adding some delay in the /etc/systemd/system/openpyn.service file. Before "ExecStart" |
I tried this on my other computer which is connected by ethernet, and still this did not work! |
So, using openpyn from both master and test branch, was no longer generating a systemd service that was working for me at all, regardless if I was on ethernet or wifi.
|
Let me know if there's still any issue with the service file on Arch. |
I've been using the custom script I pasted above and did not try anything new because the default openpyn script did not work even when doing |
yeah i added 10 second delay. and fixed the space issue |
I reinstalled both from master and from test, and in both cases the systemctl daemon is just dead and won't even start.
On the other hand, the script I use above does the job! |
that's weird, run this and paste the output of |
Actually, I realized that when I run the first command, it blocks the console. When I cancel it, I get an error. Not sure if that's of any value.
|
The block should only be 10 seconds, the sleep time. unless Arch doesn't work with network-online.target, I dont see why it should break. |
Hello there
|
Hi, That's an old version mate. The package on AUR was uploaded by a volunteer, not me. Install the latest version using pip.
…--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com <https://tutanota.com>
7. Aug 2018 20:03 by notifications@github.com <mailto:notifications@github.com>:
Hello there
I;m using version 2.2 from AUR and can't connect to NordVPN
$ sudo systemctl status openpyn ● openpyn.service - NordVPN connection manager Loaded: loaded (/etc/systemd/system/openpyn.service; enabled; vendor preset: disabled) Active: inactive (dead) since Tue 2018-08-07 12:32:19 CEST; 2s ago Process: 1949 ExecStop=/bin/openpyn --kill (code=exited, status=0/SUCCESS) Process: 1940 ExecStart=/bin/openpyn pl --silent (code=exited, status=0/SUCCESS) Process: 1931 ExecStartPre=/usr/bin/sleep 10 (code=exited, status=0/SUCCESS) Main PID: 1940 (code=exited, status=0/SUCCESS)sie 07 12:32:08 Gelldur-Dell systemd[1]: Starting NordVPN connection manager...sie 07 12:32:18 Gelldur-Dell systemd[1]: Started NordVPN connection manager.sie 07 12:32:19 Gelldur-Dell openpyn[1940]: There was an ambiguous exception, Check Your Network Connection. forgot to flush iptables? (openpyn -x)
—
You are receiving this because you commented.
Reply to this email directly, > view it on GitHub <#80 (comment)>> , or > mute the thread <https://github.com/notifications/unsubscribe-auth/AIEfCz12wTJmHfG77jPR7jWu1sk1KTx7ks5uOWz-gaJpZM4RRZA5>> .
|
I have the
systemd
service installed, but after a system reboot, I need to manually runsudo systemctl start openpyn
for the service to actually connect to nord.If I check
systemctl status openpyn
, i get:Any idea how to fix this?
I am using Network Manager to connect to wifi.
I'm running on Arch with a cloned git version (AUR version did not work)
The text was updated successfully, but these errors were encountered: