You are not logged in.
The predictable network interface names are disabled in ARCH_ISO, and it names the devices in old fashion like 'wlan0'.
How can I enable the predictable names in the ARCH_ISO?
I need it because I use a hand-made automatic installation script that retrieves interface names from `ip link` and generates systemd-networkd configuration files.
P.S.
At least until six months ago, the predictable name was enabled in ARCH_ISO. Why is it disabled by default?
Last edited by iTakeshi (2020-04-24 13:20:14)
Offline
Why is it disabled by default?
archiso device renaming is disabled for wireless interfaces (only):
The interface is called "wlan0" during installation, because the iso contains iwd. iwd is unable to cope with interface renaming, so the package disables that for wireless devices.
iwd 1.0 introduces the systemd network link configuration file:
This prevents udev from renaming the interface to wlp#s#. As a result the wireless link name wlan# is kept after boot.
If this results in issues try masking it.
Last edited by sabroad (2020-04-24 09:56:29)
--
saint_abroad
Offline
Thanks for the pointer!
I found the following reply on the thread,
I don't have a system with the renaming disabled to test this on, but the following may show the new name in the ID_NET_NAME_PATH field, or perhaps in the ID_NET_NAME_SLOT (as one two macines I have one uses the former and the other the latter):
udevadm test-builtin net_id /sys/class/net/wlan0
and I can get the name by
udevadm test-builtin net_id /sys/class/net/wlan0 2>&1 | grep ID_NET_NAME_PATH | cut -f 2 -d "="
Offline