マイPC列伝

>EATAQUA>LINUX AP INSTALL>RP-PPPoE

RP-PPPoE 3.3


入手先

 ・rp-pppoe-3.3.tar.gz

インストール

1.tarボールの展開
  ダウンロードしたアーカイブのあるディレクトリから…

% tar zxvf rp-pppoe-3.3.tar.gz

 これで、rp-pppoe-3.3ディレクトリにファイルが展開される。

2.make
 rp-pppoe-3.3/srcディレクトリに移動して、configureを実行。  

% cd rp-pppoe-3.3/src
% ./configure

 そしてmakeを実行。

% make

 makeに成功したら、スーパーユーザになってインストール。

% su
# make install

3.設定
 adsl-setupを使用して設定をおこなう。
 具体的な設定例は下記ような感じ。

 (注意)
   うちの場合はFLETS-ADSLでISPに接続しています。
   あと、FIREWALLの設定を0(NONE)にしてるけど、これはiptableを別に設定しているからです。
  これら対策をしてない人はせめて1か2を設定しておいたほうが無難でしょう。

 

# adsl-setup
Welcome to the Roaring Penguin ADSL 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

>>> Enter your PPPoE user name (default ******@***@*****.ne.jp): ******@***@*****.ne.jp -- (1)

INTERFACE

>>> Enter the Ethernet interface connected to the ADSL 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 -- (2)

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): no -- (3)

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: server -- (4)

PASSWORD

>>> Please enter your PPPoE password: -- (5)
>>> Please re-enter your PPPoE password: -- (6)

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

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): 0 -- (7)

** Summary of what you entered ** -- (8)

Ethernet Interface: eth0
User name: ******@***@*****.ne.jp
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: NONE

>>> Accept these settings and adjust configuration files (y/n)? y -- (9)
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)

Congratulations, it should be all set up!

Type 'adsl-start' to bring up your ADSL link and 'adsl-stop' to bring
it down. Type 'adsl-status' to see the link status.

  (1) -- ISPに接続するためのアカウントです。FLETSだと「ユーザ名@マシン名@ドメイン」ってな感じ。
  (2) -- ADSLモデムとのインターフェース。
  (3) -- よく分かりません(^^; とりあえずnoにしています。無通信時間によって切断される場合にせっていするのか?(嘘くさい
  (4) -- DNSサーバのアドレスです。接続時にサーバが自動的に付与してくれる場合はserverでOK。
  (5) -- ISPに接続するときのパスワード。(6)は確認用。
  (7) -- FIREWALLの種類。0 - なし、1 - Webサーフィン可能なマシン用(HTTP,SMTP,POP,FTPあたり)、2 - インターネットゲートウェー用らしい
  (8) -- この表記の下に入力事項の確認が表示される。
  (9) -- 設定がOKならyを入力。すると、設定ファイルに反映される。

 ※ここから下は個人的φ(..)メモメモ
   FLETS-ADSLに接続するときは、
   PPP BSD-Compress compressionをYかmにしておくべし。


[Return to EATAQUA]
EatGroup History LINK
[INDEX] - [PARTS HISTORY] - [HOME]
[EATLEAF] - [EATAQUA(HERE)] - [EATELF] - [EATCOCKTAIL] - [EATKEY] - [EATFAIRY]

Copyright(C)2002 M.ABE