In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how centos6.5 achieves broadband dial-up access. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
CentOS6 will install rp-pppoe in the future, and the previous version of centos was installed with the adsl-setup command.
(1) check whether to install
# rpm-qa | grep rp-pppoe
If there is no content output, it is not installed. If you can connect to the Internet, use # yum install rp-pppoe.
Mount the CD
# mount / dev/cdrom / media
Find out the file path
# find / media-name 'rp-pppoe*'
This file has no dependencies and can be installed directly
# rpm-ivh / media/CentOS_6.5_Final/Packages/rp-pppoe-3.10-8.el6.i686.rpm
(2) set up dialing
# whereis pppoe-setup
# / sbin/pppoe-setup
Or # pppoe-setup
Start setting ADSL and DNS information:
Welcome to the PPPoE client setup. First, I will run some checks on
Your system to make sure the PPPoE client is installed properly...
The following DSL config was found on your system:
Device: Name:
Ppp0 DSLppp0
Please 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: ppp0
LOGIN NAME
Enter your Login Name (default root): the ADSL user name given to you by China Telecom or Netcom. Pay attention to the ad given by China Telecom.
INTERFACE
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): eth0 ← specifies the network access device. In the case of a network card, it is generally the 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): ← directly presses enter and accepts the default setting, asking whether the connection will continue after the adsl connection. Or automatically disconnect within a specified time (in seconds). In most cases, we want to open and close the connection manually. So choose the default no here.
DNS
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: 202.96.209.5 the first DNS is recommended to be set manually, otherwise it may not be connected (or enter server for Enter the DNS information here: server / / PPPOE dialing, that is, dynamically obtain DNS)
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: 202.96.209.133 the second DNS is recommended to be set manually, otherwise it may not be connected
PASSWORD
Please enter your Password: enter the connection password for ADSL
Please re-enter your Password: ← reconfirms entering the connection password of ADSL
USERCTRL
Please enter 'yes' (three letters, lower-case.) If you want to allow
Normal user to start or stop DSL connection (default yes): enter no in yes ←, which does not allow general users to control the connection of PPPoE
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): 0 ← enter 0, do not use firewall here
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no): yes ← fills in yes to automatically connect ADSL when the system starts
Accept these settings and adjust configuration files (YBO)? After the y ← configuration information is confirmed, type y to agree to the setting
* * Summary of what you entered * *
Ethernet Interface:eth0
User name:
[root@localhost ~] # pppoe-start ← starts ADSL pppoe connection (or # ifup ppp0 / / starts ppp0 interface)
[root@localhost ~] # after the pppoe-status setting is complete, let's take a look at the adsl status
Thank you for reading! This is the end of the article on "how to achieve broadband dial-up in centos6.5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.