Hello, I have a problem with LInux Manjaro, namely I have a network card marked “RTL8111/8168/8411” installed in my laptop. I installed all the drivers for this card and the system does not recognize the card, so I cannot connect to any wireless networks.
Welcome to the forum!
Then you probably installed something “off”, because normally one would not need to install any drivers for that device, given that the driver is already included in the kernel. You now probably have the r8168
driver installed, which puts a blacklist on the r8169
driver.
Open up the manjaro-settings-manager
and remove the r8168
driver. This should normally remove the blacklist file, but it is still best to check first before rebooting. Check /etc/modprobe.d/
for a blacklist file, and if present, delete it. Then reboot your system, and the r8169
driver will be loaded instead.
If this is since installing the 6.10 kernel from today’s update, see philm’s reply to my comment.
It may be worth trying this even if it’s an older kernel.
When I try to remove the card drivers in the settings manager, I get this:
Starting
Removing network-r8168…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/network-r8168/MHWDCONFIG
Processing classid: 0200
error: failed to initialize transaction (failed to lock database)
error: failed to lock database: File exists
if you are sure the package manager is not
already running, you can remove /var/lib/pacman/db.lck.
Error: pacman failed!
Error: script failed!
Finished…
Did you do that?
sudo rm -f /var/lib/pacman/db.lck
I did everything you wrote and the network card was uninstalled along with the driver but I still cannot connect to wireless networks
Did you reboot?
I did it right after uninstalling the network card and deleting the file located here: /etc/modprobe.d/.
What kernel are you using? I would recommend using an LTS kernel, but you could also give 6.10 a try. Mind you that it’s still bleeding-edge, so it will still contain a greater number of bugs.
I am using kernel version 6.9.9-1
Well, try with 6.1 LTS, 6.6 LTS and 6.10 then.
What was the subject of discussion here where not Wlan drivers
You where inquiring about an ethernet card (a wired connection)
If you have got Wlan problems … start to talk about those
inxi -Fazy
and all that included
Okay, I tried to change the system kernel but it doesn’t change the kernel after reboot anyway:
The following packages will be installed:
linux61
linux61-nvidia
Starting
solving dependencies…
looking for conflicting packets…
:: installing nvidia-utils (550.100-1) will break dependencies ‘nvidia-utils=550.90.07’ required by lib32-nvidia-utils
:: installing nvidia-utils (550.100-1) will break dependencies ‘nvidia-utils=550.90.07’ required by linux69-nvidia
done…
You’ll need to do that from the GRUB menu: Advanced options for Manjaro Linux or suchlike (can’t remember the exact wording) and pick your kernel from there. It’ll boot into that one next time, until you change it again. Otherwise it will default to the same series of kernel you are currently on.