First install CentOS6 to install rp-pppoe this software, the previous version of centos is installed in the adsl-setup command, to centos6 changed.
Requires CentOS installation disk in CD-ROM drive
Mounting CD
#mount /dev/cdrom /media
Find file path
# find /media -name 'rp-pppoe*'
This file has no dependencies and can be installed directly
#rpm -ivh /media/CentOS_6.0_Final/Packages/rp -pppoe-3.10-8.el6.i686.rpm
ADSL and DNS information can be set after installation.
#pppoe-setup
Welcome to the PPPoE client setup. First, I will run some checks onyour system to make sure the PPPoE client is installed properly...The following DSL config was found on your system: Device: Name: ppp0 DSLppp0Please enter the device if you want To configure the present DSL config(default ppp0) or enter 'n' if you want to create a new one: ppp0LOGIN NAMEEnter your Login Name (default root): China Telecom or China Netcom gives you the ADSL username, pay attention to the telecommunications INTERFACEEnter the Ethernet interface connected to the PPPoE modemFor Solaris, this is likely to be something like /dev/hme0.For Linu x, it will be ethX, where 'X' is a number. (default eth0): eth0← Specify network access device, in the case of a network card, generally default eth0Do you want the link to come up on demand, or stay Up continuously?If you want it to come up on demand, enter the idle time in secondsafter which the link should be dropped. If you want the link tostay up permanently, enter 'no' (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IPaddresses. You may have some problems with demand-activated links. Enter the demand value (default no): ← directly press Enter, accept the default settings, the query is, after the adsl connection Whether to keep the connection. Or automatic disconnection, within the specified time (in seconds). In most cases, we want to manually open and close the connection. So here is the default no. DNSPlease enter the IP address of your ISP's primary DNS server.If your ISP claims that 'the server will provide dynamic DNS addresses', enter 'server' (all lower-case) here.If you just press enter, I will assume you know Enter your DNS setup. Enter the DNS information here: 202.96.209.5 The first DNS is recommended to be set manually, otherwise you may not be able to connect to your IP address of your ISP's secondary DNS server. If you just press enter, I will assume there is only one DNS server. Enter the secondary DNS server address here: 202.96.209.133 The second DNS is recommended to be manually set, otherwise it may not be connected to PASSWORDPlease enter your Password: Enter the ADSL connection password Please re-enter your Password : ← Reconfirm the connection password for entering ADSL USERCTRLPlease enter 'yes' (three letters, lower-case.) if you want to allow normal user to start or stop DSL connection (default yes): yes← User control PPPoE connection FIREWALLINGPlease choose the firewall rules to use. N If you are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose 'NONE' and set up firewalling yourself. Otherwise, the firewall Rules will denyaccess to all standard servers like Web, e-mail, ftp, etc. If youare using SSH, the rules will block outgoing SSH connections whichallocate a privileged source port.The firewall choices are:0 - NONE: This script will not set Any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules.1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation2 - MASQUERADE: Appropriate for a machine acting As an Internet gateway for a LANChoose a type of firewall (0-2): 0← Enter 0, do not use the firewall here. this connection at boot timeDo you want to start this con Nection at boot time?Please enter no or yes (default no):yes← Fill in yes, automatically connect ADSL at system startup
Accept these settings and adjust configuration files (y/n)? y← After the information is confirmed, type y to agree to the setting** Summary of what you entered **
Ethernet Interface:eth0
User name:
[ ,null,null,3],Root@localhost ~]# pppoe-start← Start ADSL pppoe connection
[root@localhost ~]# pppoe-status After setting, we take a look at adsl status
Computer Store News: first Linux systems for flat panel launch For those who have tired of the N
When a person is operating under Linux, they may encounter that the file they are doing is accident
Today, I have brought the steps of adding static routes for Linux, I hope to help my friends! 1. Add
1. Install Oracle VM virtualBox, I am using version 4.0. The official download address is here. 2.
Using semaphores to control Linux thread synchronization
Quartz Time Configuration Basic Tutorial
Linux crashes the problem of processing
Linux awk command learning experience
User Management Security Settings in Linux System Tutorial
Openldap installation and configuration basic tutorial
How to use ReiserFS file system in Linux environment
How to find IP address conflicts in Linux
Rm delete the file or directory at the beginning of the dash
Virtualbox command line sharing CentOS directory
Discussion group can pass files QQ for Mac release 3.1.2 official version
How to add "American English" language under win10 system
What should I do if the digital signature of the Win10 graphics card driver is changed?
Win10 dual graphics card can not switch the solution
Extremely beautiful system: XP analog Vista ultimate solution
Windows 8 UEFI will not block other operating systems
QQ for Win8 v2.0.7 priority experience
What is a 360 cloud service? 360 cloud service and 360 cloud disk difference comparison
How to use the Bluetooth headset to listen to songs in the depth win7 Ultimate system
What is the eight-door artifact eight-door artifact how to use