Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with wifi ... status always inactive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 271

PostPosted: Thu May 22, 2025 9:46 pm    Post subject: Help with wifi ... status always inactive Reply with quote

Wifi used to work, but after an update, now having issues with it. I'm running wpa_supplicant-2.11-r3. I had also rebuilt wpa_supplicant with tkip USE, to no avail.

Code:
$ dmesg | grep iwl

[    9.653942] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    9.656448] iwlwifi 0000:00:14.3: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
[    9.656493] iwlwifi 0000:00:14.3: PCI dev 51f0/4070, rev=0x370, rfid=0x10a100
[    9.656495] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6 AX201 160MHz
[    9.656508] Loading firmware: iwlwifi-so-a0-hr-b0-89.ucode
[    9.660413] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.42
[    9.660748] Loading firmware: iwl-debug-yoyo.bin
[    9.660762] iwlwifi 0000:00:14.3: loaded firmware version 89.1a492d28.0 so-a0-hr-b0-89.ucode op_mode iwlmvm
[    9.815827] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    9.815877] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    9.815926] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[    9.815985] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[    9.816161] iwlwifi 0000:00:14.3: Detected RF HR B5, rfid=0x10a100
[    9.817079] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[    9.882171] iwlwifi 0000:00:14.3: base HW address: 88:d8:2e:2d:b1:08
[    9.915002] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   12.554468] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   12.554570] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   12.554618] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90
[   12.554667] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10
[   12.555577] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5
[   12.629784] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, with index: 0


Code:

$ ifconfig
enp45s0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.50.122  netmask 255.255.255.0  broadcast 192.168.50.255
        inet6 fe80::2be:43ff:fe58:2dc0  prefixlen 64  scopeid 0x20<link>
        ether 00:be:43:58:2d:c0  txqueuelen 1000  (Ethernet)
        RX packets 10955  bytes 12768757 (12.1 MiB)
        RX errors 0  dropped 201  overruns 0  frame 0
        TX packets 5238  bytes 604308 (590.1 KiB)
        TX errors 0  dropped 1 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 3640  bytes 215298 (210.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3640  bytes 215298 (210.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Code:
$ rfkill list
0: hci0: Bluetooth
   Soft blocked: yes
   Hard blocked: no
1: phy0: Wireless LAN
   Soft blocked: yes
   Hard blocked: no



Code:
$ sudo /etc/init.d/net.wlp0s20f3 restart
 * Bringing down interface wlp0s20f3
 *   Stopping wpa_cli on wlp0s20f3 ... [ ok ]
 *   Stopping wpa_supplicant on wlp0s20f3 ... [ ok ]
 * Bringing up interface wlp0s20f3
 *   Starting wpa_supplicant on wlp0s20f3 ...Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
rfkill: WLAN soft blocked
 [ ok ]
 *   Starting wpa_cli on wlp0s20f3 ... [ ok ]
 *   Backgrounding ... ... * WARNING: net.wlp0s20f3 has started, but is inactive


Code:
$ sudo /etc/init.d/net.wlp0s20f3 status
 * status: inactive


Last edited by Tzuriel on Sat May 24, 2025 12:19 am; edited 1 time in total
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 517

PostPosted: Fri May 23, 2025 7:25 pm    Post subject: Reply with quote

Tzuriel wrote:
Wifi used to work, but after an update, now having issues with it.
What was updated? The kernel? Firmware? wpa_supplicant? Give us the list, it will help narrow the problem space.

What does rfkill ublock do? Does it help?
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 271

PostPosted: Fri May 23, 2025 8:30 pm    Post subject: Reply with quote

I'm afraid all the above. I updated the kernel to a 6.14.5 and did a full system rebuild (after trying to install enlightenment cause me some issues) with 'emerge -e @world'. Did a -uDNp @world before that. wpa_supplicant was updated to 2.11-r3.
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 271

PostPosted: Sun May 25, 2025 8:27 pm    Post subject: Reply with quote

I no longer have the "match already configured" error above. I believe this was caused by having multiple services trying to manage the interface. However, the interface is still inactive.

Should connman be running? I never configured that to run, but it's there. If I stop it, my ethernet stops, but nothing changes w/ wifi.
Code:
$ rc-status
Runlevel: default
 bluetooth                                                         [  started  ]
 chronyd                                                           [  started  ]
 ip6tables                                                         [  started  ]
 iptables                                                          [  started  ]
 netmount                                                          [  started  ]
 sysklogd                                                          [  started  ]
 ntp-client                                                        [  stopped  ]
 sshd                                                              [  started  ]
 local                                                              [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 dbus                                                              [  started  ]
 connman                                                           [  started  ]
Dynamic Runlevel: manual


So, I make sure wpa_supplicant is not running (because I notice multiple of them running at times, along with wpa_cli) ...

Code:
$ killall wpa_supplicant

Then ...

Code:
$ sudo /etc/init.d/net.wp start

 * Bringing up interface wlp0s20f3
 *   Starting wpa_supplicant on wlp0s20f3 ...Successfully initialized wpa_supplicant
rfkill: WLAN soft blocked
 [ ok ]
 *   Starting wpa_cli on wlp0s20f3 ... [ ok ]
 *   Backgrounding ... ... * WARNING: net.wlp0s20f3 has started, but is inactive


I'm unclear on the soft block above.
Then I check with what's there ...
Code:

$ ps ef | grep wpa

root      4880     1  0 15:18 ?        00:00:00 wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -W -B -i wlp0s20f3 -P /run/wpa_supplicant-wlp0s20f3.pid
root      4887     1  0 15:18 ?        00:00:00 wpa_cli -a /etc/wpa_supplicant/wpa_cli.sh -p /var/run/wpa_supplicant -i wlp0s20f3 -P /run/wpa_cli-wlp0s20f3.pid -B
me    4902  2077  0 15:18 pts/5    00:00:00 grep --color=auto wpa

I don't understand how multiple wpa_supplicants are running?

Here's what's in /etc/runlevels
Code:

.
├── boot
│   ├── alsasound -> /etc/init.d/alsasound
│   ├── binfmt -> /etc/init.d/binfmt
│   ├── bootmisc -> /etc/init.d/bootmisc
│   ├── dmcrypt -> /etc/init.d/dmcrypt
│   ├── fsck -> /etc/init.d/fsck
│   ├── hostname -> /etc/init.d/hostname
│   ├── hwclock -> /etc/init.d/hwclock
│   ├── keymaps -> /etc/init.d/keymaps
│   ├── localmount -> /etc/init.d/localmount
│   ├── loopback -> /etc/init.d/loopback
│   ├── lvm -> /etc/init.d/lvm
│   ├── modules -> /etc/init.d/modules
│   ├── mtab -> /etc/init.d/mtab
│   ├── procfs -> /etc/init.d/procfs
│   ├── root -> /etc/init.d/root
│   ├── save-keymaps -> /etc/init.d/save-keymaps
│   ├── save-termencoding -> /etc/init.d/save-termencoding
│   ├── seedrng -> /etc/init.d/seedrng
│   ├── stmpfiles-setup -> /etc/init.d/stmpfiles-setup
│   ├── swap -> /etc/init.d/swap
│   ├── sysctl -> /etc/init.d/sysctl
│   ├── systemd-tmpfiles-setup -> /etc/init.d/systemd-tmpfiles-setup
│   └── termencoding -> /etc/init.d/termencoding
├── default
│   ├── bluetooth -> /etc/init.d/bluetooth
│   ├── chronyd -> /etc/init.d/chronyd
│   ├── ip6tables -> /etc/init.d/ip6tables
│   ├── iptables -> /etc/init.d/iptables
│   ├── local -> /etc/init.d/local
│   ├── netmount -> /etc/init.d/netmount
│   ├── ntp-client -> /etc/init.d/ntp-client
│   ├── sshd -> /etc/init.d/sshd
│   └── sysklogd -> /etc/init.d/sysklogd
├── nonetwork
│   └── local -> /etc/init.d/local
├── shutdown
│   ├── killprocs -> /etc/init.d/killprocs
│   ├── mount-ro -> /etc/init.d/mount-ro
│   └── savecache -> /etc/init.d/savecache
└── sysinit
    ├── cgroups -> /etc/init.d/cgroups
    ├── devfs -> /etc/init.d/devfs
    ├── dmesg -> /etc/init.d/dmesg
    ├── kmod-static-nodes -> /etc/init.d/kmod-static-nodes
    ├── stmpfiles-dev -> /etc/init.d/stmpfiles-dev
    ├── sysfs -> /etc/init.d/sysfs
    ├── systemd-tmpfiles-setup-dev -> /etc/init.d/systemd-tmpfiles-setup-dev
    ├── udev -> /etc/init.d/udev
    └── udev-trigger -> /etc/init.d/udev-trigger

6 directories, 45 files


Code:

$ ifconfig -a
enp45s0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.50.125  netmask 255.255.255.0  broadcast 192.168.50.255
        inet6 fe80::2be:44ff:fe48:24c0  prefixlen 64  scopeid 0x20<link>
        ether 00:be:43:58:2e:c0  txqueuelen 1000  (Ethernet)
        RX packets 10741  bytes 8352757 (7.9 MiB)
        RX errors 0  dropped 996  overruns 0  frame 0
        TX packets 4500  bytes 615100 (600.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 292  bytes 27336 (26.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 292  bytes 27336 (26.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

sit0: flags=128<NOARP>  mtu 1480
        sit  txqueuelen 1000  (IPv6-in-IPv4)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp0s20f3: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 88:d8:2e:3d:be:08  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Code:

$ iw dev
phy#0
   Interface wlp0s20f3
      ifindex 4
      wdev 0x1
      addr 88:d8:23:2d:b2:08
      type managed
      multicast TXQ:
         qsz-byt   qsz-pkt   flows   drops   marks   overlmt   hashcol   tx-bytes   tx-packets
         0   0   0   0   0   0   0   0      0
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 517

PostPosted: Sun May 25, 2025 9:01 pm    Post subject: Reply with quote

Tzuriel wrote:
I'm unclear on the soft block above.
Allow me to quote myself:
bstaletic wrote:
What does rfkill ublock do? Does it help?

Tzuriel wrote:
I don't understand how multiple wpa_supplicants are running?
They are not. wpa_cli is the interactive cli interface. Looks like whatever is supposed to be starting wpa_supplicant is doing it very wrong.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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