[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 901- 2chのread.cgiへ]
Update time : 07/15 17:27 / Filesize : 208 KB / Number-of Response : 937
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

初心者もOK! FreeBSD質問スレッド その105



1 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/10/25(日) 15:25:00 ]
FreeBSD 関連の質問はここで。
事前にハンドブック閲覧や過去ログ検索等の自助努力をすることが望ましいけど、
分かんなければ仕方ないので、どしどし質問してね?

再現性情報(ハードウェア・ソフトウェア・エラーメッセージ)の記載は必須。
sysutils/sysinfoなんていれておくといいかもよ。

The FreeBSD Project
www.freebsd.org/ja/

FreeBSD ハンドブック
www.freebsd.org/doc/ja/books/handbook/

過去ログ
www9.atwiki.jp/freebsd/

前スレ
初心者もOK! FreeBSD質問スレッド その104
pc12.2ch.net/test/read.cgi/unix/1252852690/

132 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/11/03(火) 23:43:03 ]
=================================================================================
= Realtek 8139C/8139C+/8169S/8169SB/8169SC/8168B/8168C/8168CP/8168D/8101E/ =
= 8102E/8103E Driver for FreeBSD v4.x/5.x/6.x/7.x =
=================================================================================

This driver is modified by Realtek Semiconductor corp. and it has been tested OK
on FreeBSD 4.7, FreeBSD v5.1, FreeBSD v5.4, FreeBSD v6.0, and FreeBSD v7.2. 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.

133 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/11/03(火) 23:44:52 ]
Method 2:
Because the FreeBSD kernel has default drivers to support RTL8139C and RTL8169S. To use the RTL8139C+, 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

134 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/11/03(火) 23:45:35 ]
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/7.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

135 名前:名無しさん@お腹いっぱい。 mailto:sage [2009/11/03(火) 23:45:49 ]
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






[ 続きを読む ] / [ 携帯版 ]

前100 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<208KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef