From owner-FreeBSD-users-jp@jp.freebsd.org  Sun Apr  5 17:34:41 1998
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id RAA01353
	Sun, 5 Apr 1998 17:34:41 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id RAA01345
	for <FreeBSD-users-jp@jp.freebsd.org>; Sun, 5 Apr 1998 17:34:38 +0900 (JST)
Received: from neo.use-net.co.jp (use189.use-net.co.jp.207.141.203.IN-ADDR.ARPA [203.141.207.189] (may be forged)) by ns.use-net.co.jp (8.8.8/3.5Wpl797051808) with ESMTP id RAA03792 for <FreeBSD-users-jp@jp.freebsd.org>; Sun, 5 Apr 1998 17:34:59 +0900 (JST)
Message-Id: <199804050834.RAA03792@ns.use-net.co.jp>
From: "N.Ogiso" <ogiso@use-net.co.jp>
To: "FreeBSD" <FreeBSD-users-jp@jp.freebsd.org>
Date: Sun, 5 Apr 1998 17:32:30 +0900
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 8bit
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 26877
Subject: [FreeBSD-users-jp 26877] Problem ppp -auto
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B$3$s$K$A$O!#$*$.$=!w1v?,$G$9!#(J

iij-ppp $B$r(J ppp -auto $B$G5/F0$7$F$b(J daemon $B$H$7$F(J process $B$,(J
$B;D$C$F$/$l$^$;$s!#(Jps -ax $B$7$F$b(J ppp $B$N(J process $B$,8+$D$+$i$J$$(J
$B$H$$$&>u67$G$9!#(J
#ppp -auto isp-auto
$B$r<B9T$9$k$H(J

User Process PPP. Written by Toshiharu OHNO.
Using interface: tun0
Automatic Dialer mode
Must specify dstaddr with auto, background or ddial mode.

$B$H%a%C%;!<%8$,JV$C$F$-$^$9!#0lHV:G8e$N9T$N%a%C%;!<%8$+$i(J
$B$9$k$H(J auto $B$d(J background $B$d(J ddial $B%b!<%I$r;H$&>l9g$K$O(J
destination Address $B$rFCDj$7$J$5$$$h$H8@$C$F$$$k$h$&$J$N$G(J
$B$9$,!"(Jppp.conf $B$O0J2<$N$h$&$K$J$C$F$$$^$9!#(J

default:
	set device /dev/cuaa1
	set speed 115200
	set log Phase Chat Connect Carrier hdlc LCP IPCP CCP tun
	deny lqr
	set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 40 CONNECT"
	set timeout 120

isp:
	set authname ****
	set authkey ****
	set phone ******
	add 0 0 HISADDR
	dial

isp-auto:
	set ifaddr 0 0
	set phone ******
	set authname ****
	set authkey ****
	add 0 255.255.255.0 x.x.x.x
	set dfilter 0 permit 0/32 0/0 tcp
	set dfilter 1 deny 0/0 0/0 tcp
	set dfilter 2 deny udp src eq 520
	set dfilter 3 permit 0/0 0/0
	set afilter 0 deny udp src eq 520
	set afilter 1 permit 0/0 0/0

x.x.x.x $B$O(J
#ppp isp
$B$G$OLdBj$J$/@\B3$G$-$^$9$N$G!"$=$N;~$K(J
PPP ON hoge> show ipcp
$B$G3NG'$7$?(J his side: $B$N%"%I%l%9$r5-=R$7$F$"$j$^$9!#(J

$B2?8N(J ppp -auto $B$G5/F0$7$F$b(J daemon $B$K$J$C$F$/$l$J$$$N$G(J
$B$7$g$&$+!#(J

$B$J$*!"(Jiij-ppp $B$K$O(J NAT-patch $B$rEv$F$F$"$j$^$9!#(J
ppp.conf $BEy$N@_Dj$K$O(J
http://www.fastnet.or.jp/~norop/ppp.html
$B$r;29M$K$5$;$FD:$-$^$7$?!#(J

---------------------
ogiso@po.shiojiri.ne.jp

