From owner-FreeBSD-users-jp@jp.FreeBSD.org Fri Dec 21 12:04:09 2007
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id lBL349h11540;
	Fri, 21 Dec 2007 12:04:09 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id lBL348611535
	for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 21 Dec 2007 12:04:08 +0900 (JST)
	(envelope-from zanehuang@gmail.com)
Received: by wa-out-1112.google.com with SMTP id m38so217756waf.5
        for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 20 Dec 2007 19:04:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        bh=94ZR3wO1l7D5ljwG6tNyA+KJ/IWtTs2a7FInq/98h3g=;
        b=wRcp+SK/5p1gL4ki5D34CAU8lPSyCwWKyi2sKAE1xoZwoaeVU1n0MoyCWKJaXCvosOUbA6D2qCyMBo0hAhDi2nUdx04016FVu7bZH5g5566l7GApstbsRFUY86OZspmQbXRiKTiGafL04jOTw0L/bEQqWLLApOzwzUqbb1BTNf8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=HKtsssmvY//r+iuOIsfYAP7uDp7X9CgXG7D1JvfgO0EyuG2F7RBcKQZehVDdH9MT/cDqZ9idNTDr+LxXIQUR8QN8u6lVvxZX0JNZf+dQGuGCU40aeCLtj2b5/lVTjzcqpQsZzFIxsEC4ctMnVfxKudRfWdn7F4/Qst4+yWXS42Y=
Received: by 10.114.157.1 with SMTP id f1mr832287wae.13.1198206243881;
        Thu, 20 Dec 2007 19:04:03 -0800 (PST)
Received: by 10.115.111.12 with HTTP; Thu, 20 Dec 2007 19:04:03 -0800 (PST)
Message-ID: <30b8a0800712201904r232d637au6f0d3c913baff3da@mail.gmail.com>
From: "=?ISO-2022-JP?B?GyRCMisbKEIgGyRCMWpacBsoQg==?=" <zanehuang@gmail.com>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <32181378.126851198049343970.takoyaki@mbm.nifty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <32181378.126851198049343970.takoyaki@mbm.nifty.com>
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 21 Dec 2007 12:04:03 +0900
X-Sequence: FreeBSD-users-jp 91296
Subject: [FreeBSD-users-jp 91296] Re: 6.2 =?ISO-2022-JP?B?GyRCJEcbKEI=?=
 telnet =?ISO-2022-JP?B?GyRCJHI8dSQxJGskSBsoQg==?= TCP
 =?ISO-2022-JP?B?GyRCJVElMSVDJUgkLE1uJEEkaxsoQg==?= 
 =?ISO-2022-JP?B?GyRCJGgkJiRHOiQkQyRGJCQkXiQ5GyhC?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: zanehuang@gmail.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B$3$s$K$A$O!#(B
$B$O$8$a$^$7$F!"2+$H?=$7$^$9!#(B

$B$3$NLdBj$G$9$,!"@hF|$A$g$&$I;d$b$^$C$?$/F1$8$h$&$J8=>]$H$"$C$?$3$H$"$j$^$9!#(B
$B860x$O(BFreeBSD$B$K$"$k$3$N#N#I#C$N%I%i%$%P$,8E$$$_$?$$$G$9!#(B
$BBP:v$H$7$F$O!"%+!<%M%k$N:F9=C[$,I,MW$+$b$7$l$^$;$s!#(B
$B%I%i%$%P$O0J2<$N%5%$%H$+$i%@%&%s%m!<%I$9$k$3$H$,=PMh$^$9!#(B
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=2&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#2

$B0J2<$OCf$K$"$k(BReadme$B$NFbMF$G$9!#(B


=================================================================================
=  Realtek 8139C/8139C+/8169S/8169SB/8169SC/8168B/8101E Driver for
FreeBSD v4.x/5.x/6.0
    =
=================================================================================

This driver is modified by Realtek Semiconductor corp. and it has been tested OK
on FreeBSD 4.7, FreeBSD v5.1, FreeBSD v5.4, and FreeBSD v6.0. To
update the driver, you may use method 1
. If method 1 failed,
you must use method 2 which is more complex.

Method 1:
        1.Copy if_rl.ko in "modules" directory to "/modules" directory
and overwrite
          the existing file.
        2.Modify the file "/boot/defaults/loader.conf" and set
"if_rl_load" in "Network
          drivers" section to "Yes"
        3.Reboot.

Method 2:
        Because the FreeBSD kernel has default drivers to support
RTL8139C and RTL8169S. To use the RTL8
139C+, RTL8169SB, RTL8169SC, RTL8168B, and RTL8101E, you need to
update your NIC driver by recompiling your FreeBSD kernel.

        The main steps you have to do:(FreeBSDSrcDir means the
directory of FreeBSD source code and it may be "/usr/src/sys")

                1. keep the orginal driver source code:
                        # cd /usr/src/sys/pci
                        # cp if_rl.c if_rl.c.org
                        # cp if_rlreg.h if_rlreg.h.org

                        # cd /usr/src/sys/modules
                        # cp Makefile Makefile.org

                        # cd /usr/src/sys/modules/rl
                        # cp Makefile Makefile.org

                        # cd /usr/src/sys/i386/conf/
                        # cp GENERIC GENERIC.org

                2. recompile your kernel        (you must install your
FreeBSD source code first !!)
                        # vim /usr/src/sys/i386/conf/GENERIC and
delete rl and re
                        # vim /usr/src/sys/modules/Makefile and delete rl and re
                        # cd /usr/src/sys/i386/conf
                        # /usr/sbin/config GENERIC

                        (for FreeBSD 5.x/6.x)
                        # cd ../compile/GENERIC
                        (for FreeBSD 4.x)
                        # cd ../../compile/GENERIC

                        # make depend
                        # make
                        # make install
                        # reboot

                3. update the driver source code:
                    Copy the dirver source code( if_rl.c and
if_rlreg.h) into /usr/src/sys/pci
                    Copy the Makefile into /usr/src/sys/modules/rl

                4. build the driver:
                        # cd /usr/src/sys/modules/rl
                        # make clean
                        # make

                5. install the driver
                        # cd /usr/src/sys/modules/rl
                        # kldload ./if_rl.ko

                6. configurate the static IP address
                        # ifconfig rl0 xxx.xxx.xxx.xxx

                7. configurate the IP address by DHCP
                        # /sbin/dhclient rl0

The user can use the following command to change link speed and duplexmode.
        1. For autonegotiation,
                #ifconfig rl<device_num> media autoselect

        2. For 1000Mbps full-duplex,
                #ifconfig rl<device_num> media 1000baseTX mediaopt full-duplex

        3. For 100Mbps full-duplex,
                #ifconfig rl<device_num> media 100baseTX mediaopt full-duplex

        4. For 100Mbps half-duplex,
                #ifconfig rl<device_num> media 100baseTX mediaopt half-duplex

        5. For 10Mbps full-duplex,
                #ifconfig rl<device_num> media 10baseT/UTP mediaopt full-duplex

        6. For 10Mbps half-duplex,
                #ifconfig rl<device_num> media 10baseT/UTP mediaopt half-duplex


$B0J>e$G$9!#(B
$B$4;29M$K$J$l$P9,$$$G$9!#(B


07/12/19 $B$K(B takoyaki@mbm.nifty.com<takoyaki@mbm.nifty.com> $B$5$s$O=q$-$^$7$?(B:
> $B$O$8$a$^$7$F!#2,:j$H$$$$$^$9!#(B
> 10$BG/$[$I(BFreeBSD$B$r;H$C$F$$$^$7$F!"(B
> 1$B%v7n$[$IA0$+$i>e5-$N8=>]$,2r7h$G$-$:G:$s$G$$$^$9!#(B
>
> AOpen Cube 965Z$B$K!"(BCore2Quad Q6600 $B$r:\$;!"(B
> $B%A%C%W%;%C%H$O(BG965+ICH8$B!"%*%s%\!<%I(BLAN$B$O(BRTL8111B$B$@$C$?$H;W$$$^$9!#(B
> $B$3$N9=@.$K(BFreeBSD6.2release$B$r(BCDROM$B7PM3$GF~$l$F!"%M%C%H%o!<%/$N@_Dj$r$7$^$9!#(B
> $B$3$l$G(Bping$B$ODL$j$^$9!#$3$3$^$G$O%U%D%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