Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel Wireless WiFi Link Next-Gen AGN - no device
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
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Fri Jul 21, 2023 12:00 am    Post subject: Intel Wireless WiFi Link Next-Gen AGN - no device Reply with quote

I beat my head against the wall figuring this out for hours, so I thought I would post in case anyone else runs into this. I don't know when it started happening or if it is maybe even deliberate for some reason I'm missing. I updated my kernel from 6.1.31 to 6.1.38 and I did the unthinkable - I made more than one change simultaneously without testing each separately.... I removed a bunch of "unused" kernel config options to try to shrink it instead of trying a make oldconfig first on its own.

LIB80211 is selected by:
Code:

   IPW2100 [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && PCI [=y] && CFG80211 [=y]
   IPW2200 [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && PCI [=y] && CFG80211 [=y]
   LIBIPW [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && PCI [=y] && CFG80211 [=y]
   HOSTAP [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTERSIL [=n]
   LIBERTAS [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_MARVELL [=n] && CFG80211 [=y]
   RTLLIB [=n] && STAGING [=n] && WLAN [=y] && m && MODULES [=y]
   R8188EU [=n] && STAGING [=n] && WLAN [=y] && USB [=y] && CFG80211 [=y] && m && MODULES [=y]

LIBIPW is selected by:
Code:

   IPW2100 [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && PCI [=y] && CFG80211 [=y]
   IPW2200 [=n] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && PCI [=y] && CFG80211 [=y]


I'm not sure if excluding CONFIG_IWLWIFI was an oversight or not but it's not obvious that the fix is to enable any other Intel driver as a module even if you don't have that card in your machine.


TL;DR: CONFIG_IWLWIFI doesn't automagically select LIB80211, which is necessary for wireless networking to function properly. The other Intel wireless drivers do select LIB80211. The effected cards are:
Code:
┌────────────── Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)  ───────────────┐
  │ CONFIG_IWLWIFI:                                                                                             │
  │                                                                                                             │
  │ Select to build the driver supporting the:                                                                  │
  │                                                                                                             │
  │ Intel Wireless WiFi Link Next-Gen AGN                                                                       │
  │                                                                                                         │
  │ This option enables support for use with the following hardware:                                            │
  │       Intel Wireless WiFi Link 6250AGN Adapter                                                              │
  │       Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)                                                │
  │       Intel WiFi Link 1000BGN                                                                               │
  │       Intel Wireless WiFi 5150AGN                                                                           │
  │       Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN                                                     │
  │       Intel 6005 Series Wi-Fi Adapters                                                                      │
  │       Intel 6030 Series Wi-Fi Adapters                                                                      │
  │       Intel Wireless WiFi Link 6150BGN 2 Adapter                                                            │
  │       Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)                                                   │
  │       Intel 2000 Series Wi-Fi Adapters                                                                      │
  │       Intel 7260 Wi-Fi Adapter                                                                              │
  │       Intel 3160 Wi-Fi Adapter                                                                              │
  │       Intel 7265 Wi-Fi Adapter                                                                              │
  │       Intel 8260 Wi-Fi Adapter                                                                              │
  │       Intel 3165 Wi-Fi Adapter


If your Intel Card of the same persuasion produces dmesg output like this:
Code:
[   36.413131] Intel(R) Wireless WiFi driver for Linux
[   36.413573] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[   36.423371] Loading firmware: iwlwifi-8265-36.ucode
[   36.431650] iwlwifi 0000:02:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm

but you can't see any wlp/wlan device, rfkill doesn't have one either, and you don't have dmesg output like this:
Code:
[   36.916171] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[   37.023277] iwlwifi 0000:02:00.0: base HW address: a8:6d:aa:cb:92:3d, OTP minor version: 0x4
[   37.102497] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'

do a
Code:
grep LIB80211 .config
and make sure it's not unset.[/code]
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2130

PostPosted: Fri Jul 21, 2023 2:23 am    Post subject: Re: Intel Wireless WiFi Link Next-Gen AGN - no device Reply with quote

thebigslide wrote:
ITL;DR: CONFIG_IWLWIFI doesn't automagically select LIB80211, which is necessary for wireless networking to function properly. The other Intel wireless drivers do select LIB80211. ]


LIB80211 is necessary for really ancient cards, Modern ones do not need it.

Your issue is related to something else, but the detail are too limited to determine what.
Please put the entire dmesg and kernel config on a paste site for more debugging.
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