Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Kernel config problem with cloudflare-warp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Leon aksy
n00b
n00b


Joined: 22 Jan 2024
Posts: 2

PostPosted: Tue Feb 20, 2024 4:15 pm    Post subject: [Solved] Kernel config problem with cloudflare-warp Reply with quote

I installed cloudflare-warp from guru overlay, and followed the instruction on cloudflare docs: https://developers.cloudflare.com/warp-client/get-started/linux/

It worked with the dist kenel, but not with my kernel, when I did warp-cli connet, the name resolve stopped to work, and a simple ping 8.8.8.8 didn't received anything.
(I think it's not a dns problem because when i only set warp mode to doh (https://developers.cloudflare.com/warp-client/get-started/linux/#switching-modes), the network works fine)
warp-cli status shows:
Code:
Status update: Disconnected. Reason: Manual Disconnection
Success



ps: I already set up config for nftables, as required here: https://wiki.gentoo.org/wiki/Nftables#Kernel , but i dont know what else config flags are needed to use warp.

My kernel config is listed in https://pastebin.com/2Yehchbg,
lsmod gives
Code:

Module                  Size  Used by
nft_reject_inet        12288  0
nft_reject             12288  1 nft_reject_inet
nf_tables             356352  2 nft_reject_inet,nft_reject
pkcs8_key_parser       12288  0
amdgpu              11497472  16
ath11k_pci             24576  0
ath11k                520192  1 ath11k_pci
i2c_algo_bit           12288  1 amdgpu
qmi_helpers            32768  1 ath11k
drm_ttm_helper         12288  1 amdgpu
snd_soc_dmic           12288  1
ttm                    98304  2 amdgpu,drm_ttm_helper
snd_soc_ps_mach        12288  0
drm_exec               12288  1 amdgpu
snd_sof_amd_vangogh    16384  0
drm_suballoc_helper    12288  1 amdgpu
snd_sof_amd_rembrandt    16384  0
amdxcp                 12288  1 amdgpu
mac80211             1212416  1 ath11k
mfd_core               12288  1 amdgpu
snd_sof_amd_renoir     16384  0
drm_buddy              20480  1 amdgpu
snd_sof_amd_acp        45056  3 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_renoir
libarc4                12288  1 mac80211
kvm_amd               143360  0
gpu_sched              57344  1 amdgpu
snd_sof_xtensa_dsp     16384  1 snd_sof_amd_acp
kvm                  1298432  1 kvm_amd
drm_display_helper    204800  1 amdgpu
snd_sof_pci            20480  3 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_renoir
i2c_hid_acpi           12288  0
thinkpad_acpi         147456  0
irqbypass              12288  1 kvm
drm_kms_helper        245760  4 drm_display_helper,amdgpu
i2c_hid                28672  1 i2c_hid_acpi
platform_profile       12288  1 thinkpad_acpi
snd_sof               221184  2 snd_sof_amd_acp,snd_sof_pci
sp5100_tco             12288  0
cfg80211             1224704  2 ath11k,mac80211
watchdog               36864  1 sp5100_tco
snd_sof_utils          12288  1 snd_sof
drm                   708608  18 gpu_sched,i2c_hid,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,thinkpad_acpi,amdgpu,drm_ttm_helper,ttm,amdxcp
drm_panel_orientation_quirks    24576  1 drm


Last edited by Leon aksy on Sat Feb 24, 2024 2:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Leon aksy
n00b
n00b


Joined: 22 Jan 2024
Posts: 2

PostPosted: Sat Feb 24, 2024 2:48 am    Post subject: solved, missing tun module Reply with quote

I booted with the dist kernel and my kernel, run lsmod on both, before and after using warp, used diff to find what mods are loaded and found out

Code:

❯ diff my-kernel-before-warp my-kernel-after-warp
1a2,3
> nft_reject_inet
> nft_reject

❯ diff dist-kernel-before-warp dist-kernel-after-warp
1a2,6
> tun
> nft_reject_inet
> nf_reject_ipv4
> nf_reject_ipv6
> nft_reject


I enabled the tun module, recompiled and it worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum