Ubuntu 在VirtualBox里无法联网【已解决】

1. 在virtualBox中设置网络:设置->网络->将连接方式选定为“网络地址转换(NAT)” 点确定

2.进入Ubuntu系统中:系统设置->网络, 在弹出的对话框中选择:有线->点右上角的“开启”即可