Ubuntu performs ADSL dialing through wireless connection

Source: Internet
Author: User
Enable Wired connection: Enter sudoifconfigeth0up in the terminal: sudopppoeconf a text menu-based program will guide you through the following steps: 1. confirm that the ethernet card has been detected. 2. Enter your user name (provided by the ISP). Note: when entering the user name, clear "username" in the input box. Otherwise, verification errors may occur ). 3. enter your password (provided by the ISP ). 4. If you have configured a PPPoE connection, you will be notified that the connection will be repaired.

Enable Wired connection: sudo ifconfig eth0 up
Enter sudo pppoeconf in the terminal
A text menu-based program will guide you through the following steps:

1. confirm that the ethernet card has been detected.
2. Enter your user name (provided by the ISP). Note: when entering the user name, clear "username" in the input box. Otherwise, verification errors may occur ).
3. enter your password (provided by the ISP ).
4. If you have configured a PPPoE connection, you will be notified that the connection will be modified.
5. A pop-up option is displayed: Whether you need the 'noauth' and 'defaultrotu' options and remove 'nodetach '. Here, select "Yes ".
6. Use peer DNS-select "Yes ".
7. Limited MSS problem-select "Yes ".
8. When you are asked whether to automatically connect to the system when you enter the system, you can select "Yes ".
9. Finally, you will be asked whether to establish a connection immediately.

Start the ADSL connection as needed. You can enter sudo pon dsl-provider in the terminal.

Disconnect ADSL and enter sudo poff in the terminal.

If you find that the connection works properly, try to manually adjust the configuration of your ADSL connection (refer to the previous section ).

To view the log, enter plog in the terminal.
Obtain the interface information. You can enter ifconfig ppp0 in the terminal.

After using pppoeconf for dialing, Network Manager displays the solution that the device is not hosted:

Enter the following command in the terminal to configure the network connection management file:

Sudo gedit/etc/NetworkManager/nm-system-settings.conf
After opening, find
[Ifupdown]
Managed = false
Modify:
[Ifupdown]
Managed = true

Run sudo gedit/etc/network/interfaces on the terminal
Retain only

Auto lo
Iface lo inet loopback

Delete dns settings
Sudo mv/etc/resolv. conf/etc/resolv. conf_backup

Then restart the network-manager Service:
Sudo service network-manager restart

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.