Proposal: enable stateless persistant network interface names

Ben Hutchings ben at decadent.org.uk
Mon May 11 12:51:25 BST 2015


On Mon, 2015-05-11 at 05:53 +0200, Marco d'Itri wrote:
[...]
> It will be even worse when not even ID_NET_NAME_PATH is defined (e.g. on 
> my Allwinner-based ARM computer), which means that interfaces will get 
> a mac-based name like enx028909xxxxxx.
[...]

For ARM (and any other architecture using Device Tree) the on-board
indices should be specified as aliases 'ethernet0', 'ethernet1', etc.
The aliases will be listed in the uevent as OF_ALIAS_0 (or OF_ALIAS_1,
etc., as a device can have multiple aliases).

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150511/8a2d8ee3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list