LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2012, 12:24 AM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Rep: Reputation: 15
NIC drivers


Hi all,
does anyone know how to check/update NIC drivers for RHEL/CentOS? THanks.
 
Old 06-13-2012, 12:45 AM   #2
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Original Poster
Rep: Reputation: 15
Also, are NIC drivers, specifically bnx2 and e1000, precompiled in the kernel for RHEL 5? Is updating the kernel the only way to update these drivers? (eg yum update kernel)

Thanks again
 
Old 06-13-2012, 12:51 AM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
for the most part, yes, the only way to update the drivers is to update the kernel, though typically unless you are experiencing a problem, you don't need to update the drivers, only in specific instances are the drivers separate from the kernel source, usually in the case of wireless network cards or video cards are the drivers packaged as an add-on, which getsbuilt against the running kernel, thus has to be re-built with each kernel update, but in general the only way to update drivers is to update the whole kernel.
 
1 members found this post helpful.
Old 06-13-2012, 04:39 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I gave frieza a plus but I think there is a way to in-insert a new driver somehow too.

I need to search that to be sure.


Also try to use edit to add in. When you second your post it may look like it was answered.
 
Old 06-13-2012, 05:17 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by jefro View Post
I gave frieza a plus but I think there is a way to in-insert a new driver somehow too.

I need to search that to be sure.


Also try to use edit to add in. When you second your post it may look like it was answered.
thank you
yes the way to 'insert' a driver is to build (compile/assemble) it against the headers for the currently running kernel, insert it into the module tree and then run depmod and/or modprobe on it to load the module into memory.
can't get to far into specifics since I've never actually done such a process by hand, i've only used modules with installers such as the nvidia proprietary driver installer, or a make/make install process for a d-link wireless-n usb adaptor, but that is the basic process, lather-rinse-repeat with every kernel update.
my point was it can be done, it just isn't done often, with a few exceptions.

Last edited by frieza; 06-13-2012 at 05:58 PM.
 
Old 06-13-2012, 09:15 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
I was thinking more like modprobe instead of a kernel re-compile.
 
Old 06-14-2012, 09:11 AM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by jefro View Post
I was thinking more like modprobe instead of a kernel re-compile.
yeah, that's what i said, in so many words, you compile the driver not the whole kernel, but drivers have to be compiled against the headers of the running kernel (drivers like the proprietary nvidia driver aren't part of the kernel source tree so they get built individually, then installed into the header tree and inserted with modprobe) that doesn't require a recompile of the whole kernel, just of the kernel module in question.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC Drivers carlosinfl Debian 4 05-17-2011 10:54 AM
installing nic drivers shaik parveez Linux - Hardware 1 06-27-2007 02:54 AM
need some guidance on Lilo and help with ati drivers and my nic drivers agentc0re Slackware 11 04-06-2007 11:05 PM
Wireless NIC Drivers andshrew Linux - Hardware 0 02-01-2004 10:03 AM
Looking for Wireless NIC drivers CapTech Linux - Wireless Networking 4 05-18-2003 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration