LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2018, 08:00 PM   #1
jabbathehutt
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Rep: Reputation: Disabled
Question Windscribe VPN on Debian 9


Hi.
I wanted to install VPN program named Windscribe on my Debian 9 and I followed instructions on their webpage: https://windscribe.com/guides/linux#how-to
This is what I got after each command:
apt-get install dirmngr apt-transport-https
Quote:
root@debian:/home/francisco# apt-get install dirmngr apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
tor
The following NEW packages will be installed:
apt-transport-https dirmngr
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/766 kB of archives.
After this operation, 1,353 kB of additional disk space will be used.
Media change: please insert the disc labeled
'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]

Media change: please insert the disc labeled
'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]

Get:1 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 apt-transport-https amd64 1.4.8 [171 kB]
Get:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 dirmngr amd64 2.1.18-8~deb9u1 [595 kB]
Selecting previously unselected package apt-transport-https.
(Reading database ... 132538 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.4.8_amd64.deb ...
Unpacking apt-transport-https (1.4.8) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../dirmngr_2.1.18-8~deb9u1_amd64.deb ...
Unpacking dirmngr (2.1.18-8~deb9u1) ...
Setting up apt-transport-https (1.4.8) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up dirmngr (2.1.18-8~deb9u1) ...
apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7
Quote:
root@debian:/home/francisco# apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7
Executing: /tmp/apt-key-gpghome.vypALhn2o8/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-key FDC247B7
gpg: key F1E52E16FDC247B7: public key "Windscribe Limited <support@windscribe.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
sh -c "echo 'deb https://repo.windscribe.com/debian stretch main' > /etc/apt/sources.list.d/windscribe-repo.list"
Quote:
root@debian:/home/francisco# sh -c "echo 'deb https://repo.windscribe.com/debian stretch main' > /etc/apt/sources.list.d/windscribe-repo.list"
apt-get update
Quote:
root@debian:/home/francisco# apt-get update
Ign:1 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch InRelease
Ign:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21] stretch InRelease
Ign:3 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch InRelease
A lot more Ign:# and Hit:# stuff.
Ign:46 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch/main all DEP-11 Metadata
Ign:47 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch/main amd64 DEP-11 Metadata
Ign:48 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch/main DEP-11 64x64 Icons
Hit:49 http://security.debian.org/debian-security stretch/updates InRelease
Get:50 https://repo.windscribe.com/debian stretch InRelease [7,326 B]
Get:51 https://repo.windscribe.com/debian stretch/main amd64 Packages [753 B]
Fetched 8,079 B in 0s (9,181 B/s)
Reading package lists... Done
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-3 20180310-11:21] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
apt-get install windscribe-cli
Quote:
root@debian:/home/francisco# apt-get install windscribe-cli
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
easy-rsa libccid libpkcs11-helper1 opensc opensc-pkcs11 openvpn pcscd resolvconf stunnel4
Suggested packages:
pcmciautils logcheck-database
The following NEW packages will be installed:
easy-rsa libccid libpkcs11-helper1 opensc opensc-pkcs11 openvpn pcscd resolvconf stunnel4 windscribe-cli
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,522 kB/11.8 MB of archives.
After this operation, 16.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://repo.windscribe.com/debian stretch/main amd64 windscribe-cli amd64 1.1-2 [9,522 kB]
Media change: please insert the disc labeled
'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]

Get:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-2 20180310-11:21] stretch/main amd64 stunnel4 amd64 3:5.39-2 [188 kB]
Ign:3 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 libpkcs11-helper1 amd64 1.21-1
Ign:4 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 openvpn amd64 2.4.0-6+deb9u2
Ign:5 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 libccid amd64 1.4.26-1
Ign:6 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 pcscd amd64 1.8.20-1
Ign:7 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 resolvconf all 1.79
Ign:8 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 easy-rsa all 2.2.2-2
Ign:9 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 opensc-pkcs11 amd64 0.16.0-3
Ign:10 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21] stretch/main amd64 opensc amd64 0.16.0-3
Fetched 9,522 kB in 1min 10s (136 kB/s)
Selecting previously unselected package stunnel4.
(Reading database ... 132563 files and directories currently installed.)
Preparing to unpack .../stunnel4_5.39-2_amd64.deb ...
Unpacking stunnel4 (3:5.39-2) ...
Selecting previously unselected package windscribe-cli.
Preparing to unpack .../windscribe-cli_1.1-2_amd64.deb ...
Unpacking windscribe-cli (1.1-2) ...
dpkg: dependency problems prevent configuration of windscribe-cli:
windscribe-cli depends on openvpn; however:
Package openvpn is not installed.
windscribe-cli depends on resolvconf; however:
Package resolvconf is not installed.

dpkg: error processing package windscribe-cli (--configure):
dependency problems - leaving unconfigured
Setting up stunnel4 (3:5.39-2) ...
Warning: The home dir /var/run/stunnel4 you specified can't be accessed: No such file or directory
Adding system user `stunnel4' (UID 119) ...
Adding new group `stunnel4' (GID 124) ...
Adding new user `stunnel4' (UID 119) with group `stunnel4' ...
Not creating home directory `/var/run/stunnel4'.
Processing triggers for systemd (232-25+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
windscribe-cli
E: Sub-process /usr/bin/dpkg returned an error code (1)
What should I do?
 
Old 06-05-2018, 08:20 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,191

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
First question, why do you go through DVD hell? It seems you have an internet connection, so why not use the on-line Debian repos.

As to your question, both missing packages are available in Stretch. It could an error somewhere in an installation script.

You can solve missing packages by simply installing them.
Code:
sudo apt-get install openvpn resolvconf
Maybe you will get an error message, it might be the reason why the packages are still missing if the problem is not the installation script.

jlinkels
 
1 members found this post helpful.
Old 06-05-2018, 08:32 PM   #3
jabbathehutt
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
So I tried:
Quote:
sudo apt-get install openvpn resolvconf
and then:
Quote:
apt-get install openvpn resolvconf
and got:
Quote:
root@debian:/home/francisco# sudo apt-get install openvpn resolvconf
bash: sudo: command not found
root@debian:/home/francisco# apt-get install openvpn resolvconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openvpn : Depends: libpkcs11-helper1 (>= 1.11) but it is not going to be installed
Recommends: easy-rsa but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
Old 06-05-2018, 08:45 PM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,191

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
Did you try to run
Code:
apt-get install -f
Now libpkcs11-helper1 depends on just two other packages so when the command above does not give a solution, apt-get installing libpkcs11-helper1 should give a clear error.

Are you using the on-line repos now instead of the DVDs? Did you run apt-get update? You /etc/apt/sources.list should contain:

Code:
deb http://httpredir.debian.org/debian/ stretch main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian/ stretch-updates main contrib non-free
The part in green is the minimum requirement.

jlinkels
 
1 members found this post helpful.
Old 06-05-2018, 09:27 PM   #5
jabbathehutt
LQ Newbie
 
Registered: Jun 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
OK, I changed my sources.list, installed libpkcs11-helper1, terminal shown lots of stuff and now Windscribe works. It connects only to UK right now but I'll try to change that later. Thanks.
 
Old 06-14-2018, 02:08 PM   #6
rjsop
LQ Newbie
 
Registered: Jun 2018
Posts: 1

Rep: Reputation: Disabled
I have this working on Debian 9 and am trying to make a VPN router/hotspot on a raspberry pi 3 with windscribe. Each side works fine (in on eth0 and out on wlan0) but when windscribe is enabled I get "no internet" on the wlan connections.

Does anyone know how I to properly setup the routing when the VPN is active? I tried this with no luck.

ADD ROUTING AND MASQUERADE
Edit /etc/sysctl.conf and uncomment this line:

net.ipv4.ip_forward=1
Add a masquerade for outbound traffic on eth0:

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Save the iptables rule.

sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"
Edit /etc/rc.local and add this just above "exit 0" to install these rules on boot.

iptables-restore < /etc/iptables.ipv4.nat
 
Old 06-16-2018, 10:49 AM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hi rjsop,

Welcome!

Could you please start a new thread?
 
Old 11-17-2018, 08:08 AM   #8
shubhamkandalgaonkar
LQ Newbie
 
Registered: Nov 2018
Posts: 1

Rep: Reputation: Disabled
Smile just try this ,this will only work if your resolv.conf file is locked

chattr -i /etc/resolv.conf
 
  


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
[SOLVED] Windows7 VPN clients behind Debian Gateway can not connect to Draytek VPN neopandid Linux - Server 3 09-01-2012 12:34 AM
Need help setting up VPN on Debian Overv Linux - Networking 1 11-10-2011 01:20 PM
vpn-vpn Bridge between two networks (1x Debian Server, 1x Cisco RVS4000) qawse Linux - Networking 2 01-14-2011 02:16 AM
Vpn in Debian ehsantux Linux - Networking 1 04-24-2008 02:07 PM
vpn on debian stella Linux - Networking 0 09-24-2002 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:35 PM.

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