70-persistent-net.rules not created

Bruce Dubbs bruce.dubbs at gmail.com
Fri Jan 8 21:36:19 PST 2010

jmscott at setex.ipcallback.com wrote:

> Nope, appears that /etc/udev/rules.d/70-persistent-net.rules is missing.
> I see many but no obvious errors in the output of of the 'for' loop in the 
> blurb in paragraph 7.13.1:
> 	for NIC in /sys/class/net/* ; do
>     		INTERFACE=${NIC##*/} udevadm test --action=add $NIC
> 	done
> Perplexing.

If you do
   INTERFACE=eth0 udevadm test --action=add eth0

Do you get anything?

Actually, since you have only one nic, you don't need 
70-persistent-net.rules.  The only nic will always be given eth0.

> Since udev isn't critical to booting a kernel, I suppose
> I can keep soldiering forward, but I'd prefer to follow the letter of 
> the Book ...

Actually udev is critical.  You won't get any devices without it.  The 
network devices aren't critical though.

   -- Bruce

More information about the lfs-support mailing list