:: Re: [DNG] Proposed change in behavi…
Página Principal
Delete this message
Reply to this message
Autor: Alessandro Selli
Data:  
Para: dng
Assunto: Re: [DNG] Proposed change in behaviour for ascii: eudev net.ifnameslogic reversing proposal
On Sun, 20 Aug 2017 at 17:24:30 +0200
viverna <viverna@???> wrote:

> il devuanizzato Daniel Reurich <daniel@???> il 20/08/17 alle
> ore 15:38 ha scritto:
> > This would lead network interface names default to the old "eth0" or
> > "wlan0" scheme, rather than the new(?) "enp0s3"-like scheme. It implies
> > having "net.ifnames=1" in the kernel cmdline to get the "enp0s3"-like
> > scheme and not touching anything to get the "eth0" scheme.
> +1 for "eth0"/"wlan0" scheme.


Me too. When I need to have a name stick, I resort to the more complicated
but reliable (so far...) udev/rules method, like:

# USB device 0x:0x (ath9k_htc)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="usb",
ATTR{address}=="60:02:b4:5c:34:91", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="wlan*", NAME="wlan2"