Attempting to install openvpn-2.4.6

Booting, installing, newbie
Message
Author
Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

Attempting to install openvpn-2.4.6

#1 Post by Scott99 »

Hello, I just upgraded my panasonic cf-28 from Slacko Puppy 6.3.0 to 6.3.2. On 6.3.0 I had openvpn installed and it was so long ago that I don't remember how I did it. I just attempted to install openvpn-2.4.6 under 6.3.2 and received the following error: no acceptable C compiler found in $Path. I've done Google and puppy linux forum searches and can't find a solution that I can understand. In the past I have been able to use the command line version of openvpn to connect with windscribe which allows me to use a private vpn. As always thanks in advance. Please bear in mind that I have only a limited knowledge of programing which is just enough to get me in trouble. Scott p.s. I did a full install of 6.3.2

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#2 Post by rockedge »

use SFS-Load-on-the-Fly and load the devx for your OS...it contains the C compiler.

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#3 Post by Scott99 »

rockedge wrote:use SFS-Load-on-the-Fly and load the devx for your OS...it contains the C compiler.
Thanks, I've done that. When I ran ./configure at the end I received the message libpam required but missing

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#4 Post by OscarTalks »

./configure --prefix=/usr --disable-plugin-auth-pam
This will remove the dependency on libpam
Oscar in England
Image

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#5 Post by Scott99 »

Ok, thanks for all the help so far. I've done everything above. I am using a vpn called windscribe. I don't know where to place the credentials and the configuration file. Here are two screenshots. Thanks, Scott[/img]
Attachments
windscribe search_2019-02-10.png
(96.59 KiB) Downloaded 76 times
windscribe search_2019-02-09.png
(105.11 KiB) Downloaded 64 times

User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

#6 Post by fabrice_035 »

You have buy a windscribe pro feature ?

https://windscribe.com/getconfig/openvpn
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#7 Post by OscarTalks »

You can put the .ovpn config file anywhere and include the full path.
Since the terminal is operating in the /root directory normally, if you put the .ovpn config file in /root you should be able to just give the name of the file.

You can rename the file to something simpler for convenience if you want.

Not sure how it works with Windscribe to include your username and password.
Normally the terminal will ask you for those unless they are included in the config when it is generated for you or in another small text file containing just those 2 things.
Oscar in England
Image

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#8 Post by Scott99 »

Hi Oscar, I'm not sure what you mean by include the full path. Thanks, Scott

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#9 Post by OscarTalks »

Well for example if your file is named windscribe.ovpn and you put it in /etc your command would be openvpn --config /etc/windscribe.ovpn in other words where it is in the file system starting from the beginning "slash". That is your full path.

Have you placed it in /root ?
If so and you are just opening a terminal as normal it should work as openvpn --config windscribe.ovpn but you can try openvpn --config /root/windscribe.ovpn

Note that my name here of windscribe.ovpn is just a made up example, you need the real name but you can change it to something shorter than its original for your convenience if you are typing in terminal frequently.

One thing you could try is typing modprobe tun in terminal before trying to start openvpn as the tun module is required and sometimes it doesn't load automatically.

EDIT:- Just doing a bit of testing and the error message you are getting is the same as I get if I try to load a config file which does not exist. Make sure you have moved (or copied) your .ovpn config file into your /root directory (not in any sub-directory).
Oscar in England
Image

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#10 Post by Scott99 »

Thank you Oscar. It worked and I'm back on track. This thread can now be marked as resolved. cheers, Scott

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#11 Post by smokey01 »

Scott99 wrote:Thank you Oscar. It worked and I'm back on track. This thread can now be marked as resolved. cheers, Scott
Scott, as you started this thread you are the only one that can edit the title to solved.

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#12 Post by Scott99 »

rockedge wrote:use SFS-Load-on-the-Fly and load the devx for your OS...it contains the C compiler.
I'm sorry, where can I find the devx?

ITSMERSH

#13 Post by ITSMERSH »

Scott99 wrote:
rockedge wrote:use SFS-Load-on-the-Fly and load the devx for your OS...it contains the C compiler.
I'm sorry, where can I find the devx?
As far as I know, you can't use .sfs to load when running full installs. Others may proof me wrong.

How did you compile without gcc compiler?

Did you install from PPM?

If so, you wouldn't need the devx .sfs.

ITSMERSH

#14 Post by ITSMERSH »

Hey Smokey01.

Why are you so sad about the location South Australia?
Joined: 31 Dec 2006
Posts: 2805
Location: South Australia :-(

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#15 Post by Scott99 »

./configure --prefix=/usr --disable-plugin-auth-pam

This doesn't seem to be working. When I attempt to configure openvpn-2.4.6 I continue to get an error message, Please see the attachment
Attachments
Screenshot.png
(116.89 KiB) Downloaded 48 times
Screenshot.png
I'm getting frustrated
(116.89 KiB) Downloaded 48 times

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#16 Post by OscarTalks »

Scott99 wrote:./configure --prefix=/usr --disable-plugin-auth-pam
You should be typing all of those things on one line before hitting enter
Are you doing that?

Sorry, but I am getting confused as to what you are trying to do and in which different Puppies and what you have succeeded in doing so far.

The --disable-plugin-auth-pam bit is only needed in Slacko because Slacko does not have libpam included.

In the case of Xenial you don't need to type that bit anyway because Xenial does have libpam included.

The libpam dependency is only building a plugin for pam, which you are not using anyway so you can use the --disable-plugin-auth-pam argument and the plugin does not get built.
Oscar in England
Image

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#17 Post by Scott99 »

Thanks, I've got it working (at least for now :D )

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#18 Post by bigpup »

So, tell us what you did to fix it?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Scott99
Posts: 72
Joined: Sun 21 Feb 2016, 14:02

#19 Post by Scott99 »

rockedge wrote:use SFS-Load-on-the-Fly and load the devx for your OS...it contains the C compiler.
Where can I find the devx for Xenialpup 7.5? Thanks Scott

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#20 Post by bigpup »

Two ways.

In a console type:

Code: Select all

sfsget
Or you can go to the Puppy repository and get it here:
http://distro.ibiblio.org/puppylinux/puppy-xenial/32/
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply