宿主机不连网线怎么与VirtualBox中的虚拟机通讯?
时间:2010-01-02
来源:互联网
1、是否应当把虚拟机的网卡设置为Host-Only方式?
2、为什么我的VirtualBox设置为Host-Only报错(如图)?
抓图2.png (91.3 KB, 15 次查看) |
作者: 糊涂 发布时间: 2010-01-02
WARNING: The VirtualBox kernel modules are not loaded. Please load all the needed kernel modules by: for m in vbox{drv,netadp,netflt}; do modprobe $m; done You will not be able to start VMs until this problem is fixed.
作者: Celinda 发布时间: 2010-01-02
那么上面那句
for m in vbox{drv,netadp,netflt}; do modprobe $m; done
作者: 糊涂 发布时间: 2010-01-02
这是要你加载内核模块啊..vbox不象vmware还自己有个服务,他只要加载上面提到的几个内核模块就可以了。
可以写配置文件里,也可以到用的时候再手动加载一下啊..
作者: Celinda 发布时间: 2010-01-03
看看rc.conf果然少加了一个vboxnetadp。加上,Vbox里host-only就有内容了。
谢谢谢谢!
作者: 糊涂 发布时间: 2010-01-03
嘿嘿,你一定是在菜单里直接点的Vbox,如果在终端里运行VirtualBox,没加载模块就会有这个提示
作者: Celinda 发布时间: 2010-01-03
先标记,怎么我没遇见lz的问题呢???还有Celinda,Vmware和Vbox在终端控制台我启动不起来,怎么解???
作者: xuchonggui 发布时间: 2010-01-03
作者: Celinda
8客气~
......在终端里运行VirtualBox,没加载模块就会有这个提示 |
作者: 糊涂 发布时间: 2010-01-03
--------------------------------------------------------------------------- IMPORTANT NOTES: - Run "vbox_build_module" as root every time your kernel is upgraded, to compile the module for the new kernel version. - Add your user to the vboxusers group: gpasswd -a USERNAME vboxusers - Add "vboxdrv" to the MODULES array in your "/etc/rc.conf" - Add "vboxnetflt" to MODULES if you want Host Interface networking. - Add "vboxnetadp" to MODULES if you want Host-Only networking. - If USB does not work for you out-of-the-box, add the following line to "/etc/fstab": none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0664 0 0 --------------------------------------------------------------------------- |
作者: 糊涂 发布时间: 2010-01-18
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28