ERROR:interface eth0 does not exist; ensure that you have loaded the correct kernel moudle for your hardware

error sshd needs service(s) net: http://www.gossamer-threads.com/lists/gentoo/user/264060,为此重新编译了设备驱动的内核模块

Check dependice: /lib/rc/bin/rc-depend -u http://www.linuxsir.org/bbs/thread384672.html
The help: http://forums-web1.gentoo.org/viewtopic-t-856714-postdays-0-postorder-asc-start-0.html?sid=0f344075132f4b3c9a2f180cb5615731

I install gentoo-20121221 in VirtualBox on my host XUbuntu, when the kenel was copiled and after reboot, run
localhost /ect/init.d/ # ./sshd start
localhost /ect/init.d/ # network interface eth0 does not exist
localhost /ect/init.d/ # dmesg | grep -i net
localhost /ect/init.d/ # [    8.415192] systemd-udevd[969]: renamed network interface eth0 to enp0s3

So, 
localhost /ect/init.d/ # ln -s net.lo net.enp0s3
localhost /ect/init.d/ # rc-update delete net.eth0 default
localhost /ect/init.d/ # rc-update delete net.enp0s3 default
localhost /ect/init.d/ # ./sshd start
localhost /ect/init.d/ # * Starting sshd ...

Before above, I have set port foward for my VBox guest:
Gentoo -> Setting -> Network ->
    Attached to: NAT
   Port Forwarding: 
        Name Protocol    Host IP    Host Port    Guest IP    Guest Port
        Rule1                127.0.0.1 2222           10.0.2.15   22

And then, command in host XUbuntu:
$ ssh -p 2222 root@127.0.0.1

Now it's ok to use SSH.
localhost # startx
localhost # xterm: command not found
localhost # emerge --deep --newuse xinit
localhost # startx
localhost # twm:command not found
localhost # 
localhost # startx
localhost # startx

If you startx successly, but the mouse or keyboard don't work, please install some relative drivers for your input devices, search them as follow:

localhost # emerge -s xf86-input
localhost# emerge foo1 foo2 ...
localhost# pa aux|grep xterm
localhost# kill xterm_pid
localhost# startx

Now it works!

emerge --deep --newuse xinit

About net.sit0 and dhcpcd: http://forums.gentoo.org/viewtopic-t-914434-start-0.html
       Your shouldn't foget "emerge dhcp" when you're install Gentoo by Livecd Shell, or there is some problem for you net.sit0, haha.

[Solved] install Gentoo in VBox: network interface eth0 does not exist的更多相关文章

  1. LFS: Interface eth0 doesn't exist

    环境 宿主主机:Ubuntu 14.04.4 LTS 32位 LFS内核:Linux 4.2.0 好不用容易将LFS引导起来了,但系统启动后,无法配置网口.系统启动时提示:Interface eth0 ...

  2. udev:renamed network interface eth0 to eth1

    删除/etc/udev/rules.d/70-persistent-net.rules这个文件,重启

  3. Configure a bridged network interface for KVM using RHEL 5.4 or later?

    environment Red Hat Enterprise Linux 5.4 or later Red Hat Enterprise Linux 6.0 or later KVM virtual ...

  4. 如何解决虚拟机克隆导致"Bringing up interface eth0: Error: No suitable device found: no device found for connection 'System eth0'."

    在VMware的虚拟机中克隆CentOS,在重启网卡的时候报错: Bringing up interface eth0:  Error: No suitable device found: no de ...

  5. 问题:Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]—— 找不到网卡。

    克隆虚拟机的时候或其他情况出现以下问题(命令service network restart):   Bringing up interface eth0:  Device eth0 does not ...

  6. openwrt network interface(openwrt中的网络接口)

    这篇算是对openwrt网络接口的一个翻译吧,源地址:http://wiki.openwrt.org/doc/networking/network.interfaces network的接口类型:物理 ...

  7. Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization

    跑 service network restart  NIC出现无法启动,他说,没有发现 Bringing up interface eth0: Device eth0 does not seem t ...

  8. 重启网络服务时 Bringing up interface eth0

    重启网络服务时报错:  Bringing up interface eth0: Error:Connection activation failed:Device not managed by Net ...

  9. Linux-debian系统 /etc/network/interface 文件解读

    原文 http://wiki.slimdevices.com/index.php/SqueezeOS_networking 话说Debian系的网卡配置跟Redhat系很不一样,Redhat是放在/e ...

随机推荐

  1. Oracle基础(五) 权限管理

    一.数据库权限分类 权限是指用户对某个功能是否具有执行的权利.在Oracle中,权限分为系统权限和对象权限. 1.系统权限 系统规定用户使用数据库的权限.例如创建表空间,创建表,删除表的权利.这些都属 ...

  2. Oracle10GODP连接11G数据库,出现ORA - 1017用户名/口令无效; 登录被拒绝 的问题

    一.出现症状 1.使用sqlplus连接正常 2.C#使用10g的ODP.NET连接时,报上面的错误 二.原因 1.Oracle11G之前密码是不区分大小写的,从11G开始默认密码区分大小写 2.使用 ...

  3. 【Warshall_Floyd】

    模板: /* Problem: 任意两点间的最短路 Tips : 可以处理边时负数的情况. 判断图中是否有负圈,只需检查d[i][j]是负数的顶点i就可以. 复杂度 : O(n^3) */ #incl ...

  4. 服务器调用JS

    服务器控件调用JS一.两类JS的触发设计1.提交之前的JS -- 加js的事件例:<script language="javascript"> // 构造函数 func ...

  5. Oracle数据库作业-6 29、查询选修编号为“3-105“课程且成绩至少高于选修编号为“3-245”的同学的Cno、Sno和Degree,并按Degree从高到低次序排序。 select tname,prof from teacher where depart = '计算机系' and prof not in ( select prof from teacher where depart 。

    29.查询选修编号为"3-105"课程且成绩至少高于选修编号为"3-245"的同学的Cno.Sno和Degree,并按Degree从高到低次序排序. selec ...

  6. GAN

    GAN(Generative Adversarial Nets),产生式对抗网络 存在问题: 1.无法表示数据分布 2.速度 3.resolution太小,大了无语义信息 4.无reference 5 ...

  7. 在IIS上发布项目后浏览时报的错:Unable to make the session state request to the session state server

    错误描述: Unable to make the session state request to the session state server. Please ensure that the A ...

  8. 英特尔® 实感™ SDK 架构

    英特尔® 实感™ SDK在架构上完全不同于其前代系统 — 英特尔® 感知计算 SDK. 如果您使用英特尔感知计算 SDK 进行应用开发,会很快发现,全新的 SDK 可提供增强型编程模式,从而可通过几种 ...

  9. mac下apache的多站点配置

    以下操作均建立在    已经配置好了php环境 从网上搜索了下,后来自己配置了下还是比较简单的! 我的环境目录是在/Library/webServer/Documents 测试的时候可以直接在这里建立 ...

  10. IOS版应用商店应用源码

    app商店 swift版 用swift编写的 应用商店 支持iPad iPhone利用了ios8过渡动画 支持横竖屏操作 源码下载: http://code.662p.com/view/11384.h ...