[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: renaming network devices with udev & systemd



On 06/04/18 20:21, Andrew Wood wrote:
> How does one go about renaming an ethernet device from say enps1 to
> eth0 under Stretch, the old udev rules I used to use pre systemd under
> /etc/udev/rules.d no longer seem to have any effect.
>
> Thanks
>
> Andrew
>
in /etc/network/interfaces:

rename enps1=eth0
auto eth0
iface eth0 ...

Hope that helps.


Reply to: