Moin,
On Fri, 03 Jun 2016, 10:03:33 +0200, Manfred Schwarb wrote:
> Am 29.05.2016 um 09:48 schrieb Bruno Friedmann:
> > On mercredi, 25 mai 2016 18.36:58 h CEST Patrick Schaaf wrote:
> >>> The old trick of creating the file empty, does not work any more - upon
> >>> reboot it is filled again with fresh information.
> >>
> >> This works as a permanent stop:
> >>
> >> ln -s /dev/null /etc/udev/rules.d/70-persistent-net.rules
> >>
> >> hope this helps somebody
> >> Patrick
> > Thanks for sharing this result.
> > And I guess this tricks work for any systemd superior version ?
> > It would have save me some hours last week ;-)
> >
> >
>
> I think so, it seems to be some more or less official advice.
>
> And then you have to add something along of
>
> 70-my-persistent-net.rules:
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1",
> KERNEL=="eth*", NAME="ext0"
>
> which renames the random "eth*" device names to something really persistent,
> to "ext0" in my case (the address can determined by examining the output of
> "ifconfig").
To be honest I found much more reliable to create a .link file; even
when systemd again believes it has to re-create the
70-persistent-net.rules file, renaming the devices still works reliably.
Just put something like this into /etc/systemd/network/10-ext0.link:
[Match]
MACAddress=xx:xx:xx:xx:xx:xx
[Link]
Name=ext0
and you never have to think about it ;)
> Cheers,
> Manfred
Cheers.
l8er
(the other) manfred
signature.asc
Description: PGP signature
___
Evergreen mailing list
Evergreen@lists.rosenauer.org
http://lists.rosenauer.org/mailman/listinfo/evergreen