In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to configure ADSL in the Linux system", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to configure ADSL in the Linux system" this article.
Install ADSL
In the linux environment, ADSL is installed and configured through the rp-pppoe package. We first use the command rpm-qa | grep pppoe to check if the rp-pppoe package is installed on the system. If not, you can load the first CD and install the rp-pppoe-3.5-2.i386.rpm package. However, the system has installed this package by default, so we can skip this step and start configuring ADSL directly
Configure ADSL
Enter the adsl-setup command at the command prompt to start configuring ADSL in wizard mode.
First of all, you are required to enter the account name provided by ISP, for China Telecom to enter the account number directly, and for Netcom users, you need to enter it after the account number! Internet .
Enter the name of the network card connected to the ADSL, that is, the name of the network card used to connect to the Internet. The default is eth0. If the network card used to connect to Internet is eth0, you can enter directly to start the next step.
This paragraph asks whether to disconnect the dial-up connection when you are idle. If you enter yes, you will then set the idle time for disconnecting the dial-up connection, during which there is no data flow, and the dial-up connection will be disconnected. Default is no, and this feature is not enabled. Since ADSL is basically a prepaid year, enter directly to start the next step.
Enter the DNS server address provided by ISP at this time, and you can set two DNS addresses by default. If ISP provides a dynamic DNS address, we can server and enter to start the next step.
Enter the password provided by ISP
Sets whether ordinary users are allowed to start and disconnect ADSL connections. The default is allow (yes). If you do not want an ordinary user to start or port ADSL connection, type no and press enter to start the next step.
Select the firewall type. 0 means do not use a firewall, for stand-alone access to the Internet, you can choose 1. If this computer is the proxy server of the enterprise, you can choose 2 to use IP camouflage to proxy intranet users to access Internet.
Set whether to boot ADSL. Default is no. In general, it is set to yes to save the need to start ADSL every time the computer is restarted.
View the profile we just configured. If confirmed, enter y to complete the configuration of ADSL
Start ADSL
After completing the configuration of ADSL, everyone must be impatient to launch ADSL and get ready to go online.
The revolution is not finished yet. We still need to work hard. First check whether the default gateway is set in the / etc/sysconfig/network file and the network card configuration file. If so, delete it in the configuration file so that the ADSL can get it automatically after dialing successfully, and then restart the network service using the service network restart command.
Use adsl-start to start dialing when it appears. Connected! The ADSL connection was successful when prompted.
If ADSL did not dial successfully, you can find out the reason for the failure by looking at the / var/log/messages file.
test
Use the ifconfig ppp0 command to view the information of the ppp0 network interface. After ADSL dialing is successful, the PPP0 interface will be added, and the system will automatically use it as the default gateway address, so that the Internet network can be accessed.
Use the adsl-stop command to disconnect the dial-up connection.
The above is all the contents of the article "how to configure ADSL in Linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.