|
通过公司里的LAN上网, 我从来没有配置过, 因为以前用redhat mandrake, 甚至debian 都能自行检测, 自行配置.
启动lfs 有出错信息, 要按键才能继续, 说是 network unreachable. 进入lfs中运行 ifconfig 命令 有如下信息
lo Link encap ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
我用的是RTK8139 网卡, 从上面信息, eth0 没有配置好. 是不是, 根本就没有网卡.
在编译2.4.19内核时, 已经选了网卡, 编入内核. . 在lfs中, 应该配置哪几个文件, /etc/hosts, /etc/resolv.conf, /etc/sysconfig/network, /etc/sysconfig/network-device/ifconfig.eth0 ????
想对照debian, 可是发现debian里只能找到 /etc/hosts, /etc/resolv.conf, /etc/network/interface . 好像很不同. debian用的也是dhcp, 不过在刚安装时, 就给自动配置好了.
现在我该怎么办, 昨天从夜里12点到3点, 一直在lfs网站上搜寻, 依然没有发现有用的信息 请帮忙!! |
|