2 keaizhuzhu1 keaizhuzhu1 于 2014.07.08 09:51 提问

虚拟机安装了linux系统后可以上网,但是提示alias:eth0:not found

[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:55:8E:7A

inet addr:192.168.83.129 Bcast:192.168.83.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3527 (3.4 KiB) TX bytes:3586 (3.5 KiB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1658 errors:0 dropped:0 overruns:0 frame:0
TX packets:1658 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2610896 (2.4 MiB) TX bytes:2610896 (2.4 MiB)

[root@localhost ~]# /etc/modprobe.conf
/etc/modprobe.conf: line 1: alias: eth0: not found
/etc/modprobe.conf: line 1: alias: e1000: not found
/etc/modprobe.conf: line 2: alias: scsi_hostadapter: not found
/etc/modprobe.conf: line 2: alias: mptbase: not found
/etc/modprobe.conf: line 3: alias: scsi_hostadapter1: not found
/etc/modprobe.conf: line 3: alias: mptspi: not found
/etc/modprobe.conf: line 4: alias: scsi_hostadapter2: not found
/etc/modprobe.conf: line 4: alias: ata_piix: not found
/etc/modprobe.conf: line 5: alias: scsi_hostadapter3: not found
/etc/modprobe.conf: line 5: alias: ahci: not found
/etc/modprobe.conf: line 6: alias: net-pf-10: not found
/etc/modprobe.conf: line 6: alias: off: not found
/etc/modprobe.conf: line 7: alias: ipv6: not found
/etc/modprobe.conf: line 7: alias: off: not found
/etc/modprobe.conf: line 8: options: command not found
/etc/modprobe.conf: line 9: alias: snd-card-0: not found
/etc/modprobe.conf: line 9: alias: snd-ens1371: not found
/etc/modprobe.conf: line 10: options: command not found
/etc/modprobe.conf: line 11: options: command not found
/etc/modprobe.conf: line 12: syntax error near unexpected token }'
/etc/modprobe.conf: line 12:
remove snd-ens1371 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ens1371'

我刚刚开始学习linux拜托大家帮忙看看,这是怎么个意思啊,是因为是虚拟机里安装的所以识别不了吗?

1个回答

oyljerry
oyljerry   Ds   Rxr 2015.01.02 00:39

虚拟机是否设置镜像网卡方式NAT或者bridge模式

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!