Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-26 Thread Grant
SUBSYSTEM==net, KERNEL==enp3s0u1, NAME=net0 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. Yeah, I saw your email after I sent mine. I now have to figure out why you're recommending a 80 prefix

Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-26 Thread Tom H
On Tue, Aug 26, 2014 at 8:43 AM, Grant emailgr...@gmail.com wrote: SUBSYSTEM==net, KERNEL==enp3s0u1, NAME=net0 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. Yeah, I saw your email after I sent

Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-25 Thread Tom H
On Sun, Aug 24, 2014 at 1:05 PM, Samuli Suominen ssuomi...@gentoo.org wrote: On 24/08/14 20:05, Tom H wrote: On Sun, Aug 24, 2014 at 8:59 AM, Grant emailgr...@gmail.com wrote: SUBSYSTEM==net, KERNEL==enp3s0u1, NAME=net0 enp3s0u1 isn't a kernel name; it's an ID_NET_NAME_PATH attribute.

[gentoo-user] Execute udev rule before net.* scripts

2014-08-24 Thread Grant
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

Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-24 Thread Samuli Suominen
On 24/08/14 15:59, Grant 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

Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-24 Thread Grant
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

Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-24 Thread Tom H
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

Re: [gentoo-user] Execute udev rule before net.* scripts

2014-08-24 Thread Samuli Suominen
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,