[lfs-support] Regeneration of udev net rules

Paul Rogers paulgrogers at fastmail.fm
Tue Jun 2 13:53:55 PDT 2015


> However, when I move this OS drive to another similar server, the
> network devices fail to start because the definitions in the udev rule
> file are stilll bound to the MAC addresses of the previous hardware.
> 
> The question is, is there a mechanism to allow the system to regenerate
> the rules file and bind the names to the new hardware devices
> automatically?
> 
> Perhaps if the file was emptied before the OS drive being moved then it
> would be generated for the new hardware?

Yep, that'll do it.  Just delete the file.  It'll make a new one, though
the order it finds them on that first boot.  Note, however, if you need
a particular NIC/plug to have a particular name, eth?, you can just edit
the MAC address.
-- 
Paul Rogers
paulgrogers at fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)

  	

-- 
http://www.fastmail.com - IMAP accessible web-mail



More information about the lfs-support mailing list