How to make NIC BCM57780 work in Scientific Linux?
来源:互联网 发布:电影编辑知乎 编辑:程序博客网 时间:2024/05/16 18:11
I decided to install Scientific Linux on the computer in my lab. Partly because this distribution is called "Scientific", partly because it is compiled from Red Hat Enterprise Linux, the most prestigious Linux distribution in the world.
At first, I downloaded the Everything DVDs and burned it into my USB stick viaUNetbootin. Unfortunately, it couldn't boot.
Then I tried theLive CD. It did worked and I installed the SL in a few minutes. However, the network could not be connected and the NIC could not be activated.
I checked the NIC type by "lspci | grep net
", and I found it was Broadcom Corporation NetLink BCM57780.Many people complain this network card. Some guys tried to download the source codeof the driver from Broadcom and compiled it by themselves. I didn't want to do that, so I searched "tg3 rpm" and finally got the rpm package for SL kmod-tg3-3.122-1.el6_2.x86_64.rpm. I installed it and restarted the network even the computer, the NIC still didn't work.
Then I resorted to compiling the source code of tg3. Unfortunately, I realized that gcc was not installed -- the LiveCD didn't contain the GCC package. When I tried to manually install GCC from rpm, a series of shared library dependencies blocked me. So I have to downloaded theLiveDVD of SL, burned it again and installed the SL again. This time, the GCC was included.Before building the tg3 driver, I installed the downloaded tg3 rpm package and searched again for the driver.
Finally I found webpage How to updating driver for gigabit network card [Broadcom TG3:netXtream] on fedora core 4. and responses to eth0 no device found, NIC Broadcom tg3 drivers, kernel, DKMS. Combing the two webpages, I got to know how to make BCM57780 work in SL:
- Download and install kmod-tg3-3.122-1.el6_2.x86_64.rpm.
- Go to
/lib/modules/<kernel#>/kernel/net
and check if tg3.ko there. If not, try executing "locate tg3". - Run command "
insmod /path/to/tg3.ko
". - Run command "
service network restart
". - Update /etc/rc.local and append commands in 3 & 4 to the end. Or you must manually run commands 3&4 after reboot.
Besides, if the above still not work, you may consider appending "biosdevname=0
" to the kernel line of the grub config file/etc/grub.conf
.
[Update 08/09/2012]:
I am sorry that I didn’t really tried if the way above modifying /etc/rc.local really work after reboot. And today I did try, but the answer was no. I struggled for another hour and finally found out the tricky tip: module tg3.ko must be removed and re-installed before restarting your network, or the Broadcom NIC still wouldn’t work!
So you should append following code to your /etc/rc.local:
rmmod tg3.ko
insmod /path/to/tg3.ko
service network restart
- How to make NIC BCM57780 work in Scientific Linux?
- How to make Killer 1535 work in ubuntu
- How to make libreoffice headless to work on CentOS 6.3
- Dynamic Enterprise Architecture: How to Make It Work
- How to make ROS and Opencv work together
- iOS: How To Make AutoLayout Work On A ScrollView
- Centos 7 : NIC NetworkManager & How to change NIC name
- How system calls work in Linux
- How To: Make VirtualBox Use Your Router’s DHCP to get an IP Address in Linux
- How to make windows access web server in VM linux OS
- How to work
- HashMap how to work
- How to make linux boot from network
- How to make patch for linux
- Make your HDA-INTEL sound card work in linux!
- Scientific Speed Reading: How to Read 300% Faster in 20 Minutes
- How to screenshot in Linux
- How to Daemonize in Linux
- 我的学习有点盲目
- 国内计算机科研专家
- 组织结构的基本类型
- 日语N2级容易混淆的词汇
- html 获取URL信息
- How to make NIC BCM57780 work in Scientific Linux?
- SQL跟踪分析学习笔记
- 再看vb函数
- 读取日期函数
- 自定义截字串方法
- Visual Assist X的用法
- 如何使用W7100A实现网络字符LCD
- 企业组织结构的形式
- android开发利用传感器实现微信的摇一摇功能