Page 1 of 1

PIA VPN pet needed (solved)

Posted: Wed Sep 27, 2023 5:37 pm
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


Re: VPN pet needed

Posted: Thu Sep 28, 2023 3:03 pm
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.


Re: VPN pet needed

Posted: Thu Sep 28, 2023 4:08 pm
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.


Re: VPN pet needed

Posted: Thu Sep 28, 2023 4:37 pm
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.


Re: VPN pet needed

Posted: Thu Sep 28, 2023 6:45 pm
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.


Re: VPN pet needed

Posted: Thu Sep 28, 2023 9:09 pm
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


Script for VPN daemon

Posted: Fri Sep 29, 2023 3:55 pm
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.


Re: VPN pet needed

Posted: Sun Oct 15, 2023 12:36 pm
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


Re: VPN pet needed

Posted: Mon Oct 16, 2023 2:01 pm
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.


Re: VPN pet needed

Posted: Mon Oct 16, 2023 4:09 pm
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


Re: VPN pet needed

Posted: Mon Oct 16, 2023 9:47 pm
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.


Re: VPN pet needed

Posted: Tue Oct 17, 2023 8:58 pm
by bean

OscarTalks & everyone else, thanks very much

working fine in Fossapup96 CE

Kenneth


Re: VPN pet needed

Posted: Sun Dec 03, 2023 11:15 am
by bean

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

any chance of the piavpn-3.5.2-x86_64.pet

Regards Ken


Re: VPN pet needed

Posted: Sat Dec 09, 2023 8:48 pm
by galen

is there a 32bit version?


Re: VPN pet needed

Posted: Sun Dec 10, 2023 2:57 pm
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


Re: VPN pet needed

Posted: Sat Dec 16, 2023 12:13 pm
by bean

Thanks very much, OscarTalks working fine


Re: VPN pet needed

Posted: Wed Mar 13, 2024 9:53 pm
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


Re: VPN pet needed

Posted: Fri Mar 15, 2024 1:46 am
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


Re: VPN pet needed

Posted: Sun Mar 17, 2024 2:57 pm
by bean

Thank you Oscar


Re: VPN pet needed

Posted: Tue Mar 26, 2024 6:21 pm
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.............


Re: VPN pet needed

Posted: Wed Mar 27, 2024 11:14 pm
by OscarTalks

Re: VPN pet needed

Posted: Tue Apr 02, 2024 8:59 pm
by bean

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


Re: PIA VPN v3.6.1 beta 2 pet

Posted: Fri Sep 20, 2024 9:01 am
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