Looking for working VPN - Porteus 5.0rc2

Post here if you are a new Porteus member and you're looking for some help.
User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Looking for working VPN - Porteus 5.0rc2

Post#1 by AcnapyxoB » 20 Aug 2020, 16:37

I am looking for answers to two questions. Both are for Porteus 5.0rc2 XFCE.
The first one is important for me, the second is out of curiosity!

1. I'm looking for a working solution for OpenConnect more precisely Cisco AniConnect VPN.
In Porteus 4.0 I had built woking modules for XFCE NetworkManager with OpenConnect and PPTP, but all attempts to assemble such module for Porteus 5.0rc2 are unsuccessful :wall:

2. When inserting a USB flash drive, it takes a long time (about 20-25 sec.) before the device is available and sometimes during this period the Thunar file manager is unusable.
This is not typical only for Porteus 5.0rc2, but rather for newer kernels ver. 5.x
Last edited by AcnapyxoB on 21 Aug 2020, 04:09, edited 1 time in total.
Porteus v5.01 KDE x86_64

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Looking for working VPN - Porteus 5.0rc2

Post#2 by Blaze » 20 Aug 2020, 17:03

Hi AcnapyxoB,

1. Do you try to build openconnect from git https://github.com/openconnect ?
What is sources do you use for build these modules (can you write names of these modules and probably links)?

2. I use Cinnamon and don't have this issue. Need to look at Thunar in Xfce.

Cheers
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Looking for working VPN - Porteus 5.0rc2

Post#3 by AcnapyxoB » 20 Aug 2020, 17:23

Blaze thanks for quick answer (as always).

In the last attempt I used NetworkManager-openconnect-1.2.4-x86_64-1alien, openconnect-7.08-x86_64-3alien and NetworkManager-vpnc-1.2.4-x86_64-2_slonly.
All from https://pkgs.org/.
Finished with a message:
The VPN connection "ALABALA" failed to start.
The VPN service 'org.freedesktop.networkManager.openconnect' was not installed.
Interesting that almost the same solution works on Porteus 4.0 64bit XFCE.

About https://github.com/openconnect I'm not very good, I don't know how to build module from source!

Cheers
Porteus v5.01 KDE x86_64

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Looking for working VPN - Porteus 5.0rc2

Post#4 by Blaze » 21 Aug 2020, 07:13

With NetworkManager-vpnc I have issue when I run ./autogen.sh

Code: Select all

checking for libnm-gtk >= 1.2.0... no
configure: error: Package requirements (libnm-gtk >= 1.2.0) were not met:

Package 'NetworkManager', required by 'libnm-gtk', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBNM_GTK_CFLAGS
and LIBNM_GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
https://slackbuilds.org/repository/14.2 ... ager-vpnc/
https://github.com/NetworkManager/NetworkManager-vpnc

Any suggestion are welcome.

openconnect-8.10-x86_64-1_SBo.xzm
NetworkManager-openconnect-1.2.6-x86_64-1_SBo.xzm
vpnc-r550-x86_64-3_SBo.xzm
NetworkManager-vpnc-1.2.4-x86_64-2_slonly.xzm (old)

After activation modules, run the following commands in the terminal:

Code: Select all

su
toor
useradd -u 321 -g nogroup -d /var/empty -s /bin/false nm-openconnect
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Looking for working VPN - Porteus 5.0rc2

Post#5 by AcnapyxoB » 21 Aug 2020, 14:39

Modules activated, executed command (as root):

Code: Select all

useradd -u 321 -g nogroup -d /var/empty -s /bin/false nm-openconnect
When try to connect same error:

Code: Select all

The VPN connection "ALABALA" failed to start.
The VPN service 'org.freedesktop.networkManager.openconnect' was not installed.
Modules activated during boot, executed command from above:

Code: Select all

root@user:/home/guest# useradd -u 321 -g nogroup -d /var/empty -s /bin/false nm-openconnect
nscd: relocation error: nscd: symbol __nss_database_lookup2 version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
nscd: relocation error: nscd: symbol __nss_database_lookup2 version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
nscd: relocation error: nscd: symbol __nss_database_lookup2 version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
nscd: relocation error: nscd: symbol __nss_database_lookup2 version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
root@user:/home/guest# useradd -u 321 -g nogroup -d /var/empty -s /bin/false nm-openconnect
useradd: user 'nm-openconnect' already exists
when traing to connect - timeout errror.
Porteus v5.01 KDE x86_64

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Looking for working VPN - Porteus 5.0rc2

Post#6 by Blaze » 21 Aug 2020, 14:59

AcnapyxoB,
1) how about

Code: Select all

su
toor
cache-module
# y
reboot
?

2) Did you try GUI?

Image

Image
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

Looking for working VPN - Porteus 5.0rc2

Post#7 by AcnapyxoB » 21 Aug 2020, 17:43

Blaze I don't know how cache-module works, but it save the situation :Yahoo!:
Tried with Cinnamon and XFCE - works for both.

Thanks!
Porteus v5.01 KDE x86_64

Post Reply