Ubuntu ADSL (PPPOE) dialing method

Source: Internet
Author: User
Keywords ADSL can select Manager
Tags aliyun configuration configure etc home users html internet internet +

Ubuntu Linux is supported with an ADSL dial-up network (pppoehttp://www.aliyun.com/zixun/aggregation/3280.html "> Modem"), but it is not as convenient as Windows allocated. In fact, Ubuntu under the ADSL Internet is not very difficult, currently in China ADSL home users mostly, here is an introduction to Ubuntu under the ADSL (PPPOE) Dial-up method.

Configure ADSL

Ubuntu8.10 inside already brought the Network Configuration Wizard, in the top menu into the system-> preferences->network CONFIGURATION->DSL, set up, followed by the user name, service and password can be. Ubuntu9.10 in the receptacle management have bugs, may not be used in accordance with the normal use of ADSL, so you need to update the receptacle management, or use pppoeconf as a way to dial.

Method One: Use the pppoeconf command to dial

To enable Wired connections:

sudo ifconfig eth0 up

Enter in the terminal:

sudo pppoeconf a text menu based program guides you through the following steps:

1. Verify that the Ethernet card is detected.

2. Enter your username (provided by your ISP: Please clear the "username" in the input box, or you may cause validation errors).

3. Enter your password (provided by your ISP).

4. If you have configured a PPPoE connection, you will be notified that the connection will be modified.

5. Pop-up an option: You are asked if you need ' noauth ' and ' defaultroute ' options and remove ' Nodetach ', and here you choose Yes.

6. Use Peer DNS-select Yes.

7.2¥q MSS Problem-Select Yes.

8. When you are asked if you want to connect automatically when you need to enter the system, you can choose Yes.

9. Finally, you will be asked if you want to establish a connection immediately.

When you need to start ADSL connection, you can enter in the terminal:

sudo pon dsl-provider

Disconnect the ADSL connection, you can enter in the terminal:

sudo poff

If you find the connection working properly, try manually adjusting your previous ADSL connection configuration (refer to the previous section). You need to view the log, which you can enter in the terminal:

Plog

To obtain the interface information, you can enter it in the terminal:

Ifconfig ppp0

After dialing with pppoeconf, receptacle Manager displays the solution for the device not being managed:

Configure the network connection management file by entering the following command in the terminal:

sudo gedit/etc/networkmanager/nm-system-settings.conf open, find [Ifupdown] Managed=false modified to: [Ifupdown] Managed=true

Terminal run sudo gedit/etc/network/interfaces only keep

Auto Lo iface lo inet loopback

Remove DNS settings sudo mv/etc/resolv.conf/etc/resolv.conf_backup

Restart Network-manager services: sudo service Network-manager restart

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.