On April 8, 2010 03:17:38 am jumbophut wrote:
> After running the code in section 7.13, viz:
>
> "for NIC in /sys/class/net/* ; do
> INTERFACE=${NIC##*/} udevadm test --action=add $NIC
> done"
>
> I cannot find the /etc/udev/rules.d/70-persistent-net.rules file that
> is supposed to have been generated.
On Thu, Apr 8, 2010 at 10:46 pm Andrew Benton wrote:
> I don't know why the file isn't being created, but I would expect
> the ethernet connection to work anyway. If you want to create the
> file by hand, something like this should work:
>
> echo "SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", \
> ATTR{address}==\"00:04:xx:xx:xx:xx\", ATTR{dev_id}==\"0x0\", \
> ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth0\"" \
> > /etc/udev/rules.d/70-persistent-net.rules
On Fri, Apr 9, 2010 at 3:04 AM, Trent Shea wrote:
> I'm pretty sure I had the same issue. I ran the for command again after
> switching to the LFS system and the file was generated.
Thanks Andy and Trent. I will try the "run again after switching to
LFS" solution first, and the manual rule if that's unsuccessful.
--
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /[email protected]/')
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page