From owner-FreeBSD-users-jp@jp.FreeBSD.org Tue Oct 29 13:59:14 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g9T4xEv74448;
	Tue, 29 Oct 2002 13:59:14 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from localhost.home.local (p03-dna12usigome.tokyo.ocn.ne.jp [61.126.186.131])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g9T4x6374441
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Tue, 29 Oct 2002 13:59:06 +0900 (JST)
	(envelope-from a.sasaki@axel.ocn.ne.jp)
Received: from localhost (localhost.home.local [127.0.0.1])
	by localhost.home.local (8.12.6/8.12.6) with ESMTP id g9T4wNdD000270;
	Tue, 29 Oct 2002 13:59:04 +0900 (JST)
	(envelope-from a.sasaki@axel.ocn.ne.jp)
Message-Id: <20021029.135823.730549786.akira@localhost.home.local>
To: FreeBSD-users-jp@jp.FreeBSD.org
From: Akira Sasaki <a.sasaki@axel.ocn.ne.jp>
X-Mailer: Mew version 2.2 on XEmacs 21.1.14 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Tue, 29 Oct 2002 13:58:23 +0900
X-Sequence: FreeBSD-users-jp 71603
Subject: [FreeBSD-users-jp 71603] ppp -auto
 =?ISO-2022-JP?B?GyRCJDkkayRIPiE8aiRLJUAlJCVkJWskOSRrGyhC?= 
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: a.sasaki@axel.ocn.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021028

$B:4!9LZ$H?=$7$^$9!#$O$8$a$^$7$F!#(B

$BAaB.$G$9$1$I65$($F2<$5$$!#(B

FreeBSD 4.7-RELEASE$B$G(Bppp -auto$B$9$k$H!"$=$ND>8e$K>!<j$K%@%$%d%k$7$F(B
$B$7$^$$$^$9!#%m%0$r8+$k$H3N$+$K%G!<%?$r30$K=P$=$&$H$7$F$$$k$N$O(B
$BH=$k$N$G$9$,!"A4$/?4$"$?$j$,$"$j$^$;$s$7!"C/$,%G!<%?$r30$K=P$=$&$H(B
$B$7$F$$$k$N$+$,H=CG$G$-$^$;$s!#(B

FreeBSD QandA $B4IM}HV9f(B781 $B$K$"$k$h$&$J%Q%1%C%H%U%#%k%?$r@_Dj$7$F(B
$B$_$?$b$N$N8z2L$O$J$/!"$^$?!"(BFAQ(/usr/share/doc/ja/book/faq/ppp.html)$B$K(B
$B$h$k$H(Bsendmail$B$,2x$7$$$H$$$&$3$H$J$N$G(B/etc/rc.conf$B$G(B
sendmail_enable="NONE"$B$H$7$F$b8z2L$,$"$j$^$;$s$G$7$?!#(B
$B$=$NB>$N2x$7$=$&$J%W%m%;%9$r;&$7$F$_$F$bBLL\$G!"A4$/$N$*<j>e$2>uBV$G$9!#(B

$B0J2<$KD9$/$J$j$^$9$,!"8=:_$N@_Dj%U%!%$%kEy$rIU$1$F$*$-$^$9!#(B
$B$h$m$7$/$*4j$$$7$^$9!#(B

--
    Akira Sasaki (a.sasaki@axel.ocn.ne.jp)


/etc/ppp/ppp.conf:
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 10:55:23 brian Exp $
#################################################################

default:
# set log Phase Chat LCP IPCP CCP tun command
 set log Phase Chat LCP IPCP CCP tun command tcp/ip
# set log
 set log local
 set server /var/run/ppp/ppp-tun%d "" 0177
# set filter dial 0 deny icmp
# set filter dial 1 deny udp src eq 53
# set filter dial 2 deny udp dst eq 53
# set filter dial 3 permit 0 0
 allow users *
 set device /dev/cuaa1
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

ocn:
 set phone xxxxxxxx:xxxxxxxx:xxxxxxxx
 set authname xxxxxxxx
 set authkey xxxxxxxx
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set timeout 180
 add default HISADDR
 enable dns

/var/log/ppp.log:
Oct 29 01:47:18 tomoko ppp[2667]: Phase: Using interface: tun0 
Oct 29 01:47:18 tomoko ppp[2667]: Phase: deflink: Created in closed state 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: default: set log local 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: default: set server /var/run/ppp/ppp-tun%d ******** 0177 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Phase: Listening at local socket /var/run/ppp/ppp-tun0. 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: default: set device /dev/cuaa1 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: default: set speed 115200 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: set phone xxxxxxxx:xxxxxxxx:xxxxxxxx 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: set authname xxxxxxxx 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: set authkey ******** 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: set timeout 180 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: add default HISADDR 
Oct 29 01:47:18 tomoko ppp[2667]: tun0: Command: ocn: enable dns 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Phase: PPP Started (auto mode). 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Phase: bundle: Establish 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Phase: deflink: closed -> opening 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: TCP/IP: OUT <0>: fe80::a172:5388:55d:ca5a ---> ff02::1:ff5d:ca5a (72) 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Phase: deflink: Connected! 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Phase: deflink: opening -> dial 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Phone: 52063800 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: deflink: Dial attempt 1 of 1 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: TCP/IP: OUT ICMP: :::135 ---> ff02::1:ff5d:ca5a (16/64) 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Send: AT^M 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Expect(5): OK 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Received: AT^M^M 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Received: OK^M 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Send: ATE1Q0^M 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Expect(5): OK 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Received: ATE1Q0^M^M 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Received: OK^M 
Oct 29 01:47:18 tomoko ppp[2668]: tun0: Chat: Send: ATDT52063800^M 
Oct 29 01:47:20 tomoko ppp[2668]: tun0: Chat: Expect(40): CONNECT 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: ATDT52063800^M^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: +MCR: V90^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: ^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: +MRR: 28800,48000^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: ^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: +ER: LAPM^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: ^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Chat: Received: CONNECT 115200^M 
Oct 29 01:47:48 tomoko ppp[2668]: tun0: Phase: deflink: dial -> carrier 
Oct 29 01:47:49 tomoko ppp[2668]: tun0: Phase: deflink: /dev/cuaa1: CD detected 
Oct 29 01:47:49 tomoko ppp[2668]: tun0: Phase: deflink: carrier -> login 
Oct 29 01:47:49 tomoko ppp[2668]: tun0: Phase: deflink: login -> lcp 
Oct 29 01:47:49 tomoko ppp[2668]: tun0: LCP: FSM: Using "deflink" as a transport 
Oct 29 01:47:49 tomoko ppp[2668]: tun0: LCP: deflink: State change Initial --> Closed 
Oct 29 01:47:49 tomoko ppp[2668]: tun0: LCP: deflink: State change Closed --> Stopped 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: LayerStart 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACFCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  PROTOCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  MRU[4] 1500 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  MAGICNUM[6] 0xfe467462 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: State change Stopped --> Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  MRU[4] 1524 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACCMAP[6] 0x000a0000 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  PROTOCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACFCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ENDDISC[9] MAC 00:c0:7b:9e:22:27 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: SendConfigAck(1) state = Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  MRU[4] 1524 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACCMAP[6] 0x000a0000 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  PROTOCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACFCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ENDDISC[9] MAC 00:c0:7b:9e:22:27 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACFCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  PROTOCOMP[2] 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  ACCMAP[6] 0x00000000 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  MRU[4] 1500 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP:  MAGICNUM[6] 0xfe467462 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: State change Ack-Sent --> Opened 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: LayerUp 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: bundle: Authenticate 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: deflink: his = PAP, mine = none 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: Pap Output: e05n33yh@ipcon.ocn.ne.jp ******** 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: Pap Input: SUCCESS () 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: Using trigger address 0.0.0.0 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: FSM: Using "deflink" as a transport 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: deflink: State change Initial --> Closed 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: deflink: LayerStart. 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: MPPE: Not usable without CHAP81 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: deflink: SendConfigReq(1) state = Closed 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP:  DEFLATE[4] win 15 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP:  PRED1[2]  
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: deflink: State change Closed --> Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: deflink: lcp -> open 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: bundle: Network 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: FSM: Using "deflink" as a transport 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: State change Initial --> Closed 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: LayerStart. 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 0.0.0.0 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  PRIDNS[6] 211.129.12.43 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  SECDNS[6] 255.255.255.255 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: State change Closed --> Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 61.118.23.102 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 61.118.23.102 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(2) state = Opened 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected! 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: CCP: deflink: State change Req-Sent --> Stopped 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  PRIDNS[6] 211.129.12.43 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  SECDNS[6] 255.255.255.255 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 0.0.0.0 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(3) state = Opened 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! 
Oct 29 01:47:50 tomoko ppp[2668]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 61.126.181.180 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] changing address: 0.0.0.0  --> 61.126.181.180 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 61.126.181.180 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP:  IPADDR[6] 61.126.181.180 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP: deflink: State change Ack-Sent --> Opened 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP: deflink: LayerUp. 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: IPCP: myaddr 61.126.181.180 hisaddr = 61.118.23.102 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: Command: ocn: !bg /usr/sbin/ntpd -q -c /etc/ntp.conf.ocn 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: Command: ocn: !bg /usr/sbin/sendmail -qf 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: TCP/IP: route_UpdateMTU: Netif: 3 (tun0), dst 0.0.0.0/0, mtu 1524 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: TCP/IP: route_UpdateMTU: Netif: 3 (tun0), dst 61.118.23.102, mtu 1524 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: TCP/IP: OUT UDP: 61.126.181.180:1185 ---> 211.129.14.134:53 (45/73) 
Oct 29 01:47:51 tomoko ppp[2668]: tun0: TCP/IP: IN UDP: 211.129.14.134:53 ---> 61.126.181.180:1185 (176/204) 
Oct 29 01:47:54 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(5) state = Opened 
Oct 29 01:47:54 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! 
Oct 29 01:47:54 tomoko ppp[2668]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
Oct 29 01:47:57 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(6) state = Opened 
Oct 29 01:47:57 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! 
Oct 29 01:47:57 tomoko ppp[2668]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
Oct 29 01:48:00 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(7) state = Opened 
Oct 29 01:48:00 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! 
Oct 29 01:48:00 tomoko ppp[2668]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
Oct 29 01:48:03 tomoko ppp[2668]: tun0: LCP: deflink: RecvProtocolRej(8) state = Opened 
Oct 29 01:48:03 tomoko ppp[2668]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! 
Oct 29 01:48:03 tomoko ppp[2668]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: Connected to local client. 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Command: /var/run/ppp/ppp-tun0: quit all 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: LayerDown: 61.126.181.180 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: Using trigger address 0.0.0.0 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: SendTerminateReq(4) state = Opened 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: State change Opened --> Closing 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: /var/run/ppp/ppp-tun0: Client connection dropped. 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: RecvTerminateAck(4) state = Closing 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: LayerFinish. 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: Connect time: 32 secs: 208 octets in, 73 octets out 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: 1 packets in, 1 packets out 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP:  total 8 bytes/sec, peak 140 bytes/sec on Tue Oct 29 01:47:51 2002 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: State change Closing --> Closed 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: bundle: Terminate 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: CCP: deflink: State change Stopped --> Closed 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: CCP: deflink: State change Closed --> Initial 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: LayerDown 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: SendTerminateReq(2) state = Opened 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: State change Opened --> Closing 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: open -> lcp 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: TCP/IP: route_UpdateMTU: Netif: 3 (tun0), dst 0.0.0.0/0, mtu 1500 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: TCP/IP: route_UpdateMTU: Netif: 3 (tun0), dst 61.118.23.102, mtu 1500 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: TCP/IP: route_UpdateMTU: Netif: 3 (tun0), dst 211.129.14.134, mtu 1500 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: IPCP: deflink: State change Closed --> Initial 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: RecvTerminateAck(2) state = Closing 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: LayerFinish 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: State change Closing --> Closed 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: LCP: deflink: State change Closed --> Initial 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: Disconnected! 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: lcp -> logout 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: logout -> hangup 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: Disconnected! 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: Connect time: 64 secs: 664 octets in, 443 octets out 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: 18 packets in, 17 packets out 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase:  total 17 bytes/sec, peak 187 bytes/sec on Tue Oct 29 01:47:54 2002 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: deflink: hangup -> closed 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: bundle: Dead 
Oct 29 01:48:22 tomoko ppp[2668]: tun0: Phase: PPP Terminated (normal). 

/etc/rc.conf:
apm_enable="YES"
pccard_enable="YES"
pccard_beep="0"
pccardd_flags="-z"
hostname="tomoko.home.local"
network_interfaces="lo0 faith0 tun0"
ifconfig_tun0=""
ppp_enable="NO"
ppp_nat="NO"
ppp_profile="ocn"
syslogd_enable="YES"
syslogd_flags="-nss"
inetd_enable="NO"
sshd_enable="NO"
amd_enable="NO"
amd_flags="-l syslog -c 20 /mnt /etc/amd.map"
keymap="jp.106"
keyrate="fast"
moused_enable="YES"
moused_type="auto"
moused_port="/dev/ums0"
moused_flags="-z 4"
sendmail_enable="NO"
#sendmail_flags="-L sm-mta -bd"
sendmail_submit_enable="YES"
#sendmail_submit_flags="-L sm-mta -bd -ODaemonPortOptions=Addr=localhost"
sendmail_outbound_enable="YES"
#sendmail_outbound_flags="-L sm-queue"
sendmail_msp_queue_enable="YES"
#sendmail_msp_queue_flags="-L sm-msp-queue -Ac"
lpd_enable="YES"
lpd_flags="-s"
usbd_enable="YES"
clear_tmp_enable="YES"

netstat -rn$B$7$?7k2L(B(ppp -auto$B$9$kA0(B):
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          2      922    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
fe80::1%lo0                       link#1                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%lo0/32                     ::1                           UC          lo0

netstat -rn$B$7$?7k2L(B(ppp -auto$B$7$?8e(B):
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            61.118.23.102      UGSc        1        0   tun0
61.118.23.102      61.126.181.180     UH          2        0   tun0
127.0.0.1          127.0.0.1          UH          2      922    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%lo0/64                     fe80::1%lo0                   Uc          lo0
fe80::1%lo0                       link#1                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%lo0/32                     ::1                           UC          lo0

ppp -auto$B$9$kA0$N(Bsockstat$B$N7k2L(B($B4X78$J$$$+$b$7$l$J$$$,(B):
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      
akira    kinput2    164    4 tcp4   127.0.0.1:1025        127.0.0.1:22273      
akira    kinput2    164    5 tcp4   *:1026                *:*                  
wnn      jserver    127    0 tcp4   127.0.0.1:22273       127.0.0.1:1025       
wnn      jserver    127    3 tcp4   *:22273               *:*                  
root     sendmail    98    4 tcp4   127.0.0.1:25          *:*                  

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS      

USER     COMMAND    PID   FD PROTO  ADDRESS                                    
root     kterm      175    3 stream XFree86[153]:15                            
akira    twm        172    3 stream XFree86[153]:14                            
root     kterm      171    3 stream XFree86[153]:8                             
akira    xbiff      170    3 stream XFree86[153]:10                            
akira    xbiff      169    3 stream XFree86[153]:12                            
akira    xclock     168    3 stream XFree86[153]:13                            
akira    xcalenda   167    3 stream XFree86[153]:9                             
akira    kinput2    164    3 stream XFree86[153]:11                            
akira    kinput2    164    6 stream /tmp/.ki2-unix/_0-ja_JP                    
root     XFree86    153    1 stream /tmp/.X11-unix/X0                          
root     XFree86    153    7 stream /tmp/.X11-unix/X0                          
root     XFree86    153    8 stream /tmp/.X11-unix/X0                          
root     XFree86    153    9 stream /tmp/.X11-unix/X0                          
root     XFree86    153   10 stream /tmp/.X11-unix/X0                          
root     XFree86    153   11 stream /tmp/.X11-unix/X0                          
root     XFree86    153   12 stream /tmp/.X11-unix/X0                          
root     XFree86    153   13 stream /tmp/.X11-unix/X0                          
root     XFree86    153   14 stream /tmp/.X11-unix/X0                          
root     XFree86    153   15 stream /tmp/.X11-unix/X0                          
akira    xinit      152    3 stream XFree86[153]:7                             
root     login      136    3 dgram  syslogd[80]:3                              
wnn      jserver    127    4 stream /tmp/jd_sockV4                             
smmsp    sendmail   101    3 dgram  syslogd[80]:3                              
root     sendmail    98    3 dgram  syslogd[80]:3                              
root     lpd         90    3 dgram  syslogd[80]:3                              
root     lpd         90    5 stream /var/run/printer                           
root     syslogd     80    3 dgram  /var/run/log                               
root     pccardd     55    6 dgram  /var/tmp/.pccardd                          

dmesg -a$B$N7k2L(B($B$5$i$K4X78$J$$$+$b(B):
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Fri Oct 25 00:50:32 JST 2002
    akira@tomoko.home.local:/usr/src/sys/compile/TOMOKO
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) Processor (1200.05-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268435456 (262144K bytes)
avail memory = 258019328 (251972K bytes)
Preloaded elf kernel "kernel" at 0xc0318000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fdf60
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 5
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0x1c40-0x1c4f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0x1c00-0x1c1f irq 9 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: ALCOR Generic USB Hub, class 9/0, rev 1.10/3.10, addr 2
uhub1: 4 ports with 4 removable, self powered
ulpt0: Canon BJ S600, rev 1.10/2.10, addr 3, iclass 7/1
ums0: Cypress Sem Cypress USB Mouse, rev 1.00/1.31, addr 4, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0x1c20-0x1c3f irq 9 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
isab1: <PCI to ISA bridge (vendor=1106 device=3057)> at device 7.4 on pci0
chip1: <VIA 82C686 AC97 Audio> port 0x1c50-0x1c53,0x1c54-0x1c57,0x1000-0x10ff irq 5 at device 7.5 on pci0
chip2: <VIA 82C686 AC97 Modem> port 0x1400-0x14ff irq 5 at device 7.6 on pci0
pcic0: <TI PCI-1420 PCI-CardBus Bridge> mem 0x88000000-0x88000fff irq 9 at device 10.0 on pci0
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <TI PCI-1420 PCI-CardBus Bridge> mem 0x88001000-0x88001fff irq 10 at device 10.1 on pci0
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card 16-bit bus (classic)> on pcic1
pci0: <unknown card> (vendor=0x104c, dev=0x8020) at 14.0 irq 9
pci0: <unknown card> (vendor=0x10ec, dev=0x8139) at 16.0 irq 10
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd3fff,0xdc000-0xdffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ata1-slave: ATAPI identify retries exceeded
pccard: card inserted, slot 0
pccard: card inserted, slot 1
ad0: 38154MB <HITACHI_DK23DA-40> [77520/16/63] at ata0-master UDMA100
acd0: CD-RW <UJDA720 DVD/CDRW> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
swapon: adding /dev/ad0s2b as swap device
Automatic boot in progress...
/dev/ad0s2a: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2a: 
clean, 43556 free 
(108 frags, 5431 blocks, 0.2% fragmentation)
/dev/ad0s2f: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2f: 
clean, 128996 free 
(20 frags, 16122 blocks, 0.0% fragmentation)
/dev/ad0s2g: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2g: 
clean, 3254760 free 
(47768 frags, 400874 blocks, 1.1% fragmentation)
/dev/ad0s4e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s4e: 
clean, 4711149 free 
(333 frags, 588852 blocks, 0.0% fragmentation)
/dev/ad0s2e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2e: 
clean, 122606 free 
(190 frags, 15302 blocks, 0.1% fragmentation)
Setup PC-CARD:
pccardc: 
ioctl (PIOCRWMEM)
: 
Invalid argument
 beep
sio1 at port 0x240-0x247 irq 9 flags 0x40000 slot 0 on pccard0
sio1: type 16550A
sio1: unable to activate interrupt in fast mode - using normal mode
aic1: <Adaptec 6260/6360 SCSI controller> at port 0x340-0x35f irq 10 slot 1 on pccard1
aic1: aic6360, dma, disconnection, parity check
Re-scan of bus 0 was successful
 pccardd
.
Doing initial network setup:
 hostname
.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
Additional routing options:
 TCP keepalive=YES
.
Routing daemons:
.
Clearing /tmp:
.
Additional daemons:
 syslogd
.
Doing additional network setup:
.
Starting final network daemons:
.
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting standard daemons:
 cron
 printer
 usbd
 sendmail-submit
 sendmail-clientmqueue
.
Initial rc.i386 initialization:
 apm
.
Configuring syscons:
 keymap
 keyrate
 blanktime
 moused
moused: 
unable to open /dev/ums0
: 
Device busy
.
Additional ABI support:
.
Local package initialization:
 Wnn

Nihongo Multi Client Server (FreeWnn 1.1.0pl18)
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/kihon.dic	 Fid = 1
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/setsuji.dic	 Fid = 2
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/koyuu.dic	 Fid = 3
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/chimei.dic	 Fid = 4
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/jinmei.dic	 Fid = 5
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/special.dic	 Fid = 6
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/computer.dic	 Fid = 7
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/symbol.dic	 Fid = 8
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/tankan.dic	 Fid = 9
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/bio.dic	 Fid = 10
Reading /usr/local/lib/wnn/ja_JP/dic/gerodic/g-jinmei.dic	 Fid = 11
Reading /usr/local/lib/wnn/ja_JP/dic/pubdic/full.fzk	 Fid = 12
Finished Reading Files
.
Additional TCP options:
.

Tue Oct 29 01:07:29 JST 2002
