keaizhuzhu1 2014-07-08 01:51 采纳率: 0%
浏览 2633

虚拟机安装了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 2015-01-01 16:39
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮