Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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:
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.
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:
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.
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.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.