[yocto] Disabling udev NIC renaming

Khem Raj raj.khem at gmail.com
Sun Jun 16 13:05:21 PDT 2013


On Sun, Jun 16, 2013 at 4:09 AM, Chris Tapp <opensource at keylevel.com> wrote:
> I use a USB drive to boot systems for testing and to install the image. This works ok for the first, but 'eth0' gets renamed to 'eth1' on the second system (etc).
>
> Is there an option I can set to stop udev creating rules which result in the NIC name changing, or should I just add an empty
>
> /etc/udev/rules.d/75-peristent-net-generator.rules
>
> file to my image?

thats one way. If you are using systemd then systemd already have the
feature to use persistent IF names. see
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

>
> Chris Tapp
>
> opensource at keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list