Install the Broadcom NIC Driver on centos

Source: Internet
Author: User

Install the Broadcom NIC Driver on centos

Leaders Demanded that a LINUX server be built for recent graduates. I want to install ORACLE CVS SVN FTP JDK WEBSphere. Which version is better? CentOS that used to play for a while. Use it. The installation process is normal. Wait until the prompt is restarted and the installation is complete.

Boot, enter the system, set the network, and use ifconfig to view only LO. None. Maybe the NIC driver is not installed. View the network card hardware version Broadcom57785.go. Find the driver.
Driver download URL: http://www.broadcom.com/support/ethernet_nic/netlink_k57.php
Then copy to the USB flash drive. Decompress the USB flash drive mounting file to Centos.

 
  1. Mount/dev/sdb1/mnt
  2. Cd/mnt
  3. Unziplinux-3.110g.zip

After decompression, go to the corresponding directory and view the README file. The description file provides two installation methods: the first RPM package and the second source code installation. I have successfully installed the first method, and I have not tested the second method (I will paste the installation method to the end .)

 
  1. Rpm-ivhtg3-3.116j-1.src.rpm # enter the installation directory after completion
  2. Cd/usr/scr/redhat # There are a total of five subdirectories under the Directory: BUILDRPMSSOURCESSPECSSRPMS
  3. Rpm-bbSPECS/tg3.spec
  4. Or
  5. Rpmbuild-bbSPECS/tg3.spec # use some commands
  6. Then go to the i386 directory under RPMS. You will find a new RPM file generated by the ls directory.
  7. Rpm-ivh tg3-3.116j-1.i386.rpm
  8. Check the two file directories to see if there are tg3.o or tg3.ko files.
  9. /Lib/modules/<kernel_version>/kernel/drivers/net/tg3.o # <kernel_version> is your kernel directory.
  10. /Lib/modules/<kernel_version>/kernel/drivers/net/tg3.o # <kernel_version> is your kernel directory.
  11. Load Module
  12. Modprobe tg3
  13. Service network restart # network adapter added.

Method 2

1. Create a directory and extract the files:   tar xvzf tg3-<version>.tar.gz2. Build the driver tg3.o (or tg3.ko) as a loadable module for therunning kernel:   cd src   makeThe driver will be compiled for the running kernel by default. To buildthe driver for a kernel different than the running one, specify thekernel by defining it in KVER:  make KVER=<kernel version>where <kernel version> in the form of 2.x.y-z is the version of anotherkernel that is installed on the system.3. Test the driver by loading it:    insmod tg3.oor   insmod tg3.ko (on 2.6.x kernels)or   insmod tg34. Install the driver:   make install
This ends.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.