安装solaris 10后如果用ifconfig -a只能看到一个lo0的话说明只有一个环回卡,说明网卡没有启动或者系统认不出来,如果是默认没有启动且你得网卡名称像我一样已经为e1000了,那只要执行Ifconfig e1000g0 plumb ifconfig e1000g0 dhcp 该步骤就能启动网卡,其它情况可以按照下面步骤自己进行启动。
you will probably get the error failed to plumb pcn0
If so follow these steps, if not, and everything magically works..cool
AFTER INSTALL
--------------------
for networking.
--------------------
shutdown the VM
edit the .VMX file in the virtual machine folder on the host OS and add the following line
ethernet0.virtualDev = "e1000"
then startup Solaris
-----------------------------------------------
then
Go to a console window and type the following
Ifconfig e1000g0 plumb
ifconfig e1000g0 dhcp
ifconfig -a is the equivalent of ipconfig /all
-----------------------------------------------
下面的步骤可以按自己的实际情况来做
then type
touch /etc/dhcp.e1000g0
touch /etc/hostname.e1000g0
rm /etc/dhcp.pcn0
rm /etc/hostname.pcn0
then edit /etc/inet/hosts
add the following
127.0.0.1 localhost.localdomain localhost loghost
remove any other entries
----------------------------------------------
then
rename /etc/nsswitch.conf to nsswitch.old
rename /etc/nsswitch.dns to nsswitch.conf
reboot (logout doesn't switch the nameserver settings, have to reboot)