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

[plamo:21087] Re: Plamo-3.3 のPPP 設定は?



石川です。

回線がつながった後の認証に失敗しているということはないですか。
pap-secrets の中のパスワードをシングルクオテーション(')で括っ
たらどうなりますか?
もうひとつおまじない:
ln -sf /etc/ppp/pap-secrets /etc/ppp/chap-secrets

On Fri, 17 Oct 2003 10:53:58 +0900 (JST)
Jun Kuwamura <juk@rccm.co.jp> wrote:

> On Tue, 14 Oct 2003, Jun Kuwamura wrote:
> 
> > くわむらです。
> > 
> > どうもありがとうございます。
> > 
> > > ここしばらく PPP は設定することなく(昔の設定をコピーして)使っていたの
> > > で,設定ツールを入れ忘れていたのですが(苦笑),とり急ぎ
> > > 
> > > ftp://plamo.linet.gr.jp/pub/Plamo/Plamo-test/pppsetup.tgz 
> > > 
> > > というのを用意してみました.
> > > 
> > > 中身は Plamo-2.x 当時の ppp.tgz から pppsetup 関係の部分を抜き出しただ
> > > けですが,これで動作するか試してもらえますでしょうか?
> > 
> > セットアップできました。
> > 
> > > # このスクリプトは ppp-2.3 のころに作ったもので,ppp-2.4 だと多少動作
> > > # が違っているのですが,下位互換性はあるらしいのでこのままでも動くかも,
> > > # と期待しています(笑)
> > 
> > PAP認証のあたりでエラーになるのですが、原因のきりわけは
> > まだできていません。
> 
> 原因がよくわからないので、お知恵を拝借したく思います。
> PinComp@ctでAsahi-net に接続を試みたときのエラーの状況
> なのですが、内蔵モデム(/dev/ttySHCF0) を使ってもときも
> 同じようでした。
> 
> ppp-on:
> --
> exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 115200  \
>   user xxxx-xxxx@atson.net noipdefault netmask 255.255.255.0 defaultroute \
>   connect /etc/ppp/ppp-on-dialer.asahi-yokohama
> --
> 
> /etc/ppp/pap-secrets:
> --
> # Secrets for authentication using PAP
> # client        server  secret                  IP addresses
> xxxx-xxxx@atson.net  ""  xxxxxxxx
> --
> 
> /etc/ppp/ppp-on-dialer.asahi-yokohama:
> --
> #!/bin/sh
> #
> exec chat -v                                            \
>         TIMEOUT         3                               \
>         ABORT           '\nBUSY\r'                      \
>         ABORT           '\nNO ANSWER\r'                 \
>         ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>         ''              \rAT                            \
>         'OK-+++\c-OK'   ATH0                            \
>         TIMEOUT         60                              \
>         OK              ATDT045-722-4703                \
>         CONNECT         ''                              
> --
> 
> /var/log/messages の出力は以下のとおり。Connect となっ
> た次に Hangup してます。
> 
> --
> Oct 17 03:52:29 localhost pppd[354]: pppd 2.4.1 started by root, uid 0
> Oct 17 03:52:30 localhost chat[355]: timeout set to 20 seconds
> Oct 17 03:52:30 localhost chat[355]: abort on (\nBUSY\r)
> Oct 17 03:52:30 localhost chat[355]: abort on (\nNO ANSWER\r)
> Oct 17 03:52:30 localhost chat[355]: abort on (\nRINGING\r\n\r\nRINGING\r)
> Oct 17 03:52:30 localhost chat[355]: send (rAT^M)
> Oct 17 03:52:30 localhost chat[355]: expect (OK)
> Oct 17 03:52:30 localhost chat[355]: rAT^M^M
> Oct 17 03:52:30 localhost chat[355]: OK
> Oct 17 03:52:30 localhost chat[355]:  -- got it 
> Oct 17 03:52:30 localhost chat[355]: send (ATH0^M)
> Oct 17 03:52:30 localhost chat[355]: timeout set to 60 seconds
> Oct 17 03:52:30 localhost chat[355]: expect (OK)
> Oct 17 03:52:30 localhost chat[355]: ^M
> Oct 17 03:52:30 localhost chat[355]: ATH0^M^M
> Oct 17 03:52:30 localhost chat[355]: OK
> Oct 17 03:52:30 localhost chat[355]:  -- got it 
> Oct 17 03:52:30 localhost chat[355]: send (ATDT045-722-4703^M)
> Oct 17 03:52:31 localhost chat[355]: expect (CONNECT)
> Oct 17 03:52:31 localhost chat[355]: ^M
> Oct 17 03:52:39 localhost chat[355]: ATDT045-722-4703^M^M
> Oct 17 03:52:39 localhost chat[355]: CONNECT
> Oct 17 03:52:39 localhost chat[355]:  -- got it 
> Oct 17 03:52:39 localhost chat[355]: send (^M)
> Oct 17 03:52:39 localhost pppd[354]: Serial connection established.
> Oct 17 03:52:39 localhost pppd[354]: Using interface ppp0
> Oct 17 03:52:39 localhost pppd[354]: Connect: ppp0 <--> /dev/modem
> Oct 17 03:52:40 localhost pppd[354]: Hangup (SIGHUP)
> Oct 17 03:52:40 localhost pppd[354]: Modem hangup
> Oct 17 03:52:40 localhost pppd[354]: Connection terminated.
> Oct 17 03:52:41 localhost pppd[354]: Exit.
> --
> 
> 
> --
>   Jun Kuwamura
>  rC Cm
>    ^
>    ~
> 
> 
> 

Follow-Ups
[plamo:21090] Re: Plamo-3.3 のPPP 設定は?, Jun Kuwamura
References
[plamo:21046] Re: Plamo-3.3 のPPP 設定は?, Jun Kuwamura
[plamo:21076] Re: Plamo-3.3 のPPP 設定は?, Jun Kuwamura

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