LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-19-2008, 06:19 PM   #1
tractng
Member
 
Registered: Nov 2007
Posts: 75

Rep: Reputation: 15
Installing new NIC card in curent system


Guys,

My old card just died. I plan on intalling the new card (Intel) on the current system. What file do I have to configure to make this change?

It is an rpath flavor (openfiler)


TIA,
Tony

Last edited by tractng; 02-19-2008 at 07:04 PM.
 
Old 02-19-2008, 06:43 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I don't know anything about the distro you mention if that is what it is.
It depends on the setup. The module for the nic may be defined in /etc/modprobe.conf. If so change to the new correct module for the new nic and you restart networking service if you have already changed the card. Some distros may detect a hardware change and make the changes for you.

Brian
 
Old 02-19-2008, 07:06 PM   #3
tractng
Member
 
Registered: Nov 2007
Posts: 75

Original Poster
Rep: Reputation: 15
Brian1,

Thanks for your reply. What file do I have to go in and specify the IP address?

Tony
 
Old 02-19-2008, 07:10 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I don't know your distro as mentioned so can't say. If the module alias is listed in modprobe.conf I would not think change network IP would be needed.

Brian
 
Old 02-20-2008, 01:18 AM   #5
tractng
Member
 
Registered: Nov 2007
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks for your reply. I did noticed there was a ifconfig-eth1:1 in the /etc/sysconfig/network-scripts location but nothing was in the file. I copied the text from ifconfig-eth1, but nothing happened.


I would get the following error message when restarting the network service or during post: device eth1 has different MAC address than expected, ignoring.

When I restart the network service, then I am able to get the card to work. My guess is since the new card went into the same pci slot, it maintiained the same ip address configuration but the mac has changed.

Btw, ifconfig-eth0 was my on board nic that I am not using since it is 100 mbs.

Still looking into issue.

Tony
 
Old 02-22-2008, 06:13 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Again not knowing the distro but my guess if there is a /etc/sysconfig/network-scripts/ifconfig-eth1 then in that file there is a line that says MAC=. It will have a series of 2 digit values. This is the hardware address of the nic. So you can do one of two things. Change the value to the one the new card is using which you can read on the card itself or maybe on the box the card came in. Or use the ifconfig -a command to find the mac value. Or just place # in front of the line to just rem it out. The ifconfig-eth1 file my guess is what also contains the IP value plus other info on network nic card setup.

Now normally a eth1:1 represnets an Alias IP in the Redhat family of distros. You can search google on Aliasing IP to learn about it if needed.

Brian
 
  


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
Installing NIC card software cochetopa Linux - Newbie 1 01-13-2008 08:01 AM
Problems installing advantek nic as a second card dario21 Linux - Networking 0 07-09-2007 09:31 PM
Problem installing my NIC card webspiderhuman Linux - Networking 2 07-26-2006 01:02 PM
slackware-curent and kernel 2.6.6 Menestrel Slackware 4 06-15-2004 07:28 AM
what is in curent vs. 9.1 plan9 Slackware - Installation 1 06-04-2004 06:06 PM

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

All times are GMT -5. The time now is 12:03 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