The method of ADSL dial-up Internet on Linux operating system

Source: Internet
Author: User

1. Installation

Yum Install rp-pppoe.x86_64

2. Configuring the PPPoE client software

After you install the package, you must configure the configuration file/etc/ppp/pppoe.conf for PPPoE to use parameters such as user name, password, and so on in the configuration file when ADSL dials. We do not have to manually change this file, you can use adsl-Setup This tool to configure: #/usr/sbin/adsl-when Setup appears>>>Enter your PPPoE user name: Enter the username for the ADSL account when it appears>>> Enter the EthernetInterfaceconnected to the ADSL modemfor Solaris, This  isLikely to be something like/dev/HME0. For Linux, it'll be ethn,whereN isa number. (defaulteth0): Enter the eth0, which is the name of the ADSL connected network card. When it appears>>> Enter The Demand value (defaultNo): Enter no when it appears>>>Enter the DNS information here: Enter server, which means that the IP address of the DNS server that is automatically obtained using ADSL dialing occurs when>>>Please enter your PPPoE password: Enter the password for the ADSL account when it appears>>> Choose A type of firewall (0-2): Enter0, do not use a firewall when it appears>>> Accept These settings and adjust configuration files (y/n)?If the information entered is correct, enter Y, complete the configuration, otherwise, enter n re-enter. 

3. Start the PPPoE client software

Use the command: #/USR/SBIN/ADSL-/var/log/messages information in /usr/sbin/adsl-stop shutdown and ISP connection /usr/sbin/adsl-StatusView current state of connection if you want to start the ADSL connection automatically when the Linux system starts, enter the following command #chkconfig–add ADSL will add the ADSL self-boot script under the current run level. 

4. Testing

--  The IP address obtained above the default GW using the command #nslookup www.sina.com.cn if the IP of Sina is resolved, the DNS server has been correctly obtained from dialing. Finally, using the command to ping a domain name or IP, if there is a response, you are done. 

The method of ADSL dial-up Internet on Linux operating system

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.