Solution to two common problems in Ubuntu

Source: Internet
Author: User
Here is a summary of the two problems that I recently encountered in Ubuntu with a solution: #1. If the network connection "the device is not hosted, after the system starts up, it cannot automatically obtain the IP address. Method 1: You can manually use the following command to obtain the IP Address: sudodhclienteth0 # eth0 indicates the device name, wireless solution for wlan0 method 2 (thanks to the LinuxDeepin team for their help ~~) : Sudogedit/etc

Here is a summary of the two problems that I recently encountered in Ubuntu with a solution:

#1. Network Connection "the device is not hosted"

If this problem occurs, the system cannot automatically obtain the IP address after the system starts up,

Method 1: You can manually use the following command to obtain the IP address at each boot:

Sudo dhclient eth0 # eth0 indicates the device name, And wlan0 indicates the wireless device name.

Method 2 (thanks to the children's shoes in the Linux Deepin team for their help ~~) :

Sudo gedit/etc/NetworkManager. conf

[Ifupdown]

Managed = false

Change

[Ifupdown]

Managed = true

Then restart the Network Manager:

Sudo/etc/init. d/network-manager restart

#2. Solve the Problem of "No working ethernet card found" when executing the PPPoE command

Method 1:

If you use Adsl to connect to the network, you can use the command to configure:

Follow the configuration instructions to complete the sudo pppoeconf step by step.

After the configuration is complete, you can use sudo pon dsl-provider to enable DSL connection and use sudo poff to disconnect the network. If you encounter the problem we mentioned, you can use the sudo pppoeconf eth0 command when configuring the network to solve the "No working ethernet car found" problem.

Method 2:

You can also use the network manager (click the network connection icon in the upper-right corner of the screen) to create A new (A) DSL connection, and enter the corresponding account and password to connect to the network.

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.