|
发表于 2005-5-19 10:40:30
|
显示全部楼层
能用,我已经装好了。
步骤是这样的
下载 nfo-0.8.1.tar.gz
放到一个目录解压。(由于没有网络,只好从别的机子下载刻到光盘在拷贝进去)
里面有README.txt很详细了,这里解释一下。
测试过的平台 Solaris10 x86 3/05
(1) Copy source and binary files.
# gunzip -cd nfo-x.x.x.tar.gz | tar xf -
(2) Add hostname for the NIC into /etc/hosts file
我是这样加的192.168.0.5 sol
如果你是i386平台不需要编译,如果是amd64要编译。
(3) Make links to the correct binary directory and Makefile according
to your configuration. i386 and gcc are default.
% cd /.../nfo-x.x.x
% rm obj Makefile
% ln -s Makefile.${KARCH}_${COMPILER} Makefile
% ln -s ${KARCH} obj
where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the driver.
(4) Making binaries (only for re-compiling the drivers by your self)
To make the binaries, you need Sun C compiler or gcc version 3, and do
the following operations.
% /usr/ccs/bin/make
上面两步我没做,直接执行下面的
4. Testing
Testing before installation is strongly recommended.
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install
# ./adddrv.sh
# /usr/ccs/bin/make uninstall (for solaris7, don't remove the file )
# modload obj/nfo
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r )
# ifconfig nfoN plumb ( where N is an instance number, typcally 0 for first card)
# ifconfig -a ( you will see an entry for nfoN)
# ifconfig nfo0 sol
# ifconfig nfo0
# ifconfig nfo0 up
5. Installation
After you ensure that the nfo driver is fully functional, install it.
(1) install the nfo driver into the kernel directory
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install
If you do not test the nfo driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r)
(2) Configure the network interface. Create and/or modify the following file:
/etc/hostname.nfo0
(3) Reboot the system.
# init 6 |
|