From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Apr 21 22:15:17 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id WAA25582
	Tue, 21 Apr 1998 22:15:17 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id WAA25577
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 21 Apr 1998 22:15:15 +0900 (JST)
Received: from hercules.bioele.nuee.nagoya-u.ac.jp
	by taurus.bioele.nuee.nagoya-u.ac.jp (8.8.8/3.6W-MailGate) with ESMTP id WAA27408
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 21 Apr 1998 22:15:15 +0900 (JST)
Received: from localhost by hercules.bioele.nuee.nagoya-u.ac.jp (8.8.8/3.6W) id WAA12962; Tue, 21 Apr 1998 22:15:14 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
In-Reply-To: Your message of "Tue, 21 Apr 1998 20:17:50 +0900 (JST)"
	<199804211117.UAA07871@wiosna.syrena.net>
References: <199804211117.UAA07871@wiosna.syrena.net>
X-Mailer: Mew version 1.93b27 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA)
X-URL: http://www.bioele.nuee.nagoya-u.ac.jp/~miyata/
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19980421221514G.miyata@bioele.nuee.nagoya-u.ac.jp>
Date: Tue, 21 Apr 1998 22:15:14 +0900
From: Yujiro MIYATA <miyata@bioele.nuee.nagoya-u.ac.jp>
X-Dispatcher: imput version 980408
Lines: 162
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 27477
Subject: [FreeBSD-users-jp 27477] Re: user ppp (iij-ppp) and Macintosh ppp client
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B5\ED!wL>8E20Bg3X$G$9!#(B

On Tue, 21 Apr 1998 20:17:50 +0900 (JST),
 Hiromichi Aikawa <jdj@po.iijnet.or.jp> said:

> $B!!$b$7:9$7;Y$($J$1$l$P!"5\ED$5$s$N%5!<%P$N(Bppp.conf$B$H!"$G$-$?$i(Bppp.log(Mac
> $B$H@\B3$7$?$H$-$N$b$N(B)$B$b;29M$K$5$;$F$$$?$@$1$^$;$s$+(B?

ppp.conf $B$O(B

default:
 deny lqr
 disable lqr
 set timeout 180
 enable msext
 set ns sss.sss.sss.sss

ttyd1:
 enable pap
 enable passwdauth
 enable proxy
 set ifaddr sss.sss.sss.sss ccc.ccc.ccc.ccc 255.255.255.0


$B$H$7$F$$$^$9!#(Bppp $B$N5/F0$O!"(B/etc/ttys $B$G(B

ttyd1   "/usr/libexec/getty ppp.115200" dialup  on insecure

$B$H$7!"(B/etc/gettytab$B$G(B
ppp.115200|PPP-115200-baud:\
        :np:sp#115200:pp=/etc/ppp/ppp-dialin:

$B$H$7$F$$$^$9!#(Bppp-dialin $B%9%/%j%W%H$O(B

#!/bin/sh
TTYDEV=`tty`
TTY=`basename $TTYDEV`

exec /usr/sbin/ppp -direct "$TTY"

$B$H$7$F$$$^$9!#FCJL$J@_Dj$O$7$F$$$J$$$N$G!"$"$^$j;29M$K$J$i$J$$$+$bCN$l(B
$B$^$;$s$,!#(BMac$B%f!<%6!<$K$?$C$?:#7R$2$F$b$i$C$?:]$N(Bppp.log $B$G$9!#(B

Apr 21 21:56:34 hercules ppp[12714]: Command: default: deny lqr 
Apr 21 21:56:34 hercules ppp[12714]: Command: default: disable lqr 
Apr 21 21:56:34 hercules ppp[12714]: Command: default: set timeout 180 
Apr 21 21:56:34 hercules ppp[12714]: Command: default: enable msext 
Apr 21 21:56:34 hercules ppp[12714]: Command: default: set ns 192.168.2.25 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Phase: Using interface: tun0 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Command: ttyd1: enable pap 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Command: ttyd1: enable passwdauth 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Command: ttyd1: enable proxy 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Command: ttyd1: set ifaddr 192.168.2.57 192.168.2.56 255.255.255.0 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Phase: PPP Started. 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Phase: Connected! 
Apr 21 21:56:34 hercules ppp[12714]: tun0: Phase: Packet mode enabled 
Apr 21 21:56:34 hercules ppp[12714]: tun0: LCP: State change Initial --> Closed 
Apr 21 21:56:34 hercules ppp[12714]: tun0: LCP: State change Closed --> Stopped 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP: LcpSendConfigReq 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP:  ACFCOMP[2] 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP:  PROTOCOMP[2] 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP:  ACCMAP[6] 0x00000000 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP:  MRU[4] 1500 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP:  MAGICNUM[6] 0x75d70269 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP: State change Stopped --> Req-Sent 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP: Received Configure Ack (1) state = Req-Sent (6) 
Apr 21 21:56:35 hercules ppp[12714]: tun0: LCP: State change Req-Sent --> Ack-Rcvd 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP: Received Configure Request (37) state = Ack-Rcvd (7) 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  ACCMAP[6] 0x00000000 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  MAGICNUM[6] 0x0d5ec0cd 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  PROTOCOMP[2] 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  ACFCOMP[2] 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP: SendConfigAck(Ack-Rcvd) 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  ACCMAP[6] 0x00000000 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  MAGICNUM[6] 0x0d5ec0cd 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  PROTOCOMP[2] 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP:  ACFCOMP[2] 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP: State change Ack-Rcvd --> Opened 
Apr 21 21:56:36 hercules ppp[12714]: tun0: LCP: LcpLayerUp 
Apr 21 21:56:36 hercules ppp[12714]: tun0: Phase: NewPhase: Authenticate 
Apr 21 21:56:36 hercules ppp[12714]: tun0: Phase:  his = none, mine = PAP 
Apr 21 21:56:37 hercules ppp[12714]: tun0: Phase: PapInput: REQUEST 
Apr 21 21:56:37 hercules ppp[12714]: tun0: LCP: Using PasswdAuth 
Apr 21 21:56:37 hercules ppp[12714]: tun0: Phase: PapOutput: ACK 
Apr 21 21:56:37 hercules ppp[12714]: tun0: Phase: NewPhase: Network 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: State change Initial --> Closed 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: IPCP Up event!! 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: IpcpSendConfigReq 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  IPADDR[6] 192.168.2.57 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compres 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: State change Closed --> Req-Sent 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP: State change Initial --> Closed 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP: CCP Up event!! 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP: CcpSendConfigReq 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP:  DEFLATE[4] win 15 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP:  PRED1[2] 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP: State change Closed --> Req-Sent 
Apr 21 21:56:37 hercules ppp[12714]: tun0: LCP: Received Protocol Reject (38) state = Opened (9) 
Apr 21 21:56:37 hercules ppp[12714]: tun0: LCP: -- Protocol (80fd) was rejected. 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP: CcpLayerFinish. 
Apr 21 21:56:37 hercules ppp[12714]: tun0: CCP: State change Req-Sent --> Stopped 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: Received Configure Request (37) state = Req-Sent (6) 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots without slot compression 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  IPADDR[6]  0.0.0.0 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: SendConfigNak(Req-Sent) 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  IPADDR[6]  192.168.2.56 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: Received Configure Request (38) state = Req-Sent (6) 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots without slot compression 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  IPADDR[6]  192.168.2.56 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: SendConfigAck(Req-Sent) 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots without slot compression 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP:  IPADDR[6]  192.168.2.56 
Apr 21 21:56:37 hercules ppp[12714]: tun0: IPCP: State change Req-Sent --> Ack-Sent 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: IpcpSendConfigReq 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  IPADDR[6] 192.168.2.57 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compres 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: Received Configure Nak (2) state = Ack-Sent (8) 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots without slot compression 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  changing compproto: 002d0f01 --> 002d0f00 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: IpcpSendConfigReq 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  IPADDR[6] 192.168.2.57 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot comp 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: Received Configure Request (39) state = Ack-Sent (8) 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots without slot compression 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  IPADDR[6]  192.168.2.56 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: SendConfigAck(Ack-Sent) 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  COMPPROTO[6]  16 VJ slots without slot compression 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  IPADDR[6]  192.168.2.56 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: Received Configure Ack (3) state = Ack-Sent (8) 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: State change Ack-Sent --> Opened 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP: IpcpLayerUp(9). 
Apr 21 21:56:40 hercules ppp[12714]: tun0: IPCP:  myaddr = 192.168.2.57  hisaddr = 192.168.2.56 
Apr 21 21:56:40 hercules ppp[12714]: tun0: Phase: Found interface de0 for proxy arp 
Apr 21 21:56:40 hercules ppp[12714]: tun0: LCP: OsLinkup: 192.168.2.56 
Apr 21 21:57:15 hercules ppp[12714]: tun0: LCP: Received Echo Request (37) state = Opened (9) 
Apr 21 21:57:15 hercules ppp[12714]: tun0: LCP: SendEchoRep(Opened) 
Apr 21 21:58:24 hercules ppp[12714]: tun0: LCP: Received Terminate Request (38) state = Opened (9) 
Apr 21 21:58:24 hercules ppp[12714]: tun0: IPCP: OsLinkdown: 192.168.2.56 
Apr 21 21:58:24 hercules ppp[12714]: tun0: IPCP: IpcpLayerDown. 
Apr 21 21:58:24 hercules ppp[12714]: tun0: IPCP: Connect time: 104 secs: 25060 octets in, 118592 octets out 
Apr 21 21:58:24 hercules ppp[12714]: tun0: IPCP:  total 1381 bytes/sec 
Apr 21 21:58:24 hercules ppp[12714]: tun0: IPCP: State change Opened --> Starting 
Apr 21 21:58:24 hercules ppp[12714]: tun0: CCP: CcpLayerStart. 
Apr 21 21:58:24 hercules ppp[12714]: tun0: CCP: State change Stopped --> Starting 
Apr 21 21:58:24 hercules ppp[12714]: tun0: LCP: LcpLayerDown 
Apr 21 21:58:24 hercules ppp[12714]: tun0: LCP: LcpSendTerminateAck. 
Apr 21 21:58:24 hercules ppp[12714]: tun0: LCP: State change Opened --> Stopping 
Apr 21 21:58:27 hercules ppp[12714]: tun0: LCP: State change Stopping --> Stopped 
Apr 21 21:58:27 hercules ppp[12714]: tun0: LCP: LcpLayerFinish 
Apr 21 21:58:28 hercules ppp[12714]: tun0: Phase: Modem: Connect time: 114 secs: 23315 octets in, 116948 octets out 
Apr 21 21:58:28 hercules ppp[12714]: tun0: Phase:  total 1230 bytes/sec 
Apr 21 21:58:28 hercules ppp[12714]: tun0: Phase: NewPhase: Dead 
Apr 21 21:58:29 hercules ppp[12714]: tun0: Phase: PPP Terminated (dead). 



--
$BL>8E20Bg3X(B $BBg3X1!(B $B9)3X8&5f2J(B $BEE;R>pJs3X@l96(B $B#D#3(B $B@8BNEE;R9)3X9V:B(B
$B5\EDM5<!O:(B (Yujiro MIYATA) / miyata@bioele.nuee.nagoya-u.ac.jp


