红联Linux门户
Linux帮助

初学Linux

发布时间:2013-06-19 11:12:48来源:红联作者:nick_ny
Linux学习迈出了第一步,在VirtualBox CentOS最小系统中解决了虚拟网卡配置问题,成功连上互联网,并对yum进行了配置,增加了网易的镜像源,通过yum成功安装了gcc和vim。
目前采用NAT(网络地址转换)方式联接Internet,后续尝试采用其他三种方式。
解决问题的关键点:
Fixing the No Such Device eth0 on Centos (VirtualBox)
• Run ifconfig -a and then you will see ethX come up, which has a MAC address in it.
• Go to /etc/sysconfig/network-scripts/ifcfg-eth0 and changed the MAC address on the eth0 to the MAC that was attached to ethX in the ifconfig.
• Remove the file /etc/udev/rules.d/70-persistent-net.rules
• Reboot the machine
文章评论

共有 2 条评论

  1. edan509 于 2013-06-26 18:51:20发表:

    学习了,谢谢

  2. xiadon 于 2013-06-19 15:04:47发表:

    受教