|
发表于 2009-7-14 21:41:03
|
显示全部楼层
lfs 官方手册 是有 ifconfig 的 ,只是 你 在 lfs 過程中禁止編譯了
http://www.linuxfromscratch.org/lfs/view/6.3/chapter06/inetutils.html
在 6.40. Inetutils-1.5 中
./configure --prefix=/usr --libexecdir=/usr/sbin \
--sysconfdir=/etc --localstatedir=/var \
[color="Red"]--disable-ifconfig --disable-logger --disable-syslogd \
--disable-whois --disable-servers
--disable-ifconfig
This option prevents Inetutils from installing the ifconfig, which can be used to configure network interfaces. LFS uses ip from IPRoute2 to perform this task.
ifconfig 在 Inetutils 和 net-tools 都有 ,不過 net-tools 的強大一些 ,在 Inetutils 時去掉 --disable-ifconfig 就可以在 lfs 中未裝 net-tools時 有 ifconfig |
|