流浪汉,VirtualBox-找不到适配器? [英] Vagrant, VirtualBox - Adapter not Found?

查看:195
本文介绍了流浪汉,VirtualBox-找不到适配器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在键入"vagrant up"时获取以下日志转储.在VirtualBox上没有造成任何混乱的情况下进行了尝试,并且还手动添加了端口转发规则(主机IP 127.0.0.1,主机端口2222,来宾端口22).

Getting the following log dump when typing in 'vagrant up'. Have tried both without any messing on VirtualBox, and also with manually adding a port forwarding rule (host IP 127.0.0.1, host port 2222, guest port 22).

"Bringing machine 'polecat' up with 'virtualbox' provider...
[polecat] Setting the name of the VM...
[polecat] Clearing any previously set forwarded ports...
[polecat] Creating shared folders metadata...
[polecat] Clearing any previously set network interfaces...
[polecat] Preparing network interfaces based on configuration...
[polecat] Forwarding ports...
[polecat] -- 22 => 2222 (adapter 1)
The adapter to attach a forwarded port to was not found. Please
verify that the given adapter is setup on the machine as a NAT
interface.

Host port: 2222
Guest port: 22
Adapter: 1"

有人可以解释一下我到底要解决这个问题吗?可悲的是,谷歌搜索没有被证明是有用的,我项目中的其他用户似乎只是自动完成了这项工作!

Can anyone explain please what on earth I have to do to solve this? Googling sadly hasn't proved useful and the other users on my project seem to have just had this work automatically!

感谢您的帮助!

推荐答案

我在VirtualBox 4.2.0中遇到了同样的问题.经过一段时间的研究,我将VirtualBox升级到了4.2.10版.那为我解决了.

I had the same problem with VirtualBox 4.2.0. After researching for a while I upgraded VirtualBox to version 4.2.10. That solved it for me.

这篇关于流浪汉,VirtualBox-找不到适配器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆