In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about CentOS PPPOE installation and configuration of client software and what the prerequisites are, many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
Recommend a good use of the CentOS PPPOE system, such as let you have an understanding of the CentOS PPPOE system, and then a comprehensive introduction to the CentOS PPPOE system, hope to be useful to you to use CentOS PPPOE authentication under Linux, you must install CentOS PPPOE client software. The following explains how to install:
I. prerequisites for installation
1. Make sure the network card is installed and working properly. Use the command # ifconfig eth0 to check the status of the network card.
two。 Do not set the default route (gateway) in the system, let ADSL get it automatically after dialing.
If a default route has been set, delete it using the following method: delete the line GATEWAY= in the file / etc/sysconfig/network/ifconfig-eth0, and then execute as root: # service network restart
3. The pppd package has been installed
If the file / usr/sbin/pppd exists, pppd; is already installed. If not, download and install the package.
Second, install CentOS PPPOE client software
There are many CentOS PPPOE client software under Linux, and most of them use GNU License, so we recommend using rp-pppoe as a software package. From the http://www.roaringpenguin.com/pppoe/ website, you can download not only the rp-pppoe binary packages under each release package, but also the source code packages. We use the yum installation method under centos to install the rp-pppoe package # yum install rp-pppoe
Configure CentOS PPPOE client software
After installing the package, you must configure the configuration file / etc/ppp/pppoe.conf for CentOS PPPOE so that ADSL can use parameters such as user name and password in the configuration file when dialing. Instead of manually changing this file, we can use adsl-setup as a tool to configure: # / usr/sbin/adsl-setup when it appears > > Enter your PPPoE user name: enter the user name of the ADSL account
When > Enter the Ethernet interface connected to the ADSL modem For Solaris, this is likely to be something like / dev/hme0 appears. For Linux, it will be ethn, where 'n'is a number. (default eth0): enter eth0, which is the name of the network card connected to ADSL
When it appears > Enter the demand value (default no): enter no
When > Enter the DNS information here: enter server, which means the DNS server IP address obtained automatically using ADSL dialing
When > Please enter your PPPoE password: enter the password of the ADSL account
When > Choose a type of firewall (0-2): enter 0, do not use the firewall
When it appears > Accept these settings and adjust configuration files (YPao)? If the information entered is correct, enter y to complete the configuration, otherwise, enter n to re-enter.
Start the CentOS PPPOE client software
Use the command / usr/sbin/adsl-start to start the CentOS PPPOE client software and connect. If successful, Connected; will appear. If it is not successful, please check the network cable, ADSL MODEM and other physical devices and check the information in / var/log/messages.
/ usr/sbin/adsl-stop closes the connection to ISP
/ usr/sbin/adsl-status to view the status of the current 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-startup script at the current runlevel
When the connection is successful, use the command # ifconfig-a to include a pile of information about ppp0 in the output, which is also bound to the IP address, indicating that the IP address has been obtained from dialing. Use the command # netstat-nr to view the routing table information, and the default route should be the IP address obtained above. If there is no default route, we can manually add: the IP address obtained above # route add default gw uses the command # nslookup www.sina.com.cn. If you resolve the IP of Sina, you have correctly obtained the DNS server * from dialing. Use the command to ping a domain name or IP. If there is a response, you are done.
After reading the above, do you have any further understanding of CentOS PPPOE installation and configuration client software and prerequisites? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.