- 论坛徽章:
- 0
|
如何在BSD下装载RTL8029的网卡驱动?
我也有个DM9102F的网卡,系统可以识别,但是网络不稳定,ping的时候老出现断流~~~
之后找到了FreeBSD的相关程序,安装之后,结果一下~~~
一下是安装步骤~
- - Download http://www.freebsd.org/~wpaul/Davicom/3.0/dm.tar.gz and
- unpack it in a temporary directory.
- - Make sure you have the kernel source unpacked under /usr/src.
- - Copy if_dm.c and if_dmreg.h to /sys/pci.
- - Copy dm.4 to /usr/share/man/man4.
- - Edit /sys/conf/files and add a line that says:
- pci/if_dm.c optional dm device-driver
- - Edit your kernel config file (e.g. /sys/i386/conf/GENERIC) and add
- a line that says:
- device dm0
- Note: this one line is enough to detect multiple adapters. If you
- have several DM9102 boards in your machine, you do not need to add
- additional lines to the kernel config file.
- - Make *sure* you also have a line that says:
- controller pci0
- The Davicom controller is a PCI device, thus you must compile your
- kernel with PCI support in order to use it.
- - config and compile a new kernel
- - copy the kernel to the root directory, then reboot.
- Interfaces should be detected as dm0, dm1, etc... You should edit
- /etc/rc.conf to have the interface brought up automatically when the
- system boots.
复制代码 |
|