On Sat, 3 Oct 2020 19:15:32 -0000 (UTC), Markus Robert Kessler wrote:
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?
Options are:
1 see if you can reduce/set delay value in wlpxxx configuration file.
2 Remove/blacklist device driver module.
3 use systemd-netowrkd and disable the device.
Problem with 2 is not to forget what you did in the event you want to
use it sometime in the future. Occasionally my cable would go out of
service so I asked my neighbor to allow my system access through his
wifi so I could use my VOIP phone to call in the problem.
1 depends on what network device manager is being used, you can try
locate wlp to find configuration file.
3 is my selection. I enabled systemd-networkd, and created a /usr/lib/systemd/network/xxx.network configuration file for each device.
To keep wifi disabled, I create a null file /etc/systemd/network/12_xx__wlp2s0.network
When I want to enable wifi, I remove 12_xx__wlp2s0.network and restart systemd-netowrkd. at the point /usr/lib/systemd/network/12_xx__wlp2s0.network is used
to bring up wifi.
--- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
* Origin: A noiseless patient Spider (2:250/1@fidonet)