Adsl Internet sharing under Fedora

Source: Internet
Author: User
Recently, I started to toss Fedora and ran fast on the old machine. So I studied how to add adsl to it. There is a Telecom adsl account and password, and a modem. If there are multiple machines, there must be a vro software. Generally, rp-pppoe is used, to share the Internet with other machines, you must use squid as the proxy. Process: 1. Download rp-pppoe, decompress it, compile and install it, and execute:./configure, make

Recently, I started to toss Fedora and ran fast on the old machine. So I studied how to add adsl to it.

There must be a Telecom adsl account and password, and a modem. If there are multiple machines, there must be a vro.

In terms of software, rp-pppoe is generally used. If other machines share the Internet, squid is used as the proxy.

Process:

1. Download rp-pppoe, decompress it, compile and install it, and execute:./configure, make, make install in sequence.

2. Run pppoe-setup and set the account and password. If DNS is not set, it is obtained by adsl.

3. If it is connected to a vro, you need to turn off the local DHCP connection and use static addresses, and the gateway is empty. Otherwise, it will always be accessed from the gateway instead of through the adsl connection.

4. Run pppoe-start, connection, and pppoe-status to view the connection status.

5. In this way, if the browser can access the Internet, OK.

Squid:

6. My fedora comes with squid, Which is skipped during installation.

7. Find/etc/squid. conf and modify the policy so that other machines in the LAN can access it. (Add Port 3128 to the firewall exceptions at the same time)

8. squid-k parse detection Configuration

9. Start squid-s (squid-k shutdown)

10. Set proxy in Firefox (QQ can also set proxy options)

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.