What if Ubuntu doesn't even surf the internet?

Source: Internet
Author: User

Ubuntu notebook came to a local area network, plug in the network cable, network cable indicator light, but not even the Internet, click on the network connection icon, show "Network unmanaged." Suddenly think of this notebook before the set of PPPOE (wired broadband virtual dial-up), and then made a set of changes to finally solve the problem.

1, Ubuntu notebook came to a local area network, a bit Song. Plug in the network cable, network cable indicator light, but not even the Internet, click on the Internet connection icon, show "Network unmanaged." It suddenly occurred to me that the front of the notebook was set over PPPOE (wired broadband virtual dial), which was suspected to be the cause.

2. Press Ctrl + ALT + t to pull out the terminal.

3, type the command: Cd/etc/network, into the/etc/network directory, it has a file called interfaces.

4, and then type the command: sudo gedit interfaces, which means calling the Gedit text editor and opening interfaces this file.

The last line of this file is: iface eth0 inet Manual, meaning, eth0 this network interface (personal computer, eth0 generally refers to the only one network interface), need to set up the network manually.

5, however, the current LAN, is obviously a DHCP network, that is, access to the computer needs "automatic access network" address. We put an English "#" in front of this line of characters, "note" Out of this line, meaning not to manually set up the network, but instead to automatically set. Note that must be the "#" in English, otherwise the input of Chinese words, can not get the "annotation" function.

6, save the file, close the Gedit text editor, back to the terminal, type command: sudo service network-manager Restart, means to restart Network management services. Press Enter and the network is connected immediately. After leaving the LAN, you need to reuse virtual dialing, as long as the 4th, 5 steps of the method, the added "#" removed, and then restart the network management services, on the line.

Related Article

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.