Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.nc.u-tokyo.ac.jp!train.ad.jp!twcu.ac.jp!nntp!tanaka
From: tanaka@twcu.ac.jp (TANAKA Satoshi)
Subject: Re: Watching network interface
In-Reply-To: midbook@hiroshima-cdas.or.jp's message of 09 Oct 1997 19:58:17 JST
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <TANAKA.97Oct10050040@honeydew-melon.twcu.ac.jp>
Lines: 24
Sender: news@twcu.ac.jp (Usenet News System)
Organization: Tokyo Woman's Christian University, Japan
References: <61d2hf$oek@ns1.hiroshima-cdas.or.jp> <61idc9$k0f@ns1.hiroshima-cdas.or.jp>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Date: Thu, 9 Oct 1997 20:00:40 GMT
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:7572
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=7572&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

> $B$^$?(B(2)$B$N%k!<%?$r;HMQ$;$:(BFreeBSD$B$GD>@\(Biij-ppp$B$r(BAuto$B%b!<%I$G<B9T$7$?>l9g(B
> $BEEOC$r$+$1$k%?%$%_%s%0$G30It%W%m%0%i%`$r<B9T$G$-$^$9$+!)(B
> ( iij-ppp$B$N(B Linux$BHG$N(B exec.patch$B$_$?$$$K(B)

FreeBSD-2.2.2:/etc/ppp/ppp.linkup.sample$B$h$j!"(B
# If we are invoked with an argument ``pmdemand'', then
# delete all existing (wrong) routing entries and add the peer IP
# as our default gateway.
# This is vital if you don't already know either sides IP number.
#
# We also want to execute a script on startup.  This script can do
# nice things such as kick off "sendmail -q", "popclient my.isp" and
# "slurp -d news".
#
pmdemand:
 delete ALL
 add 0 0 HISADDR
 ! sh -c "/etc/ppp/ppp.etherup.pmdemand &"


$B$=$N$^$s$^$G$9$M!#(B


-- tanaka@twcu.ac.jp
