On 24/08/14 20:05, Tom H wrote: > On Sun, Aug 24, 2014 at 8:59 AM, Grant <emailgr...@gmail.com> wrote: >> I'm trying to define names for my USB network interfaces keyed on the >> interface location instead of the interface MAC address. This udev >> rule renames one of them: >> >> SUBSYSTEM=="net", KERNEL=="enp3s0u1", NAME="net0" >> >> But it doesn't work automatically at boot, I have to execute 'udevadm >> trigger --action=add'. How can I execute that before the net.* >> scripts at boot? > "enp3s0u1" isn't a kernel name; it's an "ID_NET_NAME_PATH" attribute.
That's what came to my mind too, that's why I instructed him away from it. - Samuli