/etc/systemd/network/00-rmnet-kernel.link is in lxc-android-config 0.230+16.04.20160328-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # NOTE: This disables renaming of certain network interfaces we use on
# Ubuntu Touch devices for mobile data connectivity. Those interfaces
# are used by their name elsewhere and can't be easily automatically
# named differently.
#
# This currently affects the following devices:
#
# - Nexus 4 (mako)
# - Nexus 7 2013 (flo) (with mobile support)
#
# However it will be used on other devices as well where the network
# interfaces for mobile data connectivty are prefixed with rmnet_*
[Match]
OriginalName=rmnet_*
[Link]
NamePolicy=kernel
MACAddressPolicy=persistent
|