- 论坛徽章:
- 0
|
RH9网卡设备不能激活?求救
找到一个这个
[Linux] DHCP Address in VMware
This problem has been seen on Mandrake Linux, SuSE Linux and Red Hat Linux guest operating systems, but is most often seen in Red Hat Linux 9.x installs.
To work around this problem, become root (su -) and use a text editor to edit the following files in the guest operating system:
/etc/sysconfig/network-scripts/ifcfg-eth<n>;
/etc/sysconfig/networking/devices/ifcfg-eth<n>;
Also, if it exists, edit the file
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
The third file is updated any time you run redhat-config-network and make changes in the Network Configuration panel.
In all cases, <n>; is the number of the Ethernet adapter — for example, eth0.
In each of the files, add the following section:
check_link_down () {
return 1;
}
Then run the command <tt>;ifup eth<n>;</tt>; (where <tt>;<n>;</tt>; is the number of the Ethernet adapter) or restart the guest operating system.
Note: If you later run redhat-config-network again, check the file /etc/sysconfig/networking/profiles/default/ifcfg-eth0 to be sure the section your added to it remains intact. In some circumstances, the closing curly brace — the } character — may be dropped when you use the Network Configuration panel. |
|