Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Wireless network not showing up new install
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
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Sat Aug 24, 2024 4:27 pm    Post subject: [SOLVED] Wireless network not showing up new install Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22648

PostPosted: Sat Aug 24, 2024 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Sat Aug 24, 2024 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Sat Aug 24, 2024 5:22 pm    Post subject: Reply with quote

Here are the pastebins from the working vs nonworking environment:
Working: https://pastebin.com/jrgB1NbQ
Non-Working: https://pastebin.com/aei73jYd
Back to top
View user's profile Send private message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Sat Aug 24, 2024 5:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
JarzaClay
n00b
n00b


Joined: 21 Aug 2024
Posts: 23

PostPosted: Sat Aug 24, 2024 5:56 pm    Post subject: Reply with quote

The new kernel works! I was just missing the module. Thank you for your help!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22648

PostPosted: Sat Aug 24, 2024 6:21 pm    Post subject: Reply with quote

Well done. Please edit the opening post of this thread to mark it as [SOLVED].
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