Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have 2 10gb fiber cards on a server running red hat 5.3, eth4 and eth5. After replacing the eth4 card, it doesnt show up any ifcfg-eth4 file. I tried ifconfig -a, but it doesnt show up in modprobe.conf either, although it is listed when I do a lspci. Should I manually add it? or is there something Im missing here? Thanks
Is the new card different? Start by checking the manufactures ID using "lspci -n". It might be a newer device that your present kernel version doesn't detect. I had that happen after I bought my netbook. I knew it used an Atheros wireless device, but the manid didn't match what the ath9k module looked for.
in my experience, replacing a card makes it take the next eth number available. so replacing eth4 would create an eth6, and if you replaced eth5, it would come up as eth7. but that is just my experience...
But it should show up in modprobe.conf? Here is my output. I haven't touched the config so eth4 still shows up as the master (I have the 2 nics bonded)
alias eth0 e1000e
alias eth1 e1000e
alias eth2 e1000e
alias eth3 e1000e
alias eth6 bnx2
alias eth7 bnx2
alias eth8 bnx2
alias eth9 bnx2
alias scsi_hostadapter megaraid_sas
alias scsi_hostadapter1 ata_piix
alias bond0 bonding
options bond0 miimon=100 updelay=200 primary=eth4 mode=1
alias eth5 ixgbe
I solved this by checking the output of lspci to grab the bus id and then checking dmesg for the listed bus, which contained the mac address for the card. I then manually put it as eth4 on modprobe.conf and created an ifcfg-eth4 file in /etc/sysconfig/network-scripts/. It is working with no issues.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.