彻底解决8139网卡安装完驱动后不认的问题
来源:网络
0
首先要用jsn老兄的方法把你的/etc/hostname.rtls0 以及hosts、/etc/netmasks、/etc/netmasks、/etc/nsswitch.conf设置好。 然后注意看8139驱动的说明 Install method a. Power-off your PC and insert your RTL8139 adapter. b. Boot-up you Solaris/x86 and login as "root". c. Copy the "rtls099.zip" into the temporary location in your hard-driver. d. UNZIP the "rtls099.zip" and you will get 2 files, "rtls" and "Install". e. If the PCI ID for your RTL8139 adapter is not VID_10EC_DID_8139 or VID_1113_DID_1211 or VID_1186_DID_1301, you can modify the "Install" file to match your PCI ID, VID_ABCD_DID_WXYZ for example, modify the "pci1186,1301" to "pciABCD,WXYZ". f. Run the "Install" from File Manager to install the driver, and it will modify 2 files, "/etc/name_to_major" and "/etc/driver_aliases" g. You need to create the "/etc/hostname.rtls0" file and modify some other related files to make your networking environments working well. h. You can execute "touch /reconfigure" then "shutdown -i5 -g0", so that Solaris will reboot and scan changed hardware environment. i. You can execute "ifconfig -a" to make sure the RTL8139 driver is up. 其实这句英文我只有 e. If the PCI ID for your RTL8139 adapter is not VID_10EC_DID_8139 or VID_1113_DID_1211 or VID_1186_DID_1301, you can modify the "Install" file to match your PCI ID, VID_ABCD_DID_WXYZ for example, modify the "pci1186,1301" to "pciABCD,WXYZ". f. Run the "Install" from File Manager to install the driver, and it will modify 2 files, "/etc/name_to_major" and "/etc/driver_aliases" 这里一开始没看明白我以为没什么用处。但是我大错特错了;(因为这里太重要了。 从F.可以知道,安装这个驱动他们会设置/etc/name_to_major和/etc/driver_aliases两个文件。当我们安装完后,需要把/etc/driver_aliases里的 rtls "pci1186,1301" rtls "pci10ec,8139" rtls "pci1113,1211" 设置为 #rtls "pci1186,1301" rtls "pci10ec,8139" #rtls "pci1113,1211" 然后重起 如果还不好使还有Install里的 # update # /etc/driver_aliases # /etc/name_to_major 这个#去掉。肯定能好使:) good luck!