星期五, 8月 18, 2006

Redhat 9.x can not find the ETH0 in VMWare 4.x or 5.0

When booting the system, the eth0 can not be found. The following is the solution,

Find
/etc/sysconfig/network-scripts/ifcfg-eth
/etc/sysconfig/networking/devices/ifcfg-eth

And then edit the file
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
add the following
check_link_down () {
return 1;
}

then reboot it. Execute "ifup eth0" does not work...it will show "/sbin/ifup: line 268: [: : integer expression expected" and I do not know why. But anyway, reboot will get the satisfied result.



Another article mentioned that

locate
/etc/sysconfig/network-scripts/network-functions

And then modify the function "check_link_down()"

check_link_down() {
return 1
:
:
}

Execute this command "service network restart" ------ not tried.

Redhat 8.0 is O.K.

沒有留言: