Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wifi disconnects on its own[solved]
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1603

PostPosted: Tue Oct 19, 2021 9:35 am    Post subject: wifi disconnects on its own[solved] Reply with quote

on my gentoo laptop, the wifi always disconnects after a period of time from connecting.

I always see this error whenthe wifi disconnects:
Code:
Oct 19 11:01:53 samsung wpa_supplicant[1280]: wlp2s0: CTRL-EVENT-BEACON-LOSS
Oct 19 11:02:30 samsung wpa_supplicant[1280]: wlp2s0: CTRL-EVENT-BEACON-LOSS



this is my wifi card:
Code:
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)


I disabled all the tunables in powertop and am still getting the same result.
any idea what I can do about this?


Last edited by Adel Ahmed on Sun Oct 31, 2021 4:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Tue Oct 19, 2021 12:47 pm    Post subject: Reply with quote

It seem's to be a carrior problem. How high is your signal strench using iwconfig? If it can help you these are my options for the iwlwifi module and some modules it depend on in /etc/modprobe.d/modprobe.conf:
Code:
options cfg80211 cfg80211_disable_40mhz_24ghz=1 ieee80211_regdom=CA
options iwlmvm power_scheme=1
options iwlwifi bt_coex_active=1 disable_11ac=1 disable_11ax=1 enable_ini=0 fw_restart=0 led_mode=3 power_level=1 power_save=0 swcrypto=0 uapsd_disable=1
options mac80211 max_nullfunc_tries=60 max_probe_tries=60 probe_wait_ms=3600000

Disable the 40ghz on the 2.4ghz band may be necessary. I do not allow wifi to do power saving. CA is my country, your may be different. If you use ac (5g) and/or ax you have to put 0 to not be disable or remove the options. Than maybe put 11n_disable=1 on the line. But I think that your Intel wifi card do not support 5g.

If I disable bluetooth coexistence iwlwifi tell me that it is not allowed so, I keep it on. This is my configuration for the 2.4mhz band. This is my Intel wifi card:
Code:
Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)


I hope that your kernel configuration have put the iwlwifi support in module to make things easier and that all the Intel firmware files for wifi are on the root filesystem.

See modinfo iwlwifi
_________________
Paul
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1603

PostPosted: Sun Oct 31, 2021 4:39 am    Post subject: Reply with quote

I've been testing the parameters for a while now, it seems with teh following parameter wifi does not get disconnected:
options iwlmvm power_scheme=1

thanks
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