Web lists-archives.com

Re: renaming network devices with udev & systemd




Thanks Darac, Felix & Elimar. All helpful suggestions.

As for Brian, Ive tried googling but not found an answer that worked, otherwise why would I ask here. Learn some manners.


On 06/04/18 21:29, Darac Marjal wrote:
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.