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