Modify network configuration with VI under UNUNTU

Source: Internet
Author: User
Under UNUNTU, use VI to modify the network configuration-general Linux technology-Linux technology and application information. The following is a detailed description. FEDORA

UBUNTU



I have installed two LINUX systems on the VM, one FEDORA9 and the other ubuntu8. 04
FEDORA9 can be used for normal internet access, but ubuntu8. 04 you cannot access the Internet.
I checked the configuration files of the two systems. The FEDORA9 configuration automatically obtains the IP address. My BUUNTU is set manually during installation, but it may not be set properly. See the figure above.
The IP address of FEDORA9 is 192. 168. 0. 131 DNS is the IP address of my physical Computer System
In UBUNTU, the IP address I view is 192. 168. 1. 90 DNS is also set up differently. The figure above was edited using VI. I changed the IP address to 192. 168. 0. The 90 server is also changed to the same as the FEDORA server. But it does not seem to have been changed. : WQ cannot exit, but it may be wrong. Let me take a look at the problem.
I want to reset the network configuration of UBUNTU, that is, to automatically obtain the IP address, but I don't know how to set it. I know these questions are very helpful, but they are very useful for beginners. Please answer them. Thank you!

[ This post was last edited by Alibaba Cloud's disconnected dream at, September 21]



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.