Ubuntu cannot connect to the wireless LAN.

Source: Internet
Author: User
1. modify the system network configuration to automatically get # sudovim/etc/network/interfaces all overwrite the following characters autoloifaceloinetloopback2. modify DNS to automatically get # sudovim/etc/resolv. conf is all covered by the following characters # GeneratedbyNetworkManagerdomainh3c.com. cns

1. modify the system network configuration to get it automatically

# Sudo vim/etc/network/interfaces

All characters must be the following

Auto lo

Iface lo inet loopback

2. Modify DNS to get it automatically

# Sudo vim/etc/resolv. conf all overwrites the following characters

# Generated by NetworkManager

Domain h3c.com.cn

Search h3c.com.cn

Nameserver 192.168.10.1

3. Restart the NIC

Sudo/etc/init. d/networking restart

Note: In Ubuntu, interfaces and resolv. conf should not be modified manually. Otherwise, they cannot be obtained automatically.

I personally wrote the chapter after my own operations. If there are similarities, it is a coincidence.

If you do not understand it or the document is incorrect, leave a message to indicate it. I will modify it and send a reply to the notification.

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.