Article Title: perfect solution for ADSL on REDHAT9. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I have read a lot of articles about ADSL on LINUXSIR and LINUXFANS, but I have not solved the problem of ADSL Internet access on my REDHAT9. Today, there is really no way to re-establish connections and twists and turns, I finally got online (very excited and may not express it very well). I wrote down my process as a reference:
If there is a problem with the default PPPOE of REDHAT, You Need To RPM-E, and then install this
Http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz (recommended by North South brother)
Unzip and install:
# Tar zxvf rp-pppoe-3.5.tar.gz
Go to the extract directory and execute
# Sh./go
Then configure ADSL. Here, 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): Enter the ADSL user name here.
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 a network 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 write anything
DNS
Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS address ',
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: Enter 202.96.134.20.
The next DNS is 202.96.168.68. // you can modify it based on your needs.
PASSWORD
>>> Please enter your PPPoE password: enter the password
>>> Please re-enter your PPPoE password: enter the password again.
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 here.
** 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 that, press the y key.
(The above is the content in the North South Brother's article)
Do not rush to connect, REBOOT-N
Then go to network settings, set ETH1 fixed IP address, and stop ETH1 (I use it)
Then ADSL-START
PING your DNS. If yes, congratulations!
If not, REBOOT-N
ADSL-START, this is no problem, enjoy it!
Some of the content may be different for your reference only. You can ping dns after connection!
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