Wi-fi adapter not found after update

wi-fi adapter detected but not working after restart. here is some info

hasibul@hasibul-S551LN:~$ lspci -nnk | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
	Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]
	Subsystem: Foxconn International, Inc. MT7630e 802.11bgn Wireless Network Adapter [105b:e074]
	Kernel modules: mt76x0e
04:00.0 3D controller [0302]: NVIDIA Corporation GM108M [GeForce 840M] [10de:1341] (rev a2)

Blacklist the r8169 driver and install the 8168.
sudo apt install r8168-dkms

1 Like

I am sorry it is not working now but before. I mean suddenly it is happening. I have restored the working state using rescuezilla but not working now. I have tried your command and blacklist the driver but still not working.

Screenshot from 2023-05-05 12-26-31
Screenshot from 2023-05-05 12-27-37

I'm sorry, but the image you show doesn't list r-8169 as blacklisted. As long as the 8169 is in use, the 8168 won't be loaded. The only commands i have was to install 8168, which your system already has.

This could be a failing wifi adapter. I'm dealing with the same issue with a Realtek card.

the first image shows selected as "blacklist 8169". if I am wrong, how can I blacklist that driver?

Edit that file to include a line that says "blacklist r8169" and reboot.

It will be forced to use the next available compatible driver, the 8168

i don't understand but I have done it. where is the problem?

In terminal you had typed: sudo gedit /etc/modprobe.d/blacklist.conf and added "blacklist r8169"? It's a system file and must have admin permissions to edit. Otherwise it gives you an error because it's read only.