Ubuntu broadband Internet access settings

Source: Internet
Author: User
The existing releases of Ubuntu Linux do not provide the graphical interface of the ADSL pppoe dial-up tool, which undoubtedly brings some difficulties for new users. However, through the introduction in this article, you will find that it is really convenient to set up ADSL by using text commands, as long as you follow the following steps to complete the coffee to access the Internet!
 
1. First open your terminal and type the following command: sudo pppoeconf
If it is not executed by the root user, enter the administrator password;

2. The system will list the network device interfaces you can use. If there is no problem, you can answer "yes", or if you want to manually set the network card, press "no 』

Then the system starts to check your ADSL device (CAT, IP address sharer, and so on) and selects "yes 』

3. Enter the Internet account that the ISP gives you (such as: xxx@xxx.xxx), then enter the password;

4. Then, the system automatically adds the dns ip address to the file/etc/resolv. conf ;;

Note:If you cannot automatically obtain the dns ip address after selecting "yes", you can run the following command to add the IP address from the line:

Sudo gedit/etc/resolv. conf

Enter the following code in the pop-up Text Editor:

Nameserver XXX. XXX

XXX. XXX is the dns ip address. If you are not clear, you can call your network provider to ask about the dns ip address.

5. In this step, MTU is generally set to 1500. However, due to the relationship between headers at various levels of the communication protocol, the actual packet size is only 1452. Therefore, you must answer "yes 』.

6. In the last step, will the network be automatically connected when the computer enters the system? Follow you

Congratulations ~ You have learned how to access the Internet. In addition, you will find that basically all the settings are the default value "yes". Unless you have special considerations, do not try other options.


Appendix ---- several commands:

To learn about the PPP device, type the command ifconfig ppp0

Want to know the current pppoe status available plog

You can use sudo Pon DSL-provider to access the Internet through manual ADSL dial-up.

To manually disconnect ADSL, you can use sudo poff


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.