Download RP-pppoe
Http://www.roaringpenguin.com/penguin/open_source_rp-pppoe.php
Configure and use the RP-pppoe of the ADSL unplug program in RedHat
Why/When RP-pppoe is used, the RP-pppoe bug may appear in the RedHat release, therefore, we need to install RP-pppoe on our own.
This release also applies to other releases.
In RedHat, we can use the following command to prepare the IP address and DNS of the network card.
# RedHat-config-network
Set the IP address and DNS to the following.
IP Address: 192.168.0.1
Mask:
255.255.255.0
DNS
202.96.134.20.
202.96.168.68
Do not set the network relationship
Then we set RP-pppoe
Http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz
Remove the old version of RP-pppoe. If yes:
# Rpm-e Rp-pppoe
Solution and security groups:
# Tar zxvf rp-pppoe-3.5.tar.gz
Import and describe the rows.
# Sh./go
Then you can configure ADSL. In this case, we need to use commands.
# ADSL-Setup
Welcome to the roaring penguin ADSL Client Setup. First, I will run
Some checks on your system to make sure the pppoe client is installed
Properly...
Looks good! Now, please enter some information:
User Name
>>> Enter your pppoe User Name (default XXX): used for accessing ADSL
Interface
>>> Enter the Ethernet interface connected to the ADSL Modem
For Solaris, this is likely to be something like/dev/hme0.
For Linux, it will be ethn, where/'n'/'is a number.
(Default eth0): If an online card is set to 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 shoshould be dropped. If you want the link
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): No need to renew anything/
DNS
Please enter the IP address of your ISP/'s primary DNS server.
If your ISP claims that/'the server will provide DNS ses SSEs /',
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: in this example, 202.96.134.20.
The next DNS is 202.96.168.68.
Password
>>> Please enter your pppoe password: encrypt incoming Password
>>> Please re-enter your pppoe password: retries
Firewalling
Please choose the firewall rules to use. Note that these rules are
Very basic. 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 deny
Access to all standard servers like Web, e-mail, FTP, etc. If you
Are Using SSH, the rules will block outgoing SSH connections which
Allocate 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 Workstation
2-masquerade: appropriate for a machine acting as an Internet gateway
For a LAN
>>> Choose a type of firewall (0-2): Add 2
** Summary of what you entered **
Ethernet interface: eth0
User name: XXX
Activate-on-demand: No
DNS: Do not adjust
Firewalling: Masquerade
>>> Accept these settings and adjust configuration files (y/n )?
After completing the preceding steps, press "Y.
Use ADSL-start to activate ADSL. If it fails, re-compile the computer.
ADSL-related commands:
# ADSL-start
# ADSL-Stop stop
# ADSL-status authentication failed