The officially official Devuan Forum!

You are not logged in.

#1 2024-01-17 19:35:21

deepforest
Member
Registered: 2020-03-24
Posts: 304  

[SOLVED] Cloudflare WARP, how to install?

Hello

https://pkg.cloudflareclient.com/

Debian
The supported releases are:

    Bookworm (12)
    Bullseye (11)
    Buster (10)
    Stretch (9)

# Add cloudflare gpg key
curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg

# Add this repo to your apt repositories
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

# Install
sudo apt-get update && sudo apt-get install cloudflare-warp

       
but The repository 'https://pkg.cloudflareclient.com daedalus Release' does not have a Release file.

sudo apt-get update && sudo apt-get install cloudflare-warp
Hit:1 http://deb.devuan.org/merged daedalus InRelease
Hit:2 http://deb.devuan.org/merged daedalus-security InRelease
Hit:3 https://repo.protonvpn.com/debian stable InRelease
Hit:4 http://deb.devuan.org/merged daedalus-updates InRelease
Ign:5 https://pkg.cloudflareclient.com daedalus InRelease
Err:6 https://pkg.cloudflareclient.com daedalus Release
  404  Not Found [IP: 104.19.236.24 443]
Reading package lists... Done
E: The repository 'https://pkg.cloudflareclient.com daedalus Release' does not have 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.
root@home:/etc/apt# 

Last edited by deepforest (2024-01-17 19:36:11)

Offline

#2 2024-01-17 20:14:02

rolfie
Member
Registered: 2017-11-25
Posts: 1,011  

Re: [SOLVED] Cloudflare WARP, how to install?

Replace "$(lsb_release -cs)" with bookworm.

Offline

#3 2024-01-17 21:13:40

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

tried
i think that not good idea
it take too many space
it might mix bookworm and daedalus

root@home:/etc/apt/sources.list.d# sudo apt-get update && sudo apt-get install cloudflare-warp
Hit:1 https://repo.protonvpn.com/debian stable InRelease
Get:2 http://deb.devuan.org/merged daedalus InRelease [42.4 kB]
Hit:3 https://pkg.cloudflareclient.com bookworm InRelease 
Get:4 http://deb.devuan.org/merged daedalus-security InRelease [32.5 kB]
Get:5 http://deb.devuan.org/merged daedalus-updates InRelease [32.5 kB]
Fetched 107 kB in 1s (105 kB/s)     
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  gnupg2 libnss3-tools
The following NEW packages will be installed:
  cloudflare-warp gnupg2 libnss3-tools
0 upgraded, 3 newly installed, 0 to remove and 7 not upgraded.
Need to get 93.4 MB of archives.
After this operation, 441 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

Offline

#4 2024-01-17 21:36:26

rolfie
Member
Registered: 2017-11-25
Posts: 1,011  

Re: [SOLVED] Cloudflare WARP, how to install?

You do not understand what is going on?

Simple explanation: the cloudflareclient only is available for Debian releases, the provider don't know and care about Devuan at all. So if you want something that might possibly work on Devuan you must use the corresponding Debian release name for Daedalus which is Bookworm.

The two dependencies are downloaded from Devuan, so don't worry. If you don't trust the procedure install them beforehand.

Anyhow, there is no warranty that that package will work on Daedalus. You need to determine if it is essential for you, and if it is worth a try. I am showing you whats wrong with the procedure, I haven't used or installed that package, no need for it.

Anyhow, I would try to use a different method anyway: I'd check if I could track down a deb file, download that to /tmp and to install it with dpkg -i and not fiddle with any non Devuan repository into my sources.list.

Last edited by rolfie (2024-01-17 21:41:45)

Offline

#5 2024-01-17 22:31:56

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

Thank you for explain i am understand.
Its package not important for me but i am what to know for future about such situations.
But why this two  dependencies take so much space?

Offline

#6 2024-01-17 23:41:01

emanym
Member
Registered: 2018-04-08
Posts: 35  

Re: [SOLVED] Cloudflare WARP, how to install?

Hi,

But why this two  dependencies take so much space?

They don't, gnupg2 is about 400K, libnss-tools some 4.7M (on chimaera),
leaves about 435 MB for the cloudflare package...

Offline

#7 2024-01-19 18:26:24

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

Something wrong

root@home:/home/freeartist-devuan# sudo apt-get update && sudo apt-get install cloudflare-warp
Hit:1 https://repo.protonvpn.com/debian stable InRelease
Get:2 https://pkg.cloudflareclient.com bookworm InRelease [1,862 B]
Get:3 https://pkg.cloudflareclient.com bookworm/main amd64 Packages [455 B]
Get:4 http://deb.devuan.org/merged daedalus InRelease [42.4 kB]
Get:5 http://deb.devuan.org/merged daedalus-security InRelease [32.5 kB]
Get:6 http://deb.devuan.org/merged daedalus-updates InRelease [32.5 kB]
Get:7 http://deb.devuan.org/merged daedalus-security/main Sources [66.9 kB]
Get:8 http://deb.devuan.org/merged daedalus-security/main amd64 Packages [135 kB]
Get:9 http://deb.devuan.org/merged daedalus-security/main i386 Packages [134 kB]                                                                                                            
Fetched 446 kB in 9s (47.3 kB/s)                                                                                                                                                            
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.1.0-13-amd64 linux-headers-6.1.0-13-common linux-image-6.1.0-13-amd64
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gnupg2 libnss3-tools
The following NEW packages will be installed:
  cloudflare-warp gnupg2 libnss3-tools
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.4 MB of archives.
After this operation, 441 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://pkg.cloudflareclient.com bookworm/main amd64 cloudflare-warp amd64 2023.10.120-1 [91.9 MB]
Get:2 http://deb.devuan.org/merged daedalus/main amd64 gnupg2 all 2.2.40-1.1 [445 kB]
Get:3 http://deb.devuan.org/merged daedalus/main amd64 libnss3-tools amd64 2:3.87.1-1 [1,054 kB]
Fetched 93.4 MB in 18s (5,100 kB/s)                                                                                                                                                         
Selecting previously unselected package gnupg2.
(Reading database ... 220485 files and directories currently installed.)
Preparing to unpack .../gnupg2_2.2.40-1.1_all.deb ...
Unpacking gnupg2 (2.2.40-1.1) ...
Selecting previously unselected package libnss3-tools.
Preparing to unpack .../libnss3-tools_2%3a3.87.1-1_amd64.deb ...
Unpacking libnss3-tools (2:3.87.1-1) ...
Selecting previously unselected package cloudflare-warp.
Preparing to unpack .../cloudflare-warp_2023.10.120-1_amd64.deb ...
Unpacking cloudflare-warp (2023.10.120-1) ...
Setting up gnupg2 (2.2.40-1.1) ...
Setting up libnss3-tools (2:3.87.1-1) ...
Setting up cloudflare-warp (2023.10.120-1) ...
-sh: 1: systemctl: not found
-sh: 1: systemctl: not found
/var/lib/dpkg/info/cloudflare-warp.postinst: 135: systemctl: not found
/var/lib/dpkg/info/cloudflare-warp.postinst: 137: systemctl: not found
sh: 1: systemctl: not found
Can't exec "systemctl": No such file or directory at /usr/bin/deb-systemd-invoke line 133.
warp-svc is a disabled or a static unit, not starting it.
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
root@home:/home/freeartist-devuan# cloudflare-warp
bash: cloudflare-warp: command not found
root@home:/home/freeartist-devuan# 

Offline

#8 2024-01-19 18:33:37

rolfie
Member
Registered: 2017-11-25
Posts: 1,011  

Re: [SOLVED] Cloudflare WARP, how to install?

Offline

#9 2024-01-19 19:01:05

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

root@home:/home/freeartist-devuan# warp-cli register
Error: "Unable to connect to CloudflareWARP daemon. Maybe the daemon is not running?"
root@home:/home/freeartist-devuan#

Offline

#10 2024-01-19 19:04:38

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

root@home:/home/freeartist-devuan# rc-service warp-svc.sevice start
 * rc-service: service `warp-svc.sevice' does not exist
root@home:/home/freeartist-devuan# 

systemd is needed?

Offline

#11 2024-01-20 04:52:12

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 527  

Re: [SOLVED] Cloudflare WARP, how to install?

hi, check this link to this forum for a sysd to sysv start script converter.

when you're done, check the start and stop levels and adjust to your preference.

https://dev1galaxy.org/viewtopic.php?id=6193

the original website is down...

I hope this helps.


pic from 1993, new guitar day.

Offline

#12 2024-01-20 14:23:16

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

thanks, but i am on openrc

Offline

#13 2024-01-21 03:40:21

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 527  

Re: [SOLVED] Cloudflare WARP, how to install?

I also use openrc.

It works, try it.


pic from 1993, new guitar day.

Offline

#14 2024-01-25 17:30:36

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

I also use openrc.
It works, try it.

Thanks and how it works your script trick?

Last edited by deepforest (2024-01-25 17:36:17)

Offline

#15 2024-01-25 17:33:45

deepforest
Member
Registered: 2020-03-24
Posts: 304  

Re: [SOLVED] Cloudflare WARP, how to install?

After installation
Found here

root@home:/bin# ls warp*
warp-cli  warp-dex  warp-diag  warp-svc  warp-taskbar
root@home:/bin# 

All working good despite install warnings

root@home:/bin# /bin/warp-svc                                                                                                                                                             [^]

freeartist-devuan@home:/bin$ warp-cli register
NOTICE:

Cloudflare only collects limited DNS query and traffic data (excluding payload)
that is sent to our network when you have the app enabled on your device. We
will not sell, rent, share, or otherwise disclose your personal information to
anyone, except as otherwise described in this Policy, without first providing
you with notice and the opportunity to consent. All information is handled in
accordance with our Privacy Policy.

More information is available at:
- https://www.cloudflare.com/application/terms/
- https://www.cloudflare.com/application/privacypolicy/

Accept Terms of Service and Privacy Policy? [y/N] y

Success
freeartist-devuan@home:/bin$ warp-cli connect
Success
freeartist-devuan@home:/bin$ curl https://www.cloudflare.com/cdn-cgi/trace/
fl=636f69
h=www.cloudflare.com
ip=2a09:bac5:5981:18f0::27c:45
ts=1705776501.577
visit_scheme=https
uag=curl/7.88.1
colo=FRA
sliver=none
http=http/2
loc=UA
tls=TLSv1.3
sni=plaintext
warp=on
gateway=off
rbi=off
kex=X25519
freeartist-devuan@home:/bin$ warp=on
freeartist-devuan@home:/bin$ 

Last edited by deepforest (2024-01-25 17:34:32)

Offline

#16 2024-01-26 10:55:44

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 527  

Re: [SOLVED] Cloudflare WARP, how to install?

sysd2v-0.3.sh /etc/init.d/<file.name>


pic from 1993, new guitar day.

Offline

Board footer