[Solved] HALP. constant errors when installing vpn via terminal on ubuntu

dexxin

New Member
Joined
Jan 21, 2022
Messages
5
Reaction score
2
Credits
56
hey guys. i have been going absolutely stir crazy, on this for going on 6 hours straight! cannot get my vpn settings to load at all. i have tried everryytthhiinngg. all sudo commands, zip commands, installed software, lost my marbles and getting the same error. below is the code for the open vpn protocol for perfect privacy. any idea what's going on please? much appreciation. ps have had this exact set up before and never ever had an issue. wahhhhh.

terminal code is as follows (red text at bottom is the root issue):


[email protected]:~$ sudo apt update && sudo apt install openvpn resolvconf
[sudo] password for roni:
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-security/main Sources [198 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,178 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-security/main i386 Packages [363 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [676 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-security/universe i386 Packages [532 kB]
Fetched 3,283 kB in 2s (2,059 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
resolvconf is already the newest version (1.82).
openvpn is already the newest version (2.4.7-1ubuntu2.20.04.3).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
[email protected]:~$ cd /etc/openvpn/
[email protected]:/etc/openvpn$ sudo unzip -j linux_op24_udp_v4_AES256GCM_AU_in_ci.zip
unzip: cannot find or open linux_op24_udp_v4_AES256GCM_AU_in_ci.zip, linux_op24_udp_v4_AES256GCM_AU_in_ci.zip.zip or linux_op24_udp_v4_AES256GCM_AU_in_ci.zip.ZIP.
[email protected]:/etc/openvpn$
 


Oldhabbits

Member
Joined
May 24, 2021
Messages
57
Reaction score
43
Credits
392
What is the exact location of the zip file in question ? Are you sure it is located in the /etc/openvpn/ directory ?
If yes, try to add "./" before the zipfile name, e.g. sudo unzip -j ./linux_op24_udp_v4_AES256GCM_AU_in_ci.zip
Good luck !
 

Chafoin

New Member
Joined
Jan 13, 2022
Messages
28
Reaction score
19
Credits
218
In the screen you do not download the config file like in the tutorial. Did you run the commands again to show us the error prompt or did you forget to run:

Bash:
sudo wget --content-disposition https://www.perfect-privacy.com/downloads/openvpn/get?system=linux

before the unzip command
 
OP
D

dexxin

New Member
Joined
Jan 21, 2022
Messages
5
Reaction score
2
Credits
56
In the screen you do not download the config file like in the tutorial. Did you run the commands again to show us the error prompt or did you forget to run:

Bash:
sudo wget --content-disposition https://www.perfect-privacy.com/downloads/openvpn/get?system=linux

before the unzip command
not sure why it doesn't show in the code as i copied it but yes followed all instructions and still not working. just reinstalled ubuntu and same issue. argghhh
 
OP
D

dexxin

New Member
Joined
Jan 21, 2022
Messages
5
Reaction score
2
Credits
56
In the screen you do not download the config file like in the tutorial. Did you run the commands again to show us the error prompt or did you forget to run:

Bash:
sudo wget --content-disposition https://www.perfect-privacy.com/downloads/openvpn/get?system=linux

before the unzip command
the sudo wget bit is fine, everything is until then. this only happens with the zip command
 

Chafoin

New Member
Joined
Jan 13, 2022
Messages
28
Reaction score
19
Credits
218
Ok so i tried downloading the file from the same place as you and the name of the file is different. It seems they released a new version. The new name is linux_op25_udp_v4_AES256GCM_AU_in_ci.zip

so you should run
Bash:
sudo unzip -j linux_op25_udp_v4_AES256GCM_AU_in_ci.zip
instead of
Bash:
sudo unzip -j linux_op24_udp_v4_AES256GCM_AU_in_ci.zip

hope this can help you
 
OP
D

dexxin

New Member
Joined
Jan 21, 2022
Messages
5
Reaction score
2
Credits
56
Yeah been meaning to reply to say I already did that and it let me unzip. Still didn't work so I updated open vpn to newest version on Ubuntu and that sorted it. Will contact provider and let them know about this issue as well as doubt I'm the only person who has had it. Cheers for looking
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top