VirtualBox unable to up NIC after importing Slackware Linux virtual system

Source: Internet
Author: User

It's not a big deal, but it's a pit-daddy, so write it.

To the students when the Web server encountered, the virtual box Slackware configuration, migrated to the home host is Win8.1 desktop after encountering, Network service configuration file No problem, service can start, but ifconfig not see the network card, There is only one lo.

The reason is that while virtual Box is imported with the option to reset the Nic Mac, it's actually like resetting the virtual machine, and the system in the VM has to manually change the MAC address.

Directory "//etc/udev/rules.d" look for the ".conf" file with "net", and then change the MAC address to the MAC address of the current virtual machine.

Restart the "/etc/rc.d/rc.inet1", and then "ifconfig", now it should be out of the LO Network card and network--of course, your "/etc/rc.d/rc.inet1.conf" is not configured incorrectly.

If you are afraid of trouble, directly with static IP bridge to the route (configuration file do not forget to write the gateway), do the next 22 and 80 port forwarding, you can take SSH and Web server. "chmod +x rc.file" under the service boot, open the virtual system to minimize the basic need not tube.


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.