>ФриБСД 7.0 не видит сетевого адаптера на системной плате ga-945gcm-s2l
>#ifconfig - ничего не показывет, кроме lo0 (всё, кроме сетевой отключено в
>биосе)
>биос сетевую видит (Realtek RTL 8111C (10/100/1000 Mbit), а фря - нет,
>подскажите, пожалуйста, как поставить драйверпробую ставить по инструкции с Реалтека :
Realtek 8139C/8139C+/8169S/8169SB/8169SC/8168B/8101E Driver for FreeBSD v4.x/5.x/6.0 =
Вот инструкция:
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
на шаге № 4 после make clean
просто make - не выполняется - ошибка:
917 subscripted value is neither array not pointer
ну и всё - сетевых интерфейсов нет вообще (у меня 2-й был тоже реалтек)
:(