|
三天,参考了网上许多资料,终于找到了正确的驱动,搞定了双网卡
两个驱动的地址http://homepage2.nifty.com/mrym3/taiyodo/eng/ (好像是个日本网站,不用下载语言支持)
下载驱动 rf-1.0.1.tar.gz(RealTek)
该驱动支持D-LINK DFE-530TX+
"It will likely work with D-Link DFE-530TX+, DFE-538TX and
other RTL8139 based low cost NIC cards")
rh-1.0.8.tar.gz(D-LINK)
安装(以rh为例,实际上摘自它的README.txt文件;rf基本相同,参见它的README.txt文件)
Testing
# cd /.../rh-x.x.x
# /usr/ccs/bin/make install
# ./adddrv.sh (这一步会显示驱动已安装,not approched或/touched,记不请了)
# rm /kernel/drv/rh (for Solaris7, do not remove rh )
# modload obj/rh
# devfsadm -i rh ( for solaris7, use drvconfig and reboot with -r option )
# ifconfig rhN plumb ( where N is unit number, typcally 0 for first card)
# ifconfig -a ( you will see an entry for rh0, ensure ethernet address is correct)
# ifconfig rhN HOSTNAME
# ifconfig rhN ( ensure IP address is correct)
# ifconfig rhN up ( and then you can test with ping, telnet, ftp ...)
Installation
After you ensure that the rh driver is fully functional, install it.
(1) install the rh driver into kernel directory
# cd /.../rh-x.x.x
# /usr/ccs/bin/make install
If you did not test rh driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i rh ( for Solaris7 use drvconfig and reboot with -r option )
(2) Configure the network interface. Create and/or modify the following files:
/etc/hostname.rhN
(3) Reboot the system.
# init 6
其它ip配置,不再详述 |
|