LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2013, 02:15 AM   #16
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by evo2 View Post
Hi,

OP, jdkaye has been trying to gently nudge you in the direction that most experienced linux users would take. That being to use their package manager to install software that was packaged for them by their distribution. Downloading zip files from third party web sites and installing them by hand can be error prone, makes it troublesome to keep your installed software up to date (a serious security issue), and so on. Additionally, most often the Free software that is packaged by your distribution and is ready to install is generally of higher quality (YMMV here) than similar third party commercial products.

I think you would do well to do some background reading on your new OS before you start getting into bad habits and wasting your own time.

For a general overview see for example http://linux.oneandoneis2.org/LNW.htm, next you should look into repositories and package management. Feel free to ask for pointers to documentation here.

Evo2.
Alright, fair enough, I'll rethink things. Right now I'm just trying to get any VPN installed because embarrassingly enough I've been trying for about 3 months now to get a VPN installed in Linux with no success.

I'll study the link you gave me, Thanks mate

Last edited by TheCorporation; 07-09-2013 at 02:17 AM.
 
Old 07-09-2013, 02:24 AM   #17
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Your output in post 12 from the ls -l command shows three files and one directory. Two of the files are the zip files you refer to in your initial post. I don't know if the first file "config_all.zip" was there before. What is in the directory "drwxrwxr-x 2 sphinx sphinx 12288 Jul 7 00:23 TorGuardPRO".
Yeah there are two zip files that I downloaded more than once and messed around with the files trying to get the files open/installed.

I'm not sure what is in that directory I assume it is the VPN.

I have zero knowledge of Linux unfortunately.
 
Old 07-09-2013, 02:43 AM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

out of curiosity I checked out torguard. It seems there are three things that can be downloaded for a linux box.

1. "TorGuard lite v4.0" link to: TorGuard_unix_4_0_1.zip
2. "OpenVPN config files" link to: TorGuardPRO.zip
3. "TorGuard Deluge Torrent Proxy Installer" which I didn't check becuase OP wants a VPN

Having a look at these:

1. TorGuard_unix_4_0_1.zip when unzipped results in a single file: TorGuard_unix_4_1_1.sh which seems to be some sort of self extracting shell script and java abomination.

2. TorGuardPRO.zip when unzipped results in a directory call TorGuardPRO/ that contains a bunch PEM certificate files and OpenVPN configuration files.

A quick look at http://torguard.net/setup/ (and the link http://torguard.net/knowledgebase.ph...yarticle&id=53 on that page) and I found explicit instructions for setting this up with OpenVPN in Ubuntu using your package manager to install OpenVPN and the configuration and certificate files from 2. Please take a look at that documentation.

Evo2.
 
Old 07-09-2013, 02:44 AM   #19
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by TheCorporation View Post
Alright, fair enough, I'll rethink things. Right now I'm just trying to get any VPN installed because embarrassingly enough I've been trying for about 3 months now to get a VPN installed in Linux with no success.

I'll study the link you gave me, Thanks mate
Please see my other post from today: I think you'll be pleasantly surprised.

Evo2.
 
Old 07-09-2013, 06:26 AM   #20
T.Boyle
LQ Newbie
 
Registered: Jul 2013
Posts: 8

Rep: Reputation: 20
Quote:
Originally Posted by TheCorporation View Post
I've been trying for about 3 months now to get a VPN installed in Linux with no success.
Have you considered trying tightvnc or a very simple x11vnc. It should be available in your distro's repos

VNC is not secure you may want to implement ssh tunneling with vnc if connecting over the internet.

Last edited by T.Boyle; 07-09-2013 at 06:28 AM.
 
Old 07-09-2013, 08:06 PM   #21
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by T.Boyle View Post
Have you considered trying tightvnc or a very simple x11vnc.
a VNC is a very different beast to a VPN (virtual private network).

Evo2.
 
Old 07-10-2013, 01:33 AM   #22
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,


Please see my other post from today: I think you'll be pleasantly surprised.

Evo2.
I'm on it mate I'll post results when done
 
Old 07-10-2013, 02:07 AM   #23
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

out of curiosity I checked out torguard. It seems there are three things that can be downloaded for a linux box.

1. "TorGuard lite v4.0" link to: TorGuard_unix_4_0_1.zip
2. "OpenVPN config files" link to: TorGuardPRO.zip
3. "TorGuard Deluge Torrent Proxy Installer" which I didn't check becuase OP wants a VPN

Having a look at these:

1. TorGuard_unix_4_0_1.zip when unzipped results in a single file: TorGuard_unix_4_1_1.sh which seems to be some sort of self extracting shell script and java abomination.

2. TorGuardPRO.zip when unzipped results in a directory call TorGuardPRO/ that contains a bunch PEM certificate files and OpenVPN configuration files.

A quick look at http://torguard.net/setup/ (and the link http://torguard.net/knowledgebase.ph...yarticle&id=53 on that page) and I found explicit instructions for setting this up with OpenVPN in Ubuntu using your package manager to install OpenVPN and the configuration and certificate files from 2. Please take a look at that documentation.

Evo2.
Thanks for the help mate but it still doesn't want to play ball.

On the link you gave me ' http://torguard.net/knowledgebase.ph...yarticle&id=53 ' when I try step 4. it comes up with the message "Cannot import VPN connection The file 'TorGuardPRO.(1).zip' could not be read or does not contain recognized VPN connection information."
 
Old 07-10-2013, 02:23 AM   #24
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by TheCorporation View Post
On the link you gave me ' http://torguard.net/knowledgebase.ph...yarticle&id=53 ' when I try step 4. it comes up with the message "Cannot import VPN connection The file 'TorGuardPRO.(1).zip' could not be read or does not contain recognized VPN connection information."
did you really follow steps 1-3 correctly? Were there any errors reported? Ie for steps 1-2 you should have done:

Code:
sudo apt-get install --reinstall network-manager network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome
sudo service network-manager restart
wget http://torguard.net/downloads/TorGuardPRO.zip
unzip TorGaurdPRO.zip
Did all these commands complete without error?

Evo2.
 
Old 07-10-2013, 02:52 AM   #25
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,


did you really follow steps 1-3 correctly? Were there any errors reported? Ie for steps 1-2 you should have done:

Code:
sudo apt-get install --reinstall network-manager network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome
sudo service network-manager restart
wget http://torguard.net/downloads/TorGuardPRO.zip
unzip TorGaurdPRO.zip
Did all these commands complete without error?

Evo2.
I did it again and it all completed without error only on step 4 does it come up with the error message.

Also there is this....

sphinx@ubuntu:~$ unzip TorGuardPRO.zip
unzip: cannot find or open TorGuardPRO.zip, TorGuardPRO.zip.zip or TorGuardPRO.zip.ZIP.
sphinx@ubuntu:~$

It can't find the file/directory but I've downloaded it three times and all files/directories are in applications.

I've played around with it quite a bit now maybe I should remove files/directories and download again?

Last edited by TheCorporation; 07-10-2013 at 02:58 AM.
 
Old 07-10-2013, 03:01 AM   #26
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by TheCorporation View Post
I did it again and it all completed without error only on step 4 does it come up with the error message.
I wouldn't expect an error message there. The problem will arise when you try to select the file in step 6.

Quote:
Also there is this....

sphinx@ubuntu:~$ unzip TorGuardPRO.zip
unzip: cannot find or open TorGuardPRO.zip, TorGuardPRO.zip.zip or TorGuardPRO.zip.ZIP.
sphinx@ubuntu:~$
This is the problem. TorGuardPRO.zip needs to be unzipped so that networkmanager can get the .ovpn file. This is why I wrote to do the following
Code:
wget http://torguard.net/downloads/TorGuardPRO.zip
This will download it to the current working directory, then you can run;
Code:
unzip TorGuardPRO.zip
So, please open a terminal and run those two commands again, otherwise you need to find where you already dowlload it to, and unzip it. Once you have unzipped it you need to select one of the .ovpn files as described in steps 3-6.

Evo2.
 
Old 07-10-2013, 03:10 AM   #27
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,


I wouldn't expect an error message there. The problem will arise when you try to select the file in step 6.


This is the problem. TorGuardPRO.zip needs to be unzipped so that networkmanager can get the .ovpn file. This is why I wrote to do the following
Code:
wget http://torguard.net/downloads/TorGuardPRO.zip
This will download it to the current working directory, then you can run;
Code:
unzip TorGuardPRO.zip
So, please open a terminal and run those two commands again, otherwise you need to find where you already dowlload it to, and unzip it. Once you have unzipped it you need to select one of the .ovpn files as described in steps 3-6.

Evo2.
Your right I didn't follow your instructions to the letter, I did the above and it worked.

I'll continue on to the next steps and post results
 
Old 07-10-2013, 03:21 AM   #28
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,


I wouldn't expect an error message there. The problem will arise when you try to select the file in step 6.


This is the problem. TorGuardPRO.zip needs to be unzipped so that networkmanager can get the .ovpn file. This is why I wrote to do the following
Code:
wget http://torguard.net/downloads/TorGuardPRO.zip
This will download it to the current working directory, then you can run;
Code:
unzip TorGuardPRO.zip
So, please open a terminal and run those two commands again, otherwise you need to find where you already dowlload it to, and unzip it. Once you have unzipped it you need to select one of the .ovpn files as described in steps 3-6.

Evo2.
After 3 months and a lot of big headaches and self pity it is finally done!!!

Thanks mate, you are amazing....you are the BEST!!!
 
Old 07-10-2013, 03:28 AM   #29
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by TheCorporation View Post
After 3 months and a lot of big headaches and self pity it is finally done!!!
I'm glad you got it done. The thing is, there was straight forward, concise and full documentation on the web site the entire time. I think the main problem was that you approached this in the way you learnt to do things on windows - which seems to be - download a file from a web site, and then double click it. So, as I said earlier the sooner you learn about using Ubuntu the better... you could have saved yourself three months.

Quote:
Thanks mate, you are amazing....you are the BEST!!!
You're welcome. I'm glad you got it working, but I'm happier that you learnt something. Hopefully next time you need to install or configure something you'll find it much easier.

Cheers,

Evo2.
 
Old 07-10-2013, 03:33 AM   #30
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,


I'm glad you got it done. The thing is, there was straight forward, concise and full documentation on the web site the entire time. I think the main problem was that you approached this in the way you learnt to do things on windows - which seems to be - download a file from a web site, and then double click it. So, as I said earlier the sooner you learn about using Ubuntu the better... you could have saved yourself three months.


You're welcome. I'm glad you got it working, but I'm happier that you learnt something. Hopefully next time you need to install or configure something you'll find it much easier.

Cheers,

Evo2.
Yeah I'm an old hand at Windows and that is exactly how I approached things - Windows style.

I'm going to drop my Windows thinking and get to learning Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when I open a video file on Ubuntu 12 - the file is stuck and screen blinks gumbsey Linux - Newbie 0 06-05-2012 02:36 PM
[SOLVED] Could not open *.rar file in Ubuntu TigerLinux Linux - Newbie 4 06-29-2011 09:03 PM
how do i open a .7z file on ubuntu 9.04 noncomputergeek Linux - Newbie 12 07-12-2010 05:24 PM
how to open rar file in ubuntu 9.10 linux.ab Linux - Newbie 1 04-04-2010 09:51 AM
how to open rar file in ubuntu linux.ab Linux - Newbie 10 03-15-2010 01:02 AM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration