电脑技术学习

SUN Solaris上RTL8139网卡的安装

dn001

  OS:Solaris FOR SPARC

  安装驱动前需要先安装下列工具:

  # wget libiconv-1.8-sol9-sparc-local.gz

  # wget libgcc-3.3-sol9-sparc-local.gz

  # wget gcc-3.3.2-sol9-sparc-local.gz

  # gzip -d *.gz

  # pkgadd -d libiconv-1.8-sol9-sparc-local

  # pkgadd -d libgcc-3.3-sol9-sparc-local

  # pkgadd -d gcc-3.3.2-sol9-sparc-local

  可选安装:

  #

  下载RTL的FOR SPACE驱动程序:

  # wget

  # gzip -d rf-1.0.1.tar.gz

  # tar -vxf rf-1.0.1.tar

  # cd rf-1.0.1

  # rm Makefile

  # ln -s Makefile.sparcv9_gcc Makefile

  # rm obj

  # ln -s sparcv9 obj

  # /usr/ccs/bin/make

  # /usr/ccs/bin/make install

  # ./adddrv.sh

  # rm /kernel/drv/rf (for solaris7, don@#t remove the file )

  # modload obj/rf

  # devfsadm -i rf (for solaris7, use drvconfig and reboot with -r )

  Reboot系统

  # init 6

  配置网卡:

  # vi /etc/hostname.rf0

  ADSL

  # vi /etc/hosts

  .....

  192.168.100.5 adsl # This is a realtek network

标签: