LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-19-2015, 08:41 AM   #1
ep7network0819
Member
 
Registered: May 2015
Posts: 31

Rep: Reputation: Disabled
My HP NIC is detected in BIOS but not in CentOS 5.11


I currently have an HP Proliant DL380 G5 server. My CentOS has no GUI, just CLI. It has two working embedded NIC cards and are appropriately listed as eth0 and eth1. I installed an HP NC380T PCIe Dual Port Multifunction Gigabit Server Adapter and when I enter BIOS the NIC card is detected and both Ethernet ports are listed.
When logged into CentOS as root user, I enter setup from CLI and choose "Network Configuration I go to Edit Device and choose New Device to add Ethernet. Inside Configuration I enter eth2 and I give it a static IP with a Subnet Mask".
I then go into Firewall and choose Customize then I select eth2 as Trusted device as well as Masquerade. I type ifconfig eth2, I get message "error fetching interface information: Device not Found" Please can any one assist me in getting it working?
 
Old 05-19-2015, 10:25 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Are you sure the new NIC came in as eth2?

From command line as root run "ifconfig -a". That should show you all network devices the system thinks it has even if they're not configure yet.

The device files are in /etc/sysconfig/network-scripts as "ifcfg-<dev>". If you see any devices listed in ifconfig output that don't have a file there you may need to create one from scratch on adding a new NIC. You can look at the existing ifcfg-eth0 and ifcfg-eth1 files for ideas. One of the most important things is to find the Hardware/MAC address for the new interface and insure it is in the relevant ifcfg-<dev> (and also insure the same address is not in any others.

You can run dmidecode, lspci and "kudzu -p" on RHEL/CentOS 5.x to get other information about devices in your system.
 
  


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
x86 Solaris 10 nic driver added but not attached. NIC is not detected. vectrum Solaris / OpenSolaris 0 01-22-2012 12:05 PM
Keyboard detected by not working in BIOS VGM Linux - General 1 04-01-2010 05:07 PM
Realtek RTL8201CP NIC isn't getting detected by CentOS 5.x tdog89 Linux - Networking 5 05-11-2009 09:38 AM
boot from usb if not detected by bios Izarf Linux - General 16 08-21-2008 04:12 AM
NIC Of NIC/Graphics Card Combo Not Detected username132 Linux - Hardware 2 04-04-2006 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:46 PM.

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