Install dan Konfigurasi SSTP client di ubuntu 18.04 Lts

Bismillah ,

pertamakali mencoba melakukan install paket untuk sstp client di ubuntu muncul error seperti berikut ,

[email protected]:/home/bit2# apt install sstp-client
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sstp-client : Depends: ppp (< 2.4.7-2~) but 2.4.7-2+2ubuntu1.1 is to be installed
Recommends: network-manager-sstp but it is not going to be installed or
network-manager-sstp-gnome but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[email protected]:/home/bit2#

dari keterangan di atas dapat di ketahui package sstp-client tidak bisa di install di versi ppp 2.4.7-2+2ubuntu1.1 dan dia mebutuhkan versi yang lebih rendah . Untuk penangan nya kita akan coba install untuk versi paket sstp-client yang cocok ,dari link ini https://bugs.launchpad.net/ubuntu/+bug/1740791 dapat kita dapatkan link untuk paket sstp-client yang cocok untuk ppp 2.4.7-2+2ubuntu1.1 , berikut langkah install dan konfigurasi nya :

tambah repositori 

[email protected]:/home/bit2# add-apt-repository ppa:eivnaes/network-manager-sstp
Personal Package Archive for distributing sstp-client and network-manager-sstp binaries for Ubuntu.
More info: https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://linux.teamviewer.com/deb stable InRelease 
Get:3 https://desktop-download.mendeley.com/download/apt stable InRelease [2.456 B] 
Get:4 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic InRelease [15,9 kB] 
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease 
Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB] 
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB] 
Hit:8 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease 
Get:9 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main amd64 Packages [1.324 B] 
Get:10 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main i386 Packages [1.320 B] 
Get:11 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main Translation-en [824 B]
Err:12 http://dl.google.com/linux/chrome/deb stable Release 
Connection failed [IP: 74.125.68.93 80]
Reading package lists... Done
E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Update 

[email protected]:/home/bit2# apt update
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic InRelease 
Get:3 https://desktop-download.mendeley.com/download/apt stable InRelease [2.456 B] 
Hit:4 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease 
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease 
Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease 
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Err:9 http://dl.google.com/linux/chrome/deb stable Release 
Connection failed [IP: 172.217.24.110 80]
Reading package lists... Done
E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
[email protected]:/home/bit2#

Install network-manager-sstp 

[email protected]:/home/bit2# apt install network-manager-sstp
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following additional packages will be installed:
libsstp-api-0 network-manager-sstp-gnome sstp-client
The following NEW packages will be installed:
libsstp-api-0 network-manager-sstp network-manager-sstp-gnome sstp-client
0 upgraded, 4 newly installed, 0 to remove and 241 not upgraded.
Need to get 182 kB of archives.
After this operation, 1.079 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main amd64 libsstp-api-0 amd64 1.0.12-0ubuntu1 [4.556 B]
Get:2 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main amd64 sstp-client amd64 1.0.12-0ubuntu1 [39,1 kB]
Get:3 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main amd64 network-manager-sstp amd64 1.2.6-0ubuntu0 [111 kB]
Get:4 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu bionic/main amd64 network-manager-sstp-gnome amd64 1.2.6-0ubuntu0 [27,6 kB] 
Fetched 182 kB in 11s (16,4 kB/s) 
Selecting previously unselected package libsstp-api-0.
(Reading database ... 319708 files and directories currently installed.)
Preparing to unpack .../libsstp-api-0_1.0.12-0ubuntu1_amd64.deb ...
Unpacking libsstp-api-0 (1.0.12-0ubuntu1) ...
Selecting previously unselected package sstp-client.
Preparing to unpack .../sstp-client_1.0.12-0ubuntu1_amd64.deb ...
Unpacking sstp-client (1.0.12-0ubuntu1) ...
Selecting previously unselected package network-manager-sstp.
Preparing to unpack .../network-manager-sstp_1.2.6-0ubuntu0_amd64.deb ...
Unpacking network-manager-sstp (1.2.6-0ubuntu0) ...
dpkg: warning: unable to delete old directory '/etc/NetworkManager/VPN': Directory not empty
Selecting previously unselected package network-manager-sstp-gnome.
Preparing to unpack .../network-manager-sstp-gnome_1.2.6-0ubuntu0_amd64.deb ...
Unpacking network-manager-sstp-gnome (1.2.6-0ubuntu0) ...
Setting up libsstp-api-0 (1.0.12-0ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up sstp-client (1.0.12-0ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Setting up network-manager-sstp (1.2.6-0ubuntu0) ...
Setting up network-manager-sstp-gnome (1.2.6-0ubuntu0) ...
[email protected]:/home/bit2#

Buat profile SSTP di network manager

di bagian CA certificate , silahkan install certificate yang di dapat dari sstp server , convert certificate kedalam .pem

[email protected]:/home/bit2# cd Desktop/
[email protected]:/home/bit2/Desktop# openssl x509 -in cert_export_
cert_export_ca.crt cert_export_Client.crt 
[email protected]:/home/bit2/Desktop# openssl x509 -in cert_export_ca.crt -out cert_export_ca.pem -outform PEM
[email protected]:/home/bit2/Desktop# ls
cert_export_ca.crt cert_export_ca.pem cert_export_Client.crt
[email protected]:/home/bit2/Desktop#

kemudian test

Referensi :

https://bugs.launchpad.net/ubuntu/+bug/1740791

No Comments, Be The First!

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.