Ubuntu14.04 dial-up internet trampling pits

Source: Internet
Author: User

A friend has a dial-up on the Linux problem, slow to solve, yesterday night, or did not fix, this morning continue to engage, fortunately, finally fix, record the process.

Linux dial-up Internet basic Tutorial online, self-search.

The following individuals understand:

Dial-up access is available in two ways:

    1. Ubuntu appears to bring a DSL config interface, command line input: pppoeconf and then enter the Config GUI. OK, the first pit is here, at username, remember to delete the default username characters, otherwise the characters will be saved in the config file as your username. The password does not have this problem.
    2. Another is the Pppoe-setup command line, this also please self-search, you can look at these articles:
      • Pppoe-setup the entire process:
        52888388
        -start when there is a problem:
        Http://www.cnblogs.com/dczsf/archive/2011/03/05/1971404.html

In fact, these two methods, the same principle, will eventually put the configuration information into their own conf file.
Pppoeconf Way, the final conf file in:/etc/ppp/peers/dsl-provider, so the command line vim directly modify the parameters inside, finished saving exit, then run Pon Dsl-provider, and then run Plog to see if the dial is successful.

[Email protected]:~# Vim/etc/ppp/peers/dsl-provider
[Email protected]:~# pon Dsl-provider
Plugin rp-pppoe.so loaded.
[Email protected]:~# plog
June 8 10:25:47 PPPoE pppd[23343]: Using interface Ppp1
June 8 10:25:47 PPPoE pppd[23343]: Connect:ppp1 <--> eth1
June 8 10:25:47 PPPoE pppd[23343]: Remote message:authentication successful,welcome!
June 8 10:25:47 PPPoE pppd[23343]: PAP authentication succeeded
June 8 10:25:47 PPPoE pppd[23343]: Peer from calling number 00:22:93:5d:e0:20 authorized
June 8 10:25:47 PPPoE pppd[23343]: not replacing existing default route via 180.101.205.254
June 8 10:25:47 PPPoE pppd[23343]: local IP address x.x.x.x
June 8 10:25:47 PPPoE pppd[23343]: remote IP address x.x.x.x
June 8 10:25:47 PPPoE pppd[23343]: primary DNS address x.x.x.x
June 8 10:25:47 PPPoE pppd[23343]: secondary DNS address x.x.x.x
[Email protected]:~# ifconfig

Ifconfig will see a lot of a ppp1,eth1 is through this to the Internet.

The second pit came: if username and password there you lose the wrong, through the GUI interface too troublesome, direct vim below dsl-provider password configuration file. There is a description in the format, the matching on the line.
[Email protected]:~# vim/etc/ppp/pap-secrets

All right, that's it!

Ubuntu14.04 dial-up internet trampling pits

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.