VirtualBox the network card is not found when opening the old Ubuntu virtual machine image

Source: Internet
Author: User

An environment:

Ubuntu v8.04

VirtualBox _v4.3

Two-action

1 Create a new virtual machine as normal, then select Use old Ubuntu virtual machine in select Virtual hard disk interface

2 Open Virtual Machine delete/etc/udev/rules.d/files containing net below This example is 70-persistent-net.rules

3 Open/etc/network/interfaces, add the following statement

Auto Eth0

Iface eth0 inet DHCP

And then save the close

4 shut down the virtual machine, then set the virtual machine's network to "Network address Translation (NAT)", after saving OK, start the virtual machine, normal, use ifconfig will see the virtual machine has got IP address

Explanation of the three operations

1 70-persistent-net.rules inside is to change the virtual machine to save the network card information, the virtual machine every replacement, will add a network card, the interface name will be on the basis of the original network card plus 1 eg:eth1. Deleted and restarted, stand in the perspective of the virtual machine is added a new network card, the name of the network card is named Eth0

2/etc/network/interfaces is the setting information of the network card that is currently used, DHCP is the dynamic acquisition

VirtualBox the network card is not found when opening the old Ubuntu virtual machine image

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.