From owner-FreeBSD-users-jp@jp.FreeBSD.org Tue Mar 25 19:49:29 2008
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id m2PAnTi85685;
	Tue, 25 Mar 2008 19:49:29 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id m2PAnRX85401
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 25 Mar 2008 19:49:28 +0900 (JST)
	(envelope-from takaeda@so-ti.com)
Received: by mu-out-0910.google.com with SMTP id w8so3997852mue.1
        for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 25 Mar 2008 03:49:24 -0700 (PDT)
Received: by 10.78.166.1 with SMTP id o1mr24779531hue.74.1206442163827;
        Tue, 25 Mar 2008 03:49:23 -0700 (PDT)
Received: by 10.78.152.20 with HTTP; Tue, 25 Mar 2008 03:49:23 -0700 (PDT)
Message-ID: <7ebf98580803250349j693686aj682974090b9e759a@mail.gmail.com>
From: "Yoshio TAKAEDA" <yoshio@takaeda.org>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <010a01c88e4a$24542ec0$0301a8c0@OzNote>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <010a01c88e4a$24542ec0$0301a8c0@OzNote>
X-Google-Sender-Auth: 3ad161649e495321
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Tue, 25 Mar 2008 19:49:23 +0900
X-Sequence: FreeBSD-users-jp 91499
Subject: [FreeBSD-users-jp 91499] Re: =?ISO-2022-JP?B?GyRCJTclORsoQg==?=
 =?ISO-2022-JP?B?GyRCJUYlYDUvRjA7fiEiGyhC?= PPP
 =?ISO-2022-JP?B?GyRCJE41L0YwJEs8OkdUGyhC?=
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: takaeda@so-ti.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B9b;^$H?=$7$^$9!#(B

$B$O$:$7$F$$$k$+$bCN$l$^$;$s$,!"(B/etc/ppp/ppp.linkup$B$NCf$G(B
libintl.so.8$B$rI,MW$H$9$k%3%^%s%I(B(fetchmail$B$H$+(B)$B$r8F$s$G$$$k$N(B
$B$G$O$J$$$G$7$g$&$+(B?

$B$$$:$l$K$;$h!"(B/etc/rc.d/ppp$B$G(B
    # REQUIRE: netif isdnd
$B$H$J$C$F$$$k$H$3$m$r(B
    # REQUIRE: netif isdnd ldconfig
$B$H$9$l$PF0$/$h$&$G$9$,!#(B

2008/3/25 bsd <bsd@gat.co.jp>:
> $B>.Bt$H?=$7$^$9!#(B
>
>  FreeBSD 6.3-RELEASE $B$r;HMQ$7$F$$$^$9!#(B
>
>  $B%7%9%F%`5/F0;~!"(BPPP$B$N5/F0$K<:GT$7$F$7$^$$$^$9!#(B
>
>  Starting PPP profile: xxx $B$N%a%C%;!<%8$,I=<($5$l$?D>8e!"(B
>
>  /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "su"
>
>  $B$H$$$&%a%C%;!<%8$,I=<($5$l$F$$$k$N$G$9$,!"2r7hJ}K!$,$o$+$j$^$;$s!#(B
>  $B%"%I%P%$%9$rD:$1$k$H9,$$$G$9!#(B
>
>  libintl.so.8 $B$O!"B8:_$7$F$$$^$9!#(B
>
>  # ls -l /usr/local/lib/libintl.so*
>  lrwxr-xr-x  1 root  wheel     12 Feb 28 11:02 /usr/local/lib/libintl.so -> libintl.so.8
>  -r--r--r--  1 root  wheel  39968 Feb 28 11:02 /usr/local/lib/libintl.so.8
>
>  # ldd -a /usr/bin/su
>  /usr/bin/su:
>         libutil.so.5 => /lib/libutil.so.5 (0x2807c000)
>         libpam.so.3 => /usr/lib/libpam.so.3 (0x28088000)
>         libbsm.so.1 => /usr/lib/libbsm.so.1 (0x2808f000)
>         libc.so.6 => /lib/libc.so.6 (0x280a3000)
>
>  $B>0!"%7%9%F%`5/F08e!"%m%0%$%s$7<!$N%3%^%s%I$r<B9T$7$?>l9g$O!"(B
>  $B@5>o$K5/F0$7$^$9!#(B
>
>  # /etc/rc.d/ppp start
>
>  $B$^$?!"(B/etc/rc.d/ppp start $B$r4^$`%U%!%$%k(B(xxx)$B$r(B /etc/rc.d/
>  $B$N2<$KCV$$$?$H$3$m!"(BPPP$B$,@5>o$K5/F0$9$k$N$G!"5/F0;~$N=gHV$K(B
>  $BLdBj$,$"$j$=$&$J$3$H$,$o$+$j$^$7$?!#(B
>
>  # cat /etc/rc.d/xxx
>  #!/bin/sh
>  /etc/rc.d/ppp start
>
>  OS$BF3F~8e!"(BPPP, BIND $B$N@_Dj$r$7$?D>8e$O!"%7%9%F%`5/F0;~$K(BPPP
>  $B$b@5>o$K5/F0$7$F$$$^$7$?!#(B
>
>  $B$=$N8e!"(Bisc-dhcp, pf, apache22, PHP5 $B$J$I$rF~$l$?8e!"(B
>  $B%7%9%F%`5/F0;~$K(B PPP $B$N5/F0$K<:GT$7$F$$$k$3$H$K5$$E$-$^$7$?!#(B
>
>  FreeBSD 6.2-RELEASE p8 $B$N;~$K$O!"F1MM$N@_Dj$G2?$iLdBj$O$"$j(B
>  $B$^$;$s$G$7$?!#(B
>
>  ---------- /etc/rc.conf $BH4?h(B ----------
>
>  # grep ppp rc.conf
>  ppp_enable="YES"
>  ppp_mode="ddial"
>  ppp_nat="NO"
>  ppp_profile="ocn"
>
>  ---------- /etc/ppp/ppp.conf ----------
>
>  # cat /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.10 2004/11/19 17:12:56 obrien Exp $
>  #################################################################
>
>  default:
>   set log Phase Chat LCP IPCP CCP tun command
>   ident user-ppp VERSION (built COMPILATIONDATE)
>
>   # Ensure that "device" references the correct serial port
>   # for your modem. (cuad0 = COM1, cuad1 = COM2)
>   #
>   set device /dev/cuad1
>
>   set speed 115200
>   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>            \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
>   set timeout 180                        # 3 minute idle timer (the default)
>   enable dns                             # request DNS info (for resolv.conf)
>
>  papchap:
>   #
>   # edit the next three lines and replace the items in caps with
>   # the values which have been assigned by your ISP.
>   #
>
>   set phone PHONE_NUM
>   set authname USERNAME
>   set authkey PASSWORD
>
>   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>   add default HISADDR                    # Add a (sticky) default route
>
>  ocn:
>   set device PPPoE:fxp0
>   set dial
>   set ctsrts off
>   set speed sync
>   set timeout 0
>   disable dns
>   enable lqr
>
>   set mru 1454
>   set mtu 1454
>
>   set authname ******************
>   set authkey ********
>   add default HISADDR
>   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.240 ***.***.***.***
>
>  $B0J>e!"59$7$/$*4j$$?=$7>e$2$^$9!#(B
>
>
