Install driver for rtl8111d of mother board GA-880GM-D2H on solaris10

本文转载于 http://www.doxer.org/learn-linux/install-driver-for-rtl8111d-of-mother-board-ga-880gm-d2h-on-solaris10/#more-590

 

 

I’ve installed solaris10 on my DIY computer which has a mother board of GA-880GM-D2H. After installation, the server boot ok, but when I checked with ifconfig -a, it only showed lo0 – the loop NIC, this means that the system cannot detect the NIC of rtl8111d which is integrated into mother board of GA-880GM-D2H.

After searching a lot on google, I’ve found this url: http://homepage2.nifty.com/mrym3/taiyodo/eng/. Under “15. gani driver for Realtek rtl8169 rtl8110 rtl8168 rtl8101 PCI/PCI-Express GbE chipset” of that page, I downloaded gani-2.6.8.tar.gz which is for AMD64(you can use isainfo -n to check the platform of your cpu). Then it’s time to compile the package to solaris.

Firstly, unzip the file:

gunzip -cd gani-2.6.8.tar.gz | tar xf -

Make links to correct binary directory and Makefile according to yourconfiguration:

#cd gani-2.6.8

# 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.

Now, time to make and make install:

/usr/ccs/bin/make

Testing before installation:

#./adddrv.sh

#modload obj/gani

#devfsadm -i gani

#ifconfig gani0 plumb

#ifconfig -a #you will see an entry for gani0

/usr/ccs/bin/make install

OK, then, you need set ip address for your newly installed NIC gani0:

#vi /etc/hostname.gani0
doxer
#chmod 644 /etc/inet/netmasks
#vi /etc/inet/netmasks

192.168.0.11 255.255.255.0

#chmod 644 /etc/inet/hosts

#vi /etc/inet/hosts
192.168.0.11 doxer loghost
#chmod 644 /etc/inet/ipnodes
#vi /etc/inet/ipnodes
192.168.0.11 doxer loghost
#vi /etc/defaultrouter
192.168.0.1

#hostname doxer
After all the steps, reboot the system: init 6.

You should now see your NIC device:

#dladm show-link

If you want to set this through interactive mode, you can try to use sys-unconfig utility.

Related Posts

  1. Install vhcs2 panel under debian(shell scripts)
  2. Install nginx reverse proxy server under debian(bash shell)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值