ADSL pppoe rp-pppoe dialing tool

rp-pppoe current major releases are there, such as Redhat / Fedora, Red Flag, Slackware, Debian, SuSE and other systems, are based on the dialing software, so you need not download the source code to compile and install. You can only find in the major releases of the installation disk; please use major release comes with the package management tool to install this package;

If you use the rp-pppoe package provided by major releases such as system RPM packages with rpm -ivh rp-pppoe * .rpmSlackware system is installpkg rp-pppoe * .tgz in Redhat / Fedora can graphically configuration tool to complete, redhat-config-network command to invoke the configuration of the network, to add dialing through XDSL, is relatively simple;

General approach is all releases adsl-setup command to configure the ADSL;

  1. [Root @ localhost ~] # adsl-setup Note: Configuration pppoe dialing, please document below, are similar;  
  2. [Root @ localhost ~] # adsl-start NOTE: starting dialing;  
  3. [Root @ localhost ~] # adsl-stop NOTE: Disconnect;  

5.12 If the source package is installed, we want to compile your own installation;

[root@localhost ~]# tar zxvf  rp-pppoe-3.8.tar.gz

[root@localhost ~]# cd rp-pppoe-3.8

[root@localhost rp-pppoe-3.8]# ./go

Welcome to the Roaring Penguin PPPoE client setup.  First, I will run

some checks on your system to make sure the PPPoE client is installed

properly...

Looks good!  Now, please enter some information:

USER NAME

The Enter your PPPoE the User name >>> (default [email protected] ): Please fill in here your dial-up user name; that is service provider;

>>> Enter the Ethernet interface connected to the DSL modem

For Solaris, this is likely to be something like /dev/hme0.

For Linux, it will be ethn, where 'n' is a number.

(Default eth0): eth0 If ADSL Ethernet interface, will be here to write on the ground that the cat's network interface number. Here is eth0;

Do you want the link to come up on demand, or stay up continuously?

If you want it to come up on demand, enter the idle time in seconds

after which the link should be dropped.  If you want the link to

stay up permanently, enter 'no' (two letters, lower-case.)

NOTE: Demand-activated links do not interact well with dynamic IP

addresses.  You may have some problems with demand-activated links.

>>> Enter the demand value (default no): Note: The default Enter

>>> Enter the DNS information here: 202.96.134.133 Note: Here write the address on the DNS server; and a provider may want to, you can also use I write this;

Please enter the IP address of your ISP's secondary DNS server.

If you just press enter, I will assume there is only one DNS server.

>>> Enter the secondary DNS server address here: 202.96.128.143 This is the second DNS server address;

>>> Please enter your PPPoE password: enter here the user's password;

>>> Please re-enter your PPPoE password: Confirm Password;

The firewall choices are:

0 - NONE: This script will not set any firewall rules.  You are responsible

for ensuring the security of your machine.  You are STRONGLY

recommended to use some kind of firewall rules.

1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation

2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway

for a LAN

>>> Choose a type of firewall (0-2): 2 Note: Here write 2, you can share Internet access; of course, have to add a firewall planning;

Ethernet Interface: eth0

User name:dxxx

Activate-on-demand: No

Primary DNS:        202.96.134.133

Secondary DNS:      202.96.128.143

Firewalling:        MASQUERADE

>>> Accept these settings and adjust configuration files (y / n) y Note:? Is not save the configuration;

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11109313.html