Hi All,
I following the CLFS 1.0 Book and then got a problem that my system
cannot bring up the /dev/eth0. However, the network module has already
been set up correctly.
After some work to track this problem, I found that ip address reports
something name "vmware", which is set on the
/etc/udev/rules.d/26-network.rules :
ACTION=="add", SUBSYSTEM=="net", SYSFS(address)=="(MACADDR)" NAME="vmware"
This file is according to chapter "11.14 Configuring the network
Script" of CLFS 1.0 Book. The discription of this command is:
For each network card (but not for the loopback interface), *invent a
descriptive name*, such as "realtek", and create Udev rules similar to
the following:
cat > /etc/udev/rules.d/26-network.rules << EOF
ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:e0:4c:12:34:56", \
NAME="realtek"
ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:a0:c9:78:9a:bc", \
NAME="intel"
EOF
I have just following the marked clause, and it seems not correct. I
can fix the problem by changing my file to:
ACTION=="add", SUBSYSTEM=="net", SYSFS(address)=="(MACADDR)" NAME="eth0"
However I think it is a problem of the book, do you think so?
Regards,
Joe Ren
--
不 矢口 亻十 幺 日寸 候,亻奄 口斤 言兑 言仑 土云 有 辶寸 氵虑 白勺 言兑 氵去,于 是,亻奄 学 会 了 扌斥 字 。
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page