Skip to main content


aclocal-1.15: command not found

cd lib/libmnl-1.0.4
autoreconf -f -i

"Predictable names" for WiFi interfaces

The scheme detailed above is the new standard default, but there's also a canonical way of overriding the default: you can use .link files to set up naming policies to suit your needs. Thus for instance if you have two PCs each of which has only a single wireless card, but one calls it wlp0s1 and the other wlp1s0, you can arrange for them both to use the name wifi0 to simplify sharing firewall configurations. For details see

Here's a relatively futureproof "manual" version of the example given above:



Note: per, you shouldn't use a name that the kernel might use for another interface (for example "eth0").

It is also possible to reorganize the naming policy by overriding /lib/systemd/network/, for instance to insist that all network interfaces are named purely by MAC address:



The folder ./scripts contains the script to automaticall create the above lik file.


sudo ./scripts/ source_if_name destination_fi_name

Stop wpa_supplicant listenning on WiFi interfaces (Raspberry Pi case)

Disable the entire wap_supplicant add the below line to /etc/dhcpcd.conf:

nohook wpa_supplicant

Disable only for a particular wifi interface wlanx add the below line to /etc/dhcpcd.conf:

denyinterfaces wlanx