PIA VPN pet needed (solved)

Moderator: Forum moderators

Post Reply
bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

PIA VPN pet needed (solved)

Post by bean »

Hello i would be most grateful if someone could make me a PIA VPN pet

someone made a 3.1 pet a couple years ago. Long story short both Fossapup64 9.5 & EasyOS wont allow me to install the run program, as root.

PIA VPN client has a update within the VPN client but wont install. the latest version is pia-linux-3.run,

I have the latest program i downloaded from my account which i can put into dropbox .

Ps i did try to make a pet with a program some time ago, but failed. Far too old now. Kind regards K

Update:
Pet available in this post:
viewtopic.php?p=115241#p115241

Last edited by bigpup on Mon May 06, 2024 5:54 am, edited 3 times in total.
Reason: added complete program name to subject added solved added link to pet
User avatar
mikeslr
Posts: 2968
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 924 times

Re: VPN pet needed

Post by mikeslr »

Sorry, bean, your request is 'above my paygrade'.
May I make a suggestion. As your post here has gone unanswered, perhaps repost in the 'User's Section', viewforum.php?f=4&sid=4efaa2240d9090f681ab9bf045d83f9c, where it will attract more attention. I'd start such thread but that would make me it's Author and it would be better if you, as Author, had more control and were kept abreast of developments.

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

thanks very much i shall was not sure where i should post, re pet i have tried ending up with all sorts of file folders, a pile of rubbish haha but tried, way above my ability.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: VPN pet needed

Post by Caramel »

bean wrote: Wed Sep 27, 2023 5:37 pm

Hello i would be most grateful if someone could make me a PIA VPN pet

someone made a 3.1 pet a couple years ago. Long story short both Fossapup64 9.5 & EasyOS wont allow me to install the run program, as root.

PIA VPN client has a update within the VPN client but wont install. the latest version is pia-linux-3.run,

I have the latest program i downloaded from my account which i can put into dropbox .

Ps i did try to make a pet with a program some time ago, but failed. Far too old now. Kind regards K

Try with https://www.swisstransfer.com/d/ba982b5 ... edb83ad8f2

Origin of this pet :
I have first installed piavpn with pia-linux-3.5-07703.run

The command

# strings pia-linux-3.5-07703.run | head -3
#!/bin/sh
# This script was generated using Makeself 2.4.0
# The license covering this archive and its contents, if any, is wholly independent of the Makeself license (GPL)

indicates that the script was generated by Makeself (https://makeself.io/) so it is possible to extract its components (https://github.com/megastep/makeself/issues/37)

Code: Select all

./pia-linux-3.5-07703.run --noexec --target=/root/pia

(folder of your choice after target=)

Among the contents there is a script install.sh.
I have commented the lines 101 to 106 (because update-rc.d do not exist in EasyOS) and 590 to 593 (to can run the script as root)
I have deleted all the sudo in the script
I have created the groups piavpn and piahnsd (with addgroup, the script want create them but use groupadd)
Then i have runned the script to install piavpn (The deamon pia-daemon was not installed)

Second i have created the folder to make the pet by imitating the previous pet (viewtopic.php?p=64802#p64802)

And finally used dir2pet.

It is not the same compression that the older pet so it is significantly bigger.

Last edited by Caramel on Fri Sep 29, 2023 3:28 pm, edited 1 time in total.
User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: VPN pet needed

Post by OscarTalks »

I started trying to work on this today but then saw that Caramel has attended to it which is great. It is a bit difficult to fully help with something when I do not have access to an account to fully test things out. I was trying to remember what steps I took before (probably should have done a search for the old thread).

The main thing is to extract all the files, which I was able to do using run-as-spot as before, then tinkering with the spot password and editing /etc/sudoers
I see that Caramel used a slightly different method, but I think that should be fine, with the 2 groups being created by the pinstall.sh script in the .pet so I suggest testing that out. The size of the .pet does not matter as the installed size will be the same.

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Thank you very much Caramel and OscarTalks, your Pia 3.5 pet runs perfectly,

i spend hours trying to install or run myself but really not knowing what i was doing, (a bit like current British Governments and likely incoming Gov as well ) i ended up with folders full of files trying dir2pet

again thx really appreciate,

kind regards

Ken

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Script for VPN daemon

Post by Caramel »

The pet does not allow the launch of the vpn at the boot or the restart if the vpn stops.

Try of a script :

EDIT : now script in /root/Startup, when it was in /etc/rc.d the relaunch after killing ddidn't worked

Script piavpn-daemon

Code: Select all

#!/bin/sh
/opt/piavpn/bin/pia-daemon &
PID=$!
wait $PID # wait for pia-daemon process to stop
exec /root/Startup/piavpn-daemon # relaunch the script for restarting the daemon

to place in /root/Startup (for Easy, probably the same with the Puppys) and make executable.

Last edited by mikewalsh on Fri Sep 29, 2023 8:46 pm, edited 2 times in total.
Reason: Corrected spelling of "daemon" in post title...
bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Caramel wrote: Thu Sep 28, 2023 4:37 pm
bean wrote: Wed Sep 27, 2023 5:37 pm

Try with https://www.swisstransfer.com/d/ba982b5 ... edb83ad8f2

Hello Caramel there is a new update pia-linux-3.5.1-07760.run ........................my fingers are crossed,

regards Kenneth

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: VPN pet needed

Post by OscarTalks »

I have uploaded a .pet which folks may wish to TEST here:-
EDIT: Link to newer version posted below

I noticed that the executable and library binary files from extracting the .run installer are not-stripped.
As a test I have stripped them, which is considered normal practice as far as I know.
This reduces the installed package size from 226 to 106 Megs, which is quite a difference!
If we discover a problem I can upload a package with not-stripped files (as previous ones were).

I have not included Caramel's daemon launcher startup script. That can easily be added manually in /root/Startup if desired.
My piavpn launcher script checks if pia-daemon is running (and starts it if not) before starting the pia-client GUI
My concerns were that we could have more than one instance of the daemon running and it is possible that a user might want a session without VPN so no need to have daemon starting and running all the time. It starts the first time a user opens the GUI and stays running even if the GUI is closed until such time as it is terminated somehow (shutdown or whatever), but I am open to suggestions as to what is best for people who use this program.

Last edited by OscarTalks on Sun Mar 17, 2024 11:14 pm, edited 2 times in total.
Dry Falls
Posts: 80
Joined: Thu Jul 29, 2021 7:40 pm
Has thanked: 22 times
Been thanked: 43 times

Re: VPN pet needed

Post by Dry Falls »

Hi @OscarTalks
Just installed the pet in lighthouse which is slackware based and has openvpn built-in. the program started up via menu and seems to function perfectly without restarting X. Nice job but I don't have a paid account so couldn't test it further.
df

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: VPN pet needed

Post by OscarTalks »

Hello Dry Falls,
Thanks for the report. Investigating a bit further as to why it doesn't start in S15Pup it appears to be a problem with ICU libraries. Deleting the old (version 56) symlinks fixes it, but then osmo stops working and has to be re-compiled. Easy to do though, so I will probably post about it in the SPups section.
The piavpn program also seems to be working in BookwormPup (for anyone interested) but as I said, not having an account means I can't test it in full operation.

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

OscarTalks & everyone else, thanks very much

working fine in Fossapup96 CE

Kenneth

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Hello all............... cheeky ask

any chance of the piavpn-3.5.2-x86_64.pet

Regards Ken

galen
Posts: 68
Joined: Fri Nov 06, 2020 8:55 pm
Location: Halifax, NS Canada
Has thanked: 28 times
Been thanked: 12 times
Contact:

Re: VPN pet needed

Post by galen »

is there a 32bit version?

On-line since 1992
long time Linux & puppy Linux user
volunteer & supporter

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: VPN pet needed

Post by OscarTalks »

bean wrote: Sun Dec 03, 2023 11:15 am

any chance of the piavpn-3.5.2-x86_64.pet ?

Uploaded for testing:-
EDIT:- Link to newer version posted below

galen,
I am not aware of any 32bit versions being available

Last edited by OscarTalks on Sun Mar 17, 2024 11:15 pm, edited 1 time in total.
bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Thanks very much, OscarTalks working fine

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Hello all,

any chance of a piavpn-3.5.5-x86_64.pet

there have been a couple since this but i did not ask, but would appreciate if the team could make a pet.............

Regards Kenneth

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: VPN pet needed

Post by OscarTalks »

bean wrote: Wed Mar 13, 2024 9:53 pm

Hello all,
any chance of a piavpn-3.5.5-x86_64.pet
there have been a couple since this but i did not ask, but would appreciate if the team could make a pet.............
Regards Kenneth

Uploaded for testing:-
http://smokey01.com/OscarTalks/piavpn-3.5.5-x86_64.pet

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Thank you Oscar

bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

oops things are going to quickly, PIA 3.5.6 is out, maybe too paranoid, however not as much as IDS Iain Duncan Smith, but agree with him re Chinese Hacking,

We all need to be as carefull as we can.............

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: VPN pet needed

Post by OscarTalks »

Attachments
pia-changelog.jpg
pia-changelog.jpg (52.89 KiB) Viewed 1515 times
bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: VPN pet needed

Post by bean »

Big thanks Oscar, sorry for jet lag reply, moved home, aaah this old body creaking, thank you Kenneth

Last edited by rockedge on Mon Sep 23, 2024 11:26 am, edited 1 time in total.
Reason: fixed misspelled name
bean
Posts: 59
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Re: PIA VPN v3.6.1 beta 2 pet

Post by bean »

Hello all,

any chance one of the clever people could make a PIA VPN pet v3.6.1 beta 2 i would be most grateful.

Kenneth

Post Reply

Return to “Network”