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模式

    评论

报告相同问题?

悬赏问题

  • ¥15 C#调用python代码(python带有库)
  • ¥15 矩阵加法的规则是两个矩阵中对应位置的数的绝对值进行加和
  • ¥15 活动选择题。最多可以参加几个项目?
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
  • ¥15 vs2019中数据导出问题
  • ¥20 云服务Linux系统TCP-MSS值修改?
  • ¥20 关于#单片机#的问题:项目:使用模拟iic与ov2640通讯环境:F407问题:读取的ID号总是0xff,自己调了调发现在读从机数据时,SDA线上并未有信号变化(语言-c语言)
  • ¥20 怎么在stm32门禁成品上增加查询记录功能
  • ¥15 Source insight编写代码后使用CCS5.2版本import之后,代码跳到注释行里面
  • ¥50 NT4.0系统 STOP:0X0000007B