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

[plamo:06442] Re: pppd can't connect with diald



炭屋といいます。
古いノートパソコンをrouter代わりに使おうとpppdとdialdを使っ
て自動dial環境を構築しています。手操作でppp接続を行なうと接
続できるのですが、dialdからdialを行なうと失敗してしまいます。
以下にlog fileを添付します。何を調べれば良いのか皆目検討がつ
かないのでよろしくお願いします。

plamo 2.0
kernel 2.2.16
diald 0.99.4

logにもありますが、以下の部分のエラーが気になるのですが、
plamo 1.4.3ベースで同様にpppdとdialdを組み合わせも使用してい
る時もエラーが出ていましたが問題なく使えてます。

Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCSIFMETRIC: Operation not supported 
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCADDRT: File exists 
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCDELRT: No such process 
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCADDRT: File exists 

---/var/log/messages ---
Jun 20 18:18:24 tiger diald[923]: start tap0: SIOCSIFMETRIC: Operation not supported 
Jun 20 18:18:33 tiger diald[923]: Trigger: tcp     192.168.1.253/61024   202.201.200.199/110  
Jun 20 18:18:33 tiger diald[923]: Calling site 192.168.1.254 
Jun 20 18:18:35 tiger diald[923]: Connected to site 192.168.1.254 
Jun 20 18:18:35 tiger diald[923]: Running pppd (pid = 931).
Jun 20 18:18:35 tiger pppd[930]: pppd 2.3.11 started by root, uid 0
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCSIFMETRIC: Operation not supported 
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCADDRT: File exists 
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCDELRT: No such process 
Jun 20 18:18:35 tiger diald[923]: start tap0: SIOCADDRT: File exists 
Jun 20 18:18:36 tiger chat[936]: timeout set to 3 seconds
Jun 20 18:18:36 tiger chat[936]: abort on (\nBUSY\r)
Jun 20 18:18:36 tiger chat[936]: abort on (\nNO ANSWER\r)
Jun 20 18:18:36 tiger chat[936]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jun 20 18:18:36 tiger chat[936]: send (rAT^M)
Jun 20 18:18:36 tiger chat[936]: expect (OK)
Jun 20 18:18:36 tiger diald[923]: Delaying 30 seconds before clear to dial.
Jun 20 18:18:36 tiger chat[936]: rAT^M^M
Jun 20 18:18:36 tiger chat[936]: OK
Jun 20 18:18:36 tiger chat[936]:  -- got it 
Jun 20 18:18:36 tiger chat[936]: send (ATH0^M)
Jun 20 18:18:36 tiger chat[936]: timeout set to 40 seconds
Jun 20 18:18:36 tiger chat[936]: expect (OK)
Jun 20 18:18:36 tiger chat[936]: ^M
Jun 20 18:18:36 tiger chat[936]: ATH0^M^M
Jun 20 18:18:36 tiger chat[936]: OK
Jun 20 18:18:36 tiger chat[936]:  -- got it 
Jun 20 18:18:36 tiger chat[936]: send (ATDP22-2222^M)
Jun 20 18:18:37 tiger chat[936]: expect (CONNECT)
Jun 20 18:18:37 tiger chat[936]: ^M
Jun 20 18:19:01 tiger chat[936]: ATDP22-2222^M^M
Jun 20 18:19:01 tiger chat[936]: CONNECT
Jun 20 18:19:01 tiger chat[936]:  -- got it 
Jun 20 18:19:01 tiger chat[936]: send (^M)
Jun 20 18:19:01 tiger chat[936]: expect (ogin:)
Jun 20 18:19:01 tiger chat[936]:  45333/ARQ/V90/LAPM/V42BIS^M
Jun 20 18:19:02 tiger chat[936]: ^M
Jun 20 18:19:02 tiger chat[936]: Welcome to 3Com Total Control HiPer ARC (TM)^M
Jun 20 18:19:02 tiger chat[936]: Networks That Go The Distance (TM)^M
Jun 20 18:19:02 tiger chat[936]: ^M
Jun 20 18:19:02 tiger chat[936]: login:
Jun 20 18:19:02 tiger chat[936]:  -- got it 
Jun 20 18:19:02 tiger chat[936]: send (xxxxxx^M)
Jun 20 18:19:02 tiger chat[936]: expect (assword:)
Jun 20 18:19:02 tiger chat[936]:  xxxxxx^M
Jun 20 18:19:02 tiger chat[936]: Password:
Jun 20 18:19:02 tiger chat[936]:  -- got it 
Jun 20 18:19:02 tiger chat[936]: send (xxxxxx^M)
Jun 20 18:19:02 tiger chat[936]: send (^M)
Jun 20 18:19:02 tiger pppd[930]: Serial connection established.
Jun 20 18:19:02 tiger pppd[930]: Using interface ppp0
Jun 20 18:19:02 tiger pppd[930]: Connect: ppp0 <--> /dev/modem
Jun 20 18:19:04 tiger pppd[930]: Hangup (SIGHUP)
Jun 20 18:19:04 tiger pppd[930]: Modem hangup
Jun 20 18:19:04 tiger pppd[930]: Connection terminated.
Jun 20 18:19:04 tiger pppd[930]: Connect time 0.1 minutes.
Jun 20 18:19:04 tiger pppd[930]: Sent 280 bytes, received 280 bytes.
Jun 20 18:19:05 tiger pppd[930]: Exit.

--- /etc/diald.con ---
mode ppp
connect /usr/sbin/ppp-on
device /dev/ttyS3
speed 115200
modem
lock
crtscts
local 192.168.1.253
remote 192.168.1.254
dynamic
defaultroute
include /usr/lib/diald/standard.filter

---/usr/sbin/ppp-on---
#! /bin/sh
     PHONE=P22-222
     TIMEOUT=40
exec /usr/sbin/pppd lock modem debug crtscts /dev/modem 115200 \
     noipdefault defaultroute connect "/etc/ppp/ppp-on-dialer $TIMEOUT $PHONE"

Follow-Ups
[plamo:06463] Re: pppd can't connect with diald, Iwata Kaoru

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