Install and use pppoe

Source: Internet
Author: User
Tags nameserver
Pppoe installation and use-general Linux technology-Linux technology and application information. The following is a detailed description. In fact, it is very easy TO simply translate README and HOW-.

Poor English skills.

PPP Client installation and use instructions

1. Installation

1.download pppoe-3.8.tar.gz

Http://www.roaringpenguin.com/products/pppoe

You can see

README and doc/HOW-TO-CONNECT

2. Decompress and install

Enter the root mode.

Enter linux, unzip the rp-pppoe-3.8.tar.gz:

# Tar vzxf rp-pppoe-3.8.tar.gz

Enter the generated directory:

# Cd rp-pppoe-3.8

1>. quick installation

Run the script go in the directory:

#./Go

Will be automatically compiled and installed.

If you want to enter the GUI

#./Go-gui

Will be automatically compiled and installed

2>. If quick installation fails

1) decompress:

$ Tar xzvf rp-pppoe-xxx.tar.gz

2) enter the Directory

$ Cd src

3) Check completion

$./Configure

4) Compile

$ Make

5) Install (this step must be done as root)

# Make install

Root permission is required for installation.

Ii. How to Use

1. First, make sure that your network card is in normal use.

Ifconfig eth0

2. If you use pppoe-setup in the configuration file, you can answer the question. If you do not want to run it in the background.

You can manually configure

3. Edit pap-secrets

Edit "pap-secrets" and insert your ID and password to install or copy "pap-secrets"

/Etc/ppp/pap-secrets

Some carriers may use CHAP for verification.

4. edit/etc/ppp/pppoe. conf.

This file contains the DSL connection configuration information.

Edit the following lines:

Select your Nic

Select your user name

If you are not familiar with it, Do not edit other configurations.

5. Set DNS

If you use the DNS provided by the carrier, edit/etc/resolv. conf

The format is

Nameserver ip_addr_of_first_dns_server

Nameserver ip_addr_of_second_dns_server

For example

Nameserver 202.106.0.20

Nameserver 202.106.46.151

6. Allow by the firewall. Matching is required.

7. automatically start the service at startup

In REDHAT, the installer automatically places the startup script in

/Etc/rc. d/init. d/pppoe.

Only

Chkconfig -- add pppoe

Add startup Service

Or

Not in RADHAT System

In/etc/rc. d/rc. local

Add a row

/Usr/sbin/pppoe-start

8. Configure LAN Hosts

If your computer is in the LAN. when PPPOE is used, the host in the LAN will be reduced from the normal tcp packet size to 1460bit-1452bit, preferably 1412bit. reducing the access speed of your LAN (mainly reducing the maximum TCP packet size)

You have two methods

First, set the maximum transmission unit MTU to 1452bit on all interfaces of other hosts in the LAN.

Second, when you connect to the PPP, how can you use it? M1412 Parameters

This-m parameter makes PPP0E fast and simple, and this host is easy to communicate within the LAN, But it increases the CPU burden.

If you want to configure a LAN host

Use in LINUX

"Ifconfig eth0 mtu 1452"

Put this in

/Etc/rc. d/rc. local script.

Can be started automatically

For WINDOWS

Look

Http://lan.cns.ksu.edu/ OS /WIN95/slip95.htm.

How to Set MaxMTU to 1452

9. Run the command to start the PPPOE connection.

As root user

Start PPPOE-start

Disable PPPOE-stop
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.