VMware安装solaris10后找不到网卡的解决方法

本文指导如何在Solaris10安装后遇到仅显示环回卡的问题时,通过编辑虚拟机配置文件、启动网卡、调整DNS设置等步骤解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装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) 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值