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 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 emai

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

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 wrote: > On 24/08/14 20:05, Tom H wrote: >> On Sun, Aug 24, 2014 at 8:59 AM, Grant 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

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 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", N

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 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 aut

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 'ud

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 b

[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 --act