[Solved] install Gentoo in VBox: network interface eth0 does not exist
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的更多相关文章
- LFS: Interface eth0 doesn't exist
环境 宿主主机:Ubuntu 14.04.4 LTS 32位 LFS内核:Linux 4.2.0 好不用容易将LFS引导起来了,但系统启动后,无法配置网口.系统启动时提示:Interface eth0 ...
- udev:renamed network interface eth0 to eth1
删除/etc/udev/rules.d/70-persistent-net.rules这个文件,重启
- 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 ...
- 如何解决虚拟机克隆导致"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 ...
- 问题: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 ...
- openwrt network interface(openwrt中的网络接口)
这篇算是对openwrt网络接口的一个翻译吧,源地址:http://wiki.openwrt.org/doc/networking/network.interfaces network的接口类型:物理 ...
- 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 ...
- 重启网络服务时 Bringing up interface eth0
重启网络服务时报错: Bringing up interface eth0: Error:Connection activation failed:Device not managed by Net ...
- Linux-debian系统 /etc/network/interface 文件解读
原文 http://wiki.slimdevices.com/index.php/SqueezeOS_networking 话说Debian系的网卡配置跟Redhat系很不一样,Redhat是放在/e ...
随机推荐
- 【阿里云产品评测】小站长眼中的巅峰云PK
[阿里云产品评测]小站长眼中的巅峰云PK 阿里云论坛用户:昵称-a5lianmeng 笔者是一名小站长,因狂热互联网,而在毕业后由宅男逐渐进入站长队伍,在毕业后的几年间,经营6个流量类网站,身为站长, ...
- C#实现DNS解析服务
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnUAAAENCAIAAADmDAQyAAAat0lEQVR4nO3dbXRU9YHH8ftq2+1uT7
- 使用 xcode 8 构建版本 iTunes Connect 获取不到应用程序的状态
今天在提交 APP 审核版本的时候iTunes Connect 一直获取不到应用程序的状态,原因是,14号 xcode 8一出 直接升级使用 xcode 8 打包发布包,然后直接用 xcode8 构建 ...
- ios 代码截屏模糊问题解决办法
我们常用的截图方法如下所示: //尺寸是按照 UIGraphicsBeginImageContext(CGSizeMake(, )); //currentView 当前的view 创建一个基于位图的图 ...
- 推荐一款好用的项目管理工具:project
Microsoft Project (MSP)是微软开发的一个国际上享有盛誉的通用的项目管理工具软件. 在项目管理的时候,这个软件可以帮你定制时间计划,还有其它很多好用的功能. 2010版本的下载传送 ...
- Float精度 在JS的解决方法
最近在做一个工资核算的系统,所有的运算全部在前台进行,因此用了的是JS来做. 做完以后,经手工核算,发现一个奇怪的问题.就是JS算出来的结果跟用计算器算出来的结果有差距. 想了很久,也没有想出问题出在 ...
- Chrome隐身模式有什么用
最近发布的Chrome浏览器,小编发现有一个个“隐身窗口”功能,那么这是什么功能呢?原来这是Chrome隐身模式!那么这个隐身模式有什么功能呢? Chrome隐身模式有什么用? 从官方的介绍来看,“隐 ...
- nfa转dfa,正式完成
为了加速转换的处理,我压缩了符号表.具体算法参考任何一本与编译或者自动机相关的书籍. 这里的核心问题是处理传递性闭包,transitive closure,这个我目前采取的是最简单的warshall算 ...
- tornado 信号处理
一般情况下,对于线上的程序,我们是不能采取kill -9 来杀掉进程的 因为程序可能有未处理完的程序,如果贸然采取kill -9可能会导致数据不一致 如果需要关闭程序怎么办呢,一般情况下我们采取信号技 ...
- JAVA备忘录
本文主要是记录一下JAVA: 1.Arrays.的几个用法: fill:数组全部置一个数 sort:排序 binarySearch:二分查找 2.Map的用法: Map<Integer,Inte ...