The WiFi interface, no longer needed since I use normal LAN connection meanwhile, is excluded in the BIOS, but against all expectations it is
seen by lspci. Hence, systemd is waiting for the interface until the
timeout is reached. So, booting takes at least 10..15 seconds longer as
on other machines where ifcfg-wlp... is not created.
Any idea how to exclude this device?
Hi everyone,
I am just setting up some machines for mga7x64. I created a sample installation and made a backup from which I restore the data to target
PCs.
On one of them there encountered a weird problem:
The WiFi interface, no longer needed since I use normal LAN connection meanwhile, is excluded in the BIOS, but against all expectations it is
seen by lspci. Hence, systemd is waiting for the interface until the
timeout is reached. So, booting takes at least 10..15 seconds longer as
on other machines where ifcfg-wlp... is not created.
Any idea how to exclude this device?
On Sat, 03 Oct 2020 15:15:32 -0400, Markus Robert Kessler
<dimke.fax@uni.de> wrote:
The WiFi interface, no longer needed since I use normal LAN connection
meanwhile, is excluded in the BIOS, but against all expectations it is
seen by lspci. Hence, systemd is waiting for the interface until the
timeout is reached. So, booting takes at least 10..15 seconds longer as
on other machines where ifcfg-wlp... is not created.
Any idea how to exclude this device?
As root run "lspcidrake -v|grep Wireless Network".
Note the module at the start of the line. In my case it's rtw88_8822ce. Create a file in /etc/modprobe.d/ ...
echo "blacklist rtw88_8822ce"> /etc/modprobe.d blacklist-wireless.conf
Replace rtw88_8822ce with the module name for your wireless device.
Run "dracut -f" to add the blacklist file to the initrd. Reboot
The pci device will still be seen, but without the module being loaded
it will not be seen to be a wireless network device. I haven't tested
this, but think it will work.
On Sat, 03 Oct 2020 16:01:18 -0400 David W. Hodgins wrote:
Thanks a lot -- now, booting is a matter of seconds!
Well, as Bit Twister wrote, to minimize the risk of forgetting why this device is no longer visible, I think I have to add a note somewhere in / etc/sysconfig/network-scripts to always remember and know how it can be undone if needed.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 34:19:57 |
Calls: | 9,547 |
Calls today: | 7 |
Files: | 13,656 |
Messages: | 6,141,277 |