| 发布时间: 2020-04-20 10:56:38 | 1342 次浏览
[root@test ~]# yum install rp-pppoe -y
0x03 配置
[root@test ~]# pppoe-setup

Welcome to the PPPoE client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly…


Enter your Login Name (default root):


Enter the Ethernet interface connected to the PPPoE modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where ‘X’ is a number.
(default eth0):

Do 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 seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter ‘no’ (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no):


Please 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 what you are
doing and not modify your DNS setup.

Enter the DNS information here:

Please enter the 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:


Please enter your Password:
Please re-enter your Password:


Please enter ‘yes’ (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes):


Please choose the firewall rules to use. Note