[yocto] Disabling udev NIC renaming
Chris Tapp
opensource at keylevel.com
Sun Jun 16 14:39:35 PDT 2013
Hi Khem,
On 16 Jun 2013, at 21:05, Khem Raj wrote:
> 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/
Thanks, that's useful into. I've not got systemd yet, but that certainly looks like the way to go.
>>
>> Chris Tapp
>>
>> opensource at keylevel.com
>> www.keylevel.com
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
Chris Tapp
opensource at keylevel.com
www.keylevel.com
More information about the yocto
mailing list