Create adsl dial-up Internet access on a linux machine

Source: Internet
Author: User
Create adsl dial-up Internet access-linux Enterprise Application-Linux server application information on a Linux machine. For more information, see the following. Before using linux to create an adsl dial-up connection, check whether the pppoe rpm software package is installed on our computer.



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05135625717.png'); ">

If you use the command above, the package name for the rp-pppoe-3.5-32.1 is not displayed. we need to install it manually. if your linux version is later than AS 4. you can find the software package in the first CD. you can run the following command:

Rpm-ivh rp-pppoe-3.5-32.1.i386.rpm Let's install them.

After the installation is complete, run the adsl-setup command to enable the Configuration Wizard. In the prompt wizard, enter the required information as prompted.

The first step is to enter our ADSL name. Here I enter adsl_test



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05140237523.png'); ">

Step 2: configure the name of the network adapter to connect to ADSL: eth1



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05140633547.png'); ">

In step 3, we need to configure the dial-up type. If you are a subscription user, you can set to stay online. You can change the type you need based on your actual situation: No



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05141020.14.png'); ">

Step 4: set our DNS address if you know our DNS address. you can enter your own address. if you do not know, enter "Server" here, which means that when the dial is successful, the IP address is automatically obtained from the ISP:



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05141530392.png'); ">

Step 5 enter our ADSL password:



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05141750880.png'); ">

In step 6, we need to select whether to allow normal users to connect to and disconnect ADSL. Here we choose NO



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05142145819.png'); ">

In step 7, select the firewall type. You can use iptables to customize firewall rules. For this reason, enter "0" here and do not start the firewall.



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05142537051.png'); ">

In step 8, we need to configure whether to enable the ADSL dial-up connection when the system is started. for debugging, I select NO here. NO connection is required during startup.



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05142844850.png'); ">

Step 9: confirm to save the settings. The configuration page will output the information we Just configured. If the configuration is correct, enter "y". The Configuration Wizard will automatically generate the configuration file.



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // blog.56logo.com/uploads/diary/200803/05143525246.png'); ">
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.