[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:08594] Re: Linux de ADSL with PPPoE



> 恥の上塗りかも知れませんが、 東京めたりっく通信(ADSL)で、
> Linux から、どうしてもインターネットに接続したいのです。
> よろしくお願いいたします。

まず、確か Windows からはインターネットに接続できてるんですよね?

> 次に、ホームページ「Roaring Penguin Software (PPPoE)」
> http://www.roaringpenguin.com/pppoe/
> から、rp-pppoe-2.6.tar.gz をダウンロードして、
> # tar zxvf rp-pppoe-2.6.tar.gz
> # cd rp-pppoe-2.6
> # ./go
> で、 ./configure; make; make install でき、
> 引き続き、質問があったので、答えました。
> 
> 以下質問です、

> USER NAME
>
> >>> Enter your PPPoE user name (default abcdefgh@abcd):XXXXXXXX@XXXX
ここは、東京めたりっくから知らされたユーザーIDを入力してますよね?
ドメインはもっと長くて続きがありませんか?

> 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): 300

この部分、「on demand の機能は IPアドレス(dynamic IP)が
DHCP で割り振られる場合は使わない方が良い」と解釈したのですが、
IPアドレスは東京めたりっくから DHCP で割り振られてませんか。

> 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): 1

とりあえず 0 にしておいて、接続できてから 1 にしてはどうですか。

> bash# ps ax
> ....
> 636 ?        S      0:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p
> ....
dhcpcd は動いてますか?

> ping は、繋がりません。どうしても、接続できないのですが、
DNSの設定ができてないと、
$ ping www.yahoo.co.jp
のようなのはだめで、
$ ping 210.152.236.52
のようだと通るので、試してみてください。

気付いたところを挙げてみました。
岩田 薫

Follow-Ups
[plamo:08596] Re: Linux de ADSL with PPPoE, Ken Takashima
References
[plamo:08592] Re: Linux de ADSL with PPPoE, Ken Takashima

[検索ページ] [メール一覧]
Plamo ML 公開システム