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

[debian-users:11961] Re: PPP server (was Re:)



こんにちは。松田陽一@PAL-NET三鷹です。

# 長文失礼。(_o_)

From: MATSUDA Yoh-ichi/松田陽一 <matsuda@xxxxxxxxxxxx>
Subject: [debian-users:11956] Re: PPP server (was Re:)
Date: Sat, 16 Jan 1999 11:21:59 +0900
Message-ID: <19990116112115E.matsuda@xxxxxxxxxxxx>

AtermIT55 の、同期-非同期ppp変換を指定するATコマンドを追加しました。
また、mgettyのlog levelを上げてみました。

/var/log/mgetty/mg_ttyS0.log

01/16 13:59:55 yS0  mgetty: experimental test release 1.1.14-Apr02
01/16 13:59:55 yS0  check for lockfiles
01/16 13:59:55 yS0   checklock: no active process has lock, will remove
01/16 13:59:55 yS0  locking the line
01/16 13:59:55 yS0   makelock(ttyS0) called
01/16 13:59:55 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
01/16 13:59:55 yS0   lock made
01/16 13:59:55 yS0   tio_get_rs232_lines: status: RTS DTR
01/16 13:59:55 yS0  WARNING: DSR is off - modem turned off or bad cable?
01/16 13:59:55 yS0  lowering DTR to reset Modem
01/16 13:59:56 yS0   tss: set speed to 115200 (10002)
01/16 13:59:56 yS0   tio_set_flow_control( HARD )
01/16 13:59:56 yS0   waiting for line to clear (VTIME), read: 
01/16 13:59:56 yS0  send: ATZ[0d]
01/16 13:59:56 yS0  waiting for ``OK''
01/16 13:59:56 yS0   got: ATZ[0d]
01/16 13:59:56 yS0    CND: ATZ[0d][0a]OK ** found **
01/16 13:59:56 yS0  send: ATQ0V1$N1=1[0d]
01/16 13:59:56 yS0  waiting for ``OK''
01/16 13:59:56 yS0   got: [0d]
01/16 13:59:56 yS0    CND: OK[0a]ATQ0V1$N1=1[0d]
01/16 13:59:56 yS0    CND: ATQ0V1$N1=1[0d][0a]OK ** found **
01/16 13:59:56 yS0   waiting for line to clear (VTIME), read: [0d][0a]
01/16 13:59:56 yS0   removing lock file
01/16 13:59:56 yS0  waiting...
01/16 14:00:07 yS0    select returned 1
01/16 14:00:07 yS0   checking lockfiles, locking the line
01/16 14:00:07 yS0   makelock(ttyS0) called
01/16 14:00:07 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
01/16 14:00:07 yS0   lock made
01/16 14:00:07 yS0  waiting for ``RING''
01/16 14:00:07 yS0   got: [0d]
01/16 14:00:07 yS0    CND: OK[0a]RING ** found **
01/16 14:00:07 yS0  send: ATA[0d]
01/16 14:00:07 yS0  waiting for ``CONNECT''
01/16 14:00:07 yS0   got: [0d]
01/16 14:00:07 yS0    CND: RING[0a]ATA[0d]
01/16 14:00:07 yS0    CND: ATA[0d][0a]CONNECT ** found **
01/16 14:00:08 yS0  send: 
01/16 14:00:08 yS0  waiting for ``_''
01/16 14:00:08 yS0   got:  64000[0d]
01/16 14:00:08 yS0    CND: CONNECT 64000
01/16 14:00:08 yS0    CND: found: 64000[0a] ** found **
01/16 14:00:08 yS0   waiting for line to clear (VTIME), read: ~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}&} [bf]ZS}'}"}(}"}-}#}&}5[a6]~
01/16 14:00:08 yS0    looking for utmp entry... (my PID: 1770)
01/16 14:00:08 yS0   utmp + wtmp entry made
01/16 14:00:09 yS0   tio_set_flow_control( HARD )
01/16 14:00:09 yS0   print welcome banner (/etc/issue)
01/16 14:00:09 yS0   getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
01/16 14:00:11 yS0   input finished with '\r', setting ICRNL ONLCR
01/16 14:00:11 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
01/16 14:00:11 yS0    login: use login config file /etc/mgetty/login.config
01/16 14:00:11 yS0   match: user='/AutoPPP/', key=''
01/16 14:00:11 yS0   match: user='/AutoPPP/', key=''
01/16 14:00:11 yS0   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
01/16 14:00:11 yS0   login: utmp entry: a_ppp
01/16 14:00:11 yS0    looking for utmp entry... (my PID: 1770)
01/16 14:00:11 yS0   utmp + wtmp entry made
01/16 14:00:11 yS0   calling login: cmd='/usr/sbin/pppd', argv[]='pppd auth -chap +pap login'
01/16 14:00:11 ##### data dev=ttyS0, pid=1770, caller='none', conn='64000', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

01/16 14:00:11 yS0   setenv: 'CALLER_ID=none'
01/16 14:00:11 yS0   setenv: 'CONNECT=64000'

/var/log/ppp.log

Jan 16 14:00:11 hoge pppd[1770]: pppd 2.3.5 started by a_ppp, uid 0
Jan 16 14:00:11 hoge pppd[1770]: Using interface ppp0
Jan 16 14:00:11 hoge pppd[1770]: Connect: ppp0 <--> /dev/ttyS0
Jan 16 14:00:11 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:14 hoge pppd[1770]: rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp> <callback 0x600>]
Jan 16 14:00:14 hoge pppd[1770]: sent [LCP ConfRej id=0x3 <callback 0x600>]
Jan 16 14:00:14 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:17 hoge pppd[1770]: rcvd [LCP ConfReq id=0x4 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp> <callback 0x600>]
Jan 16 14:00:17 hoge pppd[1770]: sent [LCP ConfRej id=0x4 <callback 0x600>]
Jan 16 14:00:17 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:20 hoge pppd[1770]: rcvd [LCP ConfReq id=0x5 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:20 hoge pppd[1770]: sent [LCP ConfAck id=0x5 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:20 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:23 hoge pppd[1770]: rcvd [LCP ConfReq id=0x6 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:23 hoge pppd[1770]: sent [LCP ConfAck id=0x6 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:23 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:26 hoge pppd[1770]: rcvd [LCP ConfReq id=0x7 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:26 hoge pppd[1770]: sent [LCP ConfAck id=0x7 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:26 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:29 hoge pppd[1770]: rcvd [LCP ConfReq id=0x8 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:29 hoge pppd[1770]: sent [LCP ConfAck id=0x8 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:29 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:32 hoge pppd[1770]: rcvd [LCP ConfReq id=0x9 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:32 hoge pppd[1770]: sent [LCP ConfAck id=0x9 <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:32 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:35 hoge pppd[1770]: rcvd [LCP ConfReq id=0xa <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:35 hoge pppd[1770]: sent [LCP ConfAck id=0xa <asyncmap 0xa0000> <magic 0xbf5a53> <pcomp> <accomp>]
Jan 16 14:00:35 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:38 hoge pppd[1770]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x5efe> <pcomp> <accomp>]
Jan 16 14:00:41 hoge pppd[1770]: Hangup (SIGHUP)
Jan 16 14:00:41 hoge pppd[1770]: Modem hangup
Jan 16 14:00:41 hoge pppd[1770]: Connection terminated.
Jan 16 14:00:42 hoge pppd[1770]: Exit.

/etc/mgetty/mgetty.config

port ttyS0
  debug 7
  data-only y
init-chat "" ATZ OK ATQ0V1$N1=1 OK

しかし、繋がらない状況に変わりはありません。(T^T)
--
松田陽一(yoh)
mailto:matsuda@xxxxxxxxxxxx
http://www.palnet.or.jp/~matsuda/index.htm