SSTP-CLIENT

Booting, installing, newbie
Message
Author
surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

SSTP-CLIENT

#1 Post by surender »

Hello,
Is there any SSTPclient pet for using with puppy linux .
http://sstp-client.sourceforge.net/

Or
How can i make this work in my Puppy linux please

Thank you

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Me.. I'd build from src. For you >> this article. Built pkgs are here. Don't forget to check the comments..

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#3 Post by surender »

how to add PPA in puppy please

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#4 Post by surender »

many dedpendnices are missing

opnessl1.0.0
libssl.so.1.0.0
libevent

how do i get these deb files please

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#5 Post by surender »

hello,
sstpc: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /lib/libevent-2.0.so.5)

how can i solve this please.thank you

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

You have yet to mention the pup you're running << Ah, your pups *too old* >> build from src or place a request.

As an FYI >> the required libs are in your *UPDATED* PPM. :wink: From src should have you in business in no time..

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#7 Post by surender »

Hello sir,,
I have tried to update my PPM and check I could see only 2.11 but not anything higher version.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#8 Post by Semme »

Two-eleven? Whaddaya mean? Oh, glibc.. Forget about 2.15 and grab these: ppp-dev, libevent-dev and libssl-dev.

Code: Select all

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.

     Running `configure' might take a while.  While running, it prints
     some messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package, generally using the just-built uninstalled binaries.

  4. Type `make install' to install the programs and any data files and
     documentation.  When installing into a prefix owned by root, it is
     recommended that the package be configured and built as a regular
     user, and only the `make install' phase executed with root
     privileges.

  5. Optionally, type `make installcheck' to repeat any self-tests, but
     this time using the binaries in their final installed location.
     This target does not install anything.  Running this target as a
     regular user, particularly if the prior `make install' required
     root privileges, verifies that the installation completed
     correctly.

  6. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.

  7. Often, you can also type `make uninstall' to remove the installed
     files again.  In practice, not all packages have tested that
     uninstallation works correctly, even though it is required by the
     GNU Coding Standards.

  8. Some packages, particularly those that use Automake, provide `make
     distcheck', which can by used by developers to test that all other
     targets like `make install' and `make uninstall' work correctly.
     This target is generally not run by end users.

Attachments
sstp-client_README.gz
(1.46 KiB) Downloaded 226 times

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#9 Post by surender »

Hello sir,
There is no Pon how to run the script in puppy linux .I searched in PPM i cannot find anything pon.

It's pretty simple to integrate sstp-client into the Ubuntu / Debian distribution distribution. An example script is provided in support/peer-sstp-example.txt

Specify your MSCHAP password in /etc/ppp/chap-secrets
Example Entry:
SSTP-TEST\\JonDoe sstp-test 'testme1234!' *
Create a connect script in /etc/ppp/peers/sstp-test, similar to the example provided in ./support. Swap out user-name as appropriate.
Start the script using "pon".
sudo pon sstp-test

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

This is Pup, NOT Ubuntu. Don't you have the point-to-point, or, ppp daemon installed? Did you compile?

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#11 Post by surender »

i Have used Precise 5.7.1 version of puppy I could get SSTP Client working but i couldn't connect it asked to use pon I have tried pppd Call even that has not worked either.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#12 Post by Semme »

pon's included with the pppd pkg. What it's asking is for you to script it.

Don't you have sstp-client info in /usr/share/doc?

Further assistance? Create a new topic.

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#13 Post by surender »

sir,

you mean i have to try
sudo pppd sstp-test
instead of sudo pon sstp-test ? please

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#14 Post by surender »

finally i'm at this point i have no idea how to solve any help please

Feb 28 01:04:26 puppypc25675 local2.info pppd[21248]: Plugin sstp-pppd-plugin.so loaded.
Feb 28 01:04:26 puppypc25675 local2.notice pppd[21252]: pppd 2.4.5 started by root, uid 0
Feb 28 01:04:26 puppypc25675 local2.debug pppd[21252]: using channel 37
Feb 28 01:04:26 puppypc25675 local2.info pppd[21252]: Using interface ppp0
Feb 28 01:04:26 puppypc25675 local2.notice pppd[21252]: Connect: ppp0 <--> /dev/pts/1
Feb 28 01:04:27 puppypc25675 local2.debug pppd[21252]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x58d12d33> <pcomp> <accomp>]
Feb 28 01:04:28 puppypc25675 local0.debug sstpc[21253]: Unrecoverable socket error, 1
Feb 28 01:04:28 puppypc25675 local0.debug sstpc[21253]: HTTP handshake with server failed
Feb 28 01:04:28 puppypc25675 local2.notice pppd[21252]: Modem hangup
Feb 28 01:04:28 puppypc25675 local2.notice pppd[21252]: Connection terminated.
Feb 28 01:04:28 puppypc25675 local2.debug pppd[21252]: Script sstpc vpn396068227.softether.net --nolaunchpppd --debug finished (pid 21253), status = 0xff
Feb 28 01:04:28 puppypc25675 local2.info pppd[21252]: Exit.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#15 Post by Semme »

For starters, forget about commands with "sudo" aboard Pup.. they just don't apply >> You're already root!

Assuming you have an MSCHAP password, did you place it in /etc/ppp/chap-secrets?

And how about your sstp-test file.. modified to suit?

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#16 Post by surender »

hello sir

Config file
remotename sstp-test
linkname sstp-test
ipparam sstp-test
pty "sstpc vpn396068227.softether.net"
name vpn
plugin sstp-pppd-plugin.so
sstp-sock /var/run/sstpc/sstpc-sstp-test
usepeerdns
require-mppe-128
refuse-eap
noauth
debug
adopt defaults from the pptp-linux package
file /etc/ppp/options.pptp

Yes i have added /etc/ppp/chap-secrets

chap-secrets
vpn sstp-test vpn vpn396068227.softether.net


Error

Feb 28 00:55:32 puppypc25675 local2.notice pppd[15462]: pppd 2.4.5 started by root, uid 0
Feb 28 00:55:32 puppypc25675 local2.debug pppd[15462]: using channel 36
Feb 28 00:55:32 puppypc25675 local2.info pppd[15462]: Using interface ppp0
Feb 28 00:55:32 puppypc25675 local2.notice pppd[15462]: Connect: ppp0 <--> /dev/pts/1
Feb 28 00:55:33 puppypc25675 local2.debug pppd[15462]: sent [LCP ConfReq id=0x1 ]
Feb 28 00:55:35 puppypc25675 local0.debug sstpc[15463]: Unrecoverable socket error, 1
Feb 28 00:55:35 puppypc25675 local0.debug sstpc[15463]: HTTP handshake with server failed
Feb 28 00:55:35 puppypc25675 local2.notice pppd[15462]: Modem hangup
Feb 28 00:55:35 puppypc25675 local2.notice pppd[15462]: Connection terminated.
Feb 28 00:55:35 puppypc25675 local2.debug pppd[15462]: Script sstpc vpn396068227.softether.net finished (pid 15463), status = 0xff
Feb 28 00:55:35 puppypc25675 local2.info pppd[15462]: Exit.

Thank you for your help

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#17 Post by Semme »

You've got mail!

surender
Posts: 67
Joined: Sun 31 Mar 2013, 01:39

#18 Post by surender »

i have tried to check on my OLd puppy ISO i fialed to make SSTPC

./configure
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/sstp-client-1.0.9':
configure: error: C compiler cannot create executables
See `config.log' for more details

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by sstp-client configure 1.0.9, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = puppypc
uname -m = i686
uname -r = 2.6.33.2
uname -s = Linux
uname -v = #1 SMP Thu May 27 10:56:32 EST 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/bin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/X11R7/bin
PATH: /root/my-applications/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2370: checking whether make supports nested variables
configure:2387: result: yes
configure:2444: checking for a BSD-compatible install
configure:2512: result: /usr/bin/install -c
configure:2523: checking whether build environment is sane
configure:2573: result: yes
configure:2714: checking for a thread-safe mkdir -p
configure:2753: result: /bin/mkdir -p
configure:2766: checking for gawk
configure:2782: found /usr/bin/gawk
configure:2793: result: gawk
configure:2804: checking whether make sets $(MAKE)
configure:2826: result: yes
configure:2965: checking for gcc
configure:2981: found /usr/bin/gcc
configure:2992: result: gcc
configure:3221: checking for C compiler version
configure:3230: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3241: $? = 0
configure:3230: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
configure:3241: $? = 0
configure:3230: gcc -V >&5
gcc: '-V' option must have argument
configure:3241: $? = 1
configure:3230: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3241: $? = 1
configure:3261: checking whether the C compiler works
configure:3283: gcc conftest.c >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:3287: $? = 1
configure:3325: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "sstp-client"
| #define PACKAGE_TARNAME "sstp-client"
| #define PACKAGE_VERSION "1.0.9"
| #define PACKAGE_STRING "sstp-client 1.0.9"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/sstp-client"
| #define PACKAGE_URL ""
| #define PACKAGE "sstp-client"
| #define VERSION "1.0.9"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3330: error: in `/root/sstp-client-1.0.9':
configure:3332: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBEVENT_CFLAGS_set=
ac_cv_env_LIBEVENT_CFLAGS_value=
ac_cv_env_LIBEVENT_CPPFLAGS_set=
ac_cv_env_LIBEVENT_CPPFLAGS_value=
ac_cv_env_LIBEVENT_LDFLAGS_set=
ac_cv_env_LIBEVENT_LDFLAGS_value=
ac_cv_env_LIBEVENT_LIBS_set=
ac_cv_env_LIBEVENT_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/sstp-client-1.0.9/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /root/sstp-client-1.0.9/missing --run autoconf'
AUTOHEADER='${SHELL} /root/sstp-client-1.0.9/missing --run autoheader'
AUTOMAKE='${SHELL} /root/sstp-client-1.0.9/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBEVENT_CFLAGS=''
LIBEVENT_CPPFLAGS=''
LIBEVENT_LDFLAGS=''
LIBEVENT_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/sstp-client-1.0.9/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OPENSSL_INCLUDES=''
OPENSSL_LDFLAGS=''
OPENSSL_LIBS=''
OTOOL64=''
OTOOL=''
PACKAGE='sstp-client'
PACKAGE_BUGREPORT='http://sourceforge.net/projects/sstp-client'
PACKAGE_NAME='sstp-client'
PACKAGE_STRING='sstp-client 1.0.9'
PACKAGE_TARNAME='sstp-client'
PACKAGE_URL=''
PACKAGE_VERSION='1.0.9'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PPPD_PLUGIN_DIR=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SSTP_RUNTIME_DIR=''
STRIP=''
VERSION='1.0.9'
WITH_PPP_PLUGIN_FALSE=''
WITH_PPP_PLUGIN_TRUE=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_group=''
enable_user=''
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/sstp-client-1.0.9/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "sstp-client"
#define PACKAGE_TARNAME "sstp-client"
#define PACKAGE_VERSION "1.0.9"
#define PACKAGE_STRING "sstp-client 1.0.9"
#define PACKAGE_BUGREPORT "http://sourceforge.net/projects/sstp-client"
#define PACKAGE_URL ""
#define PACKAGE "sstp-client"
#define VERSION "1.0.9"

configure: exit 77

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#19 Post by mikeb »

hmm ok so the compiler says gcc cannot make a test executable.
Some gcc version incompatability.
devx corrupt.
Something wrong with the /tmp folder or read only/full file system.
Sources have dos line endings

Just 4 things that come to mind from your log

mike

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#20 Post by Semme »

Surender- aside from these, which pkgs have you installed for 5.28.. any or none?

Tell me too whether this (copy'n paste) returns a version number: ldconfig -V

Code: Select all

sstpc --help
sstp-client v1.0.9
Copyright (C) Eivind Naess 2011-2012, All Rights Reserved

License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Report Bugs:
  http://sourceforge.net/projects/sstp-client

Usage: sstpc <sstp-options> <hostname> [[--] <pppd-options>]
   Or: pppd pty "sstpc --nolaunchpppd <sstp-options> <hostname>"


Post Reply