Just found your post (shame no-one replied
)- as I had got to that very section in the LFS 6.3 book and seemed to get the same error as you:
Code:
root:~# /lib/udev/write_net_rules all_interfaces
sed: can't read /etc/udev/rules.d/70-persistent-net.rules: No such file or directory
Then when I tried the second time:
Code:
root:~# /lib/udev/write_net_rules all_interfaces
/etc/udev/rules.d/70-persistent-net.rules exists, persistent interface names
not saved.
- We may have made a similar error somewhere else???
Typing "cat /etc/udev/rules.d/70-persistent-net.rules" gives:
Code:
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:02:e3:ab:cd:ef", NAME="eth0"
When I do "dmesg | grep eth" I get "eth0: link up"
BUT, I have not rebooted the system yet and am still running from the livecd which has setup eth0 itself- I am using a netgear fa330 by the way... What net card are you trying to setup?
Anyway, I couldn't figure it out - so I have moved on to the next stage. If I can't connect to the net later on I'll have an idea of where to start!
Regards