From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Mar 26 11:15:41 2008
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id m2Q2Ffg97455;
	Wed, 26 Mar 2008 11:15:41 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ns.gat.co.jp (ns.gat.co.jp [218.44.201.162])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id m2Q2FfX97449
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 26 Mar 2008 11:15:41 +0900 (JST)
	(envelope-from bsd@gat.co.jp)
Received: from OzNote ([192.168.0.75])
	by ns.gat.co.jp (8.12.11/8.12.11) with SMTP id m2Q2FZpp081832
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 26 Mar 2008 11:15:36 +0900 (JST)
	(envelope-from bsd@gat.co.jp)
Message-ID: <00a701c88ee7$45a8d060$0301a8c0@OzNote>
From: "bsd" <bsd@gat.co.jp>
To: <FreeBSD-users-jp@jp.FreeBSD.org>
References: <010a01c88e4a$24542ec0$0301a8c0@OzNote> <7ebf98580803250349j693686aj682974090b9e759a@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-2022-jp";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 26 Mar 2008 11:15:33 +0900
X-Sequence: FreeBSD-users-jp 91502
Subject: [FreeBSD-users-jp 91502] 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: bsd@gat.co.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B9b;^(B $BMM(B

$B>.Bt$G$9!#%"%I%P%$%9$"$j$,$H$&$4$6$$$^$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?

ppp.linkup $B%U%!%$%k$O:n@.$7$F$*$j$^$;$s!#(B

# ls -l /etc/ppp/
total 2
-rw-------  1 root  wheel  1451 Feb 22 14:58 ppp.conf

> $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

$B$"$j$,$H$&$4$6$$$^$9!#(B
$B$*1"MM$G!"%7%9%F%`5/F0;~!"@5>o$K(B PPP $B$,5/F0$7$^$7$?!#(B

# rcorder /etc/rc.d/*| egrep '(ppp|ldconfig)'
rcorder: Circular dependency on provision `mountcritremote' in file `/etc/rc.d/ldconfig'.
/etc/rc.d/sppp
/etc/rc.d/ldconfig
/etc/rc.d/ppp
/etc/rc.d/pppoed

$B$7$+$7!&!&!&(B
$B2sHr:v$O8+$D$+$C$?$b$N$N!"2?8N:#2s$N$h$&$J%(%i!<$,H/@8$7$F(B
$B$7$^$&$N$+!):,K\E*$J860x$,ITL@$J$3$H$,5$$,$+$j$G$9!#(B

$B$[$\F19=@.$N(B 6.2-RELEASE-p8 $B$G$O!"(Bldconfig $B5/F0$NA0$G$b(B
$B@5>o$K(BPPP$B$,5/F0$7$F$$$k$N$G!&!&!&(B

$B!!(B
----- Original Message ----- 
From: "Yoshio TAKAEDA" <yoshio@takaeda.org>
To: <FreeBSD-users-jp@jp.FreeBSD.org>
Sent: Tuesday, March 25, 2008 7:49 PM
Subject: [FreeBSD-users-jp 91499] Re: $B%7%9%F%`5/F0;~!"(B PPP $B$N5/F0$K<:GT(B


> $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
>>
>>
>

