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)