View previous topic :: View next topic |
Author |
Message |
JarzaClay n00b
Joined: 21 Aug 2024 Posts: 23
|
Posted: Sat Aug 24, 2024 4:27 pm Post subject: [SOLVED] Wireless network not showing up new install |
|
|
When I started my Gentoo kernel for the first time, I checked ip addr and got only 2 network devices, loopback and Ethernet. In the live iso, my wireless networking card was picked up just fine, and obviously worked, because I installed packages. Why wouldn't it show up? Is it a problem with fstab? Kernel drivers missing? Something else? I am glad to give needed information.
Last edited by JarzaClay on Mon Aug 26, 2024 3:50 pm; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22648
|
Posted: Sat Aug 24, 2024 4:56 pm Post subject: |
|
|
If the device is not visible in ip addr or ip link, then the kernel does not consider the device to be usable. The most common reason is that your kernel does not have the appropriate Kconfig symbol enabled to include support for the device. I think I have read of devices which were unavailable because the Kconfig was enabled, but mandatory firmware was absent, so the kernel abandoned initializing the device.
fstab should be irrelevant here.
Please pastebin the output of lspci -nnk, lsusb, and your non-working kernel configuration. I ask for both pci and usb since I do not know whether your wireless card is a PCI device or a USB dongle, so we should check both. If you have it, also tell us any identifying data about the device: manufacturer, product name (if known), link to its manual (if known). If you don't have those, we can try to work it out. The output of lspci -nnk would be particularly helpful if you can collect it from the live medium where the card worked, but we can still try to solve this even if you can only collect that from the non-working kernel. |
|
Back to top |
|
|
JarzaClay n00b
Joined: 21 Aug 2024 Posts: 23
|
Posted: Sat Aug 24, 2024 5:10 pm Post subject: |
|
|
My device shows up under lspci as a "MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter" I looked though the kernel config and couldn't find drivers for this specific device. Could that be the problem, or are other drivers from the same family fine for this? (I am currently compiling new kernel with all of the mediatek drivers included as modules) |
|
Back to top |
|
|
JarzaClay n00b
Joined: 21 Aug 2024 Posts: 23
|
|
Back to top |
|
|
JarzaClay n00b
Joined: 21 Aug 2024 Posts: 23
|
Posted: Sat Aug 24, 2024 5:34 pm Post subject: |
|
|
I think the problem is kernel drivers. In the non-working vs working:
Code: | 29:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
DeviceName: RTL8111E Giga LAN
Subsystem: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616] |
Code: | 29:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
DeviceName: RTL8111E Giga LAN
Subsystem: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
Kernel driver in use: mt7921e
Kernel modules: mt7921e, wl |
I will see if the modified kernel works. |
|
Back to top |
|
|
JarzaClay n00b
Joined: 21 Aug 2024 Posts: 23
|
Posted: Sat Aug 24, 2024 5:56 pm Post subject: |
|
|
The new kernel works! I was just missing the module. Thank you for your help! |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22648
|
Posted: Sat Aug 24, 2024 6:21 pm Post subject: |
|
|
Well done. Please edit the opening post of this thread to mark it as [SOLVED]. |
|
Back to top |
|
|
|