VirtualBox中安装Ubuntu Server无法找到Host-Only网卡的问题

    原文链接: http://www.jiani.info/wordpress/?p=152

    Ubuntu Server安装后,默认只有一块主网卡,所以其他的网卡就无法自动出现。解决办法如下:

# 编辑配置文件
$ sudo vi /etc/network/interfaces

# 加入配置项,保存退出
# 这里假设第二块网卡就是Host-Only
auto eth1
iface eth1 inet dhcp

# 重启网卡
$ sudo /etc/init.d/networking restart

猜你喜欢

转载自nswish.iteye.com/blog/1441143