Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

MB MSI X870-P WIFI - problem with rtl8126

$
0
0
I'm facing a situation that I have no idea how to solve.
Got my new MB and until now i cant get it to work properly. Sadly I only checked about the rtl8126 after getting it. There is a lot of sites saying it isnt good. But that is the lan, wifi bluetooth on this mb.
At the moment i'm connected to internet using my smartphone tethered, it works but not optimal.

I went to MSI looking for drivers but they only offer for windows 10 & 11 https://www.msi.com/Motherboard/PRO-X87 ... ort#driver.
Then i looked the chipset and found out the name for at least the lan driver, my goal is to enable the wlan .. and I'm hoping this one solves everything tbh.
I've downloaded the driver from Realtek from here: https://www.realtek.com/Download/List?cate_id=584.
I've tryed both:after downloading I tryed to instal it, but the make command didnt work, sorry, i have not saved the message then, but had something with headers, i fixed it following this procedure https://www.tecmint.com/install-kernel- ... nd-debian/. In essence just one command was needed
sudo apt install linux-headers-$(uname -r)
Then now the make was supposed to run, but i got some new messages, and well I still cant install the damn driver. (changed my username because, well dont know)

Code:

:~/Downloads/rtl8126$ sudo makeCC:  ccCCVERSION:  12KERNEL_GCC_VERSION: KVER:  6.1.0-30-amd64KMAJ:  6KMIN:  1KREV:  0BASEDIR:  /lib/modules/6.1.0-30-amd64DRIVERDIR:  /lib/modules/6.1.0-30-amd64/kernel/drivers/net/ethernet/realtekPWD:  /home/username/Downloads/rtl8126RTKDIR:  kernel/drivers/net/ethernet/realtekmake -C /lib/modules/6.1.0-30-amd64/build M=/home/username/Downloads/rtl8126 cleanmake[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-amd64'  CLEAN   /home/username/Downloads/rtl8126/Module.symversmake[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-amd64'make -C /lib/modules/6.1.0-30-amd64/build M=/home/username/Downloads/rtl8126 modulesmake[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-amd64'  CC [M]  /home/username/Downloads/rtl8126/r8126_n.o  CC [M]  /home/username/Downloads/rtl8126/rtl_eeprom.o  CC [M]  /home/username/Downloads/rtl8126/rtltool.o  LD [M]  /home/username/Downloads/rtl8126/r8126.o  MODPOST /home/username/Downloads/rtl8126/Module.symvers  CC [M]  /home/username/Downloads/rtl8126/r8126.mod.o  LD [M]  /home/username/Downloads/rtl8126/r8126.ko  BTF [M] /home/username/Downloads/rtl8126/r8126.koSkipping BTF generation for /home/username/Downloads/rtl8126/r8126.ko due to unavailability of vmlinuxmake[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-amd64'make -C /lib/modules/6.1.0-30-amd64/build M=/home/username/Downloads/rtl8126 INSTALL_MOD_DIR=kernel/drivers/net/ethernet/realtek modules_installmake[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-amd64'  INSTALL /lib/modules/6.1.0-30-amd64/kernel/drivers/net/ethernet/realtek/r8126.ko  DEPMOD  /lib/modules/6.1.0-30-amd64Warning: modules_install: missing 'System.map' file. Skipping depmod.make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-amd64'
I looked for some way to fix it, but couldn't find anything i could really understand, so if someone could give me some heads up I'll be very gratefull.
My skill level isn't very high, but i think i can run some commands.

Statistics: Posted by Enkillinux — 2025-01-15 21:49 — Replies 0 — Views 10



Viewing all articles
Browse latest Browse all 3474

Trending Articles