How to make PPPoE dial-up internet in CentOS6.5

Source: Internet
Author: User

1, although the CentOS majority as a server to use, but also inevitably need to use this PPPoE dial-up mode of access, in fact, the implementation of this method under CentOS is very simple, only a few steps to complete.


2. Environmental Requirements:

A machine with CentOS6.5 installed;

A twisted pair that can be used normally ...

An ISP-provided account that can be used normally;

A dial-up interface that can access the ISP's network ...

Dial-up software and modules available on the centos6.5 CD:

ppp-2.4.5-5.el6.i686

rp-pppoe-3.10-10.el6.i686


3. Dialing process:

1), after installing the above two packages, use the command Pppoe-setup, fill in some related dialing settings:

Create a new dial-up configuration:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9B/wKioL1W6Fz2gNmwwAAIee6KhX0o480.jpg "title=" 1.png " alt= "Wkiol1w6fz2gnmwwaaiee6khx0o480.jpg"/>

Fill in the login account information (i.e. the account number provided by your ISP):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/9B/wKioL1W6F9_Bo1f9AABXS91Qrvg156.jpg "title=" 2.png " alt= "Wkiol1w6f9_bo1f9aabxs91qrvg156.jpg"/>


Set up a dial-up network card (default is eth0 NIC):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9E/wKiom1W6FluBwq_4AAEezMo5r-Y563.jpg "title=" 3.png " alt= "Wkiom1w6flubwq_4aaeezmo5r-y563.jpg"/>


Set whether dial-on-demand (that is, dial-in when network connectivity is required):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9B/wKioL1W6GWjxiTHcAAJCPCHZqLc535.jpg "title=" 4.png " alt= "Wkiol1w6gwjxithcaajcpchzqlc535.jpg"/>

Set the DNS properties (you can enter a valid DNS address manually, and if your ISP network supports dynamic DNS addresses, you can input the server directly):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9E/wKiom1W6GYeQoPH2AAGy-9O5oi0052.jpg "title=" 5.png " alt= "Wkiom1w6gyeqoph2aagy-9o5oi0052.jpg"/>

Enter the password provided by your ISP:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9C/wKioL1W6JPKzVFW0AACH5xN_rZY190.jpg "title=" 6.png " alt= "Wkiol1w6jpkzvfw0aach5xn_rzy190.jpg"/>


Whether to allow normal users to interrupt the DSL connection:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9F/wKiom1W6I3ahOe_sAADVoB6fLqg325.jpg "title=" 7.png " alt= "Wkiom1w6i3ahoe_saadvob6flqg325.jpg"/>

Set firewall defense level (can be debugged later):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/9C/wKioL1W6Ja_w24ryAAI0K3jZ91g815.jpg "title=" 8.png " alt= "Wkiol1w6ja_w24ryaai0k3jz91g815.jpg"/>

Whether to allow automatic dialing (on-demand):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/9F/wKiom1W6JDmSu1IGAADPk-HAu9Q502.jpg "title=" 9.png " alt= "Wkiom1w6jdmsu1igaadpk-hau9q502.jpg"/>


Confirm Configuration (yes):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/9C/wKioL1W6JmaRyu3bAAEnHjwntoI813.jpg "title=" 11.png "alt=" Wkiol1w6jmaryu3baaenhjwntoi813.jpg "/>

2), after the configuration is complete, start dialing:

[Email protected] ppp]# Pppoe-start


After dialing is complete, view the dialing information (you can see that the ISP has assigned us an IP address):

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/9C/wKioL1W6JxXQ22ZRAADEyCMKumk470.jpg "title=" 12.png "alt=" Wkiol1w6jxxq22zraadeycmkumk470.jpg "/>

To test whether you can connect to the network:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/9C/wKioL1W6J0-zOAWPAADQbvutIyg980.jpg "title=" 13.png "alt=" Wkiol1w6j0-zoawpaadqbvutiyg980.jpg "/>


4, if you do not obtain a DNS address from the ISP operator, you can choose to manually configure the DNS address in the network card, as follows:

Edit the NIC/etc/sysconfig/network-scripts.ifcfg-eth0, add a sentence at the end

dns1=x.x.x.x

Then restart the network card to

Service Network restart


This article is from the "but evil Water Heart Pan" blog, please be sure to keep this source http://shmilyfl.blog.51cto.com/8897986/1680344

How to make PPPoE dial-up internet in CentOS6.5

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.