Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing mainboard breaks NIC in Ubuntu Server 10.04 2

Status
Not open for further replies.

NewtownGuy

Technical User
Jul 27, 2007
146
US
The mainboard (Intel D945GSEJT) in an Ubuntu Server 10.04 machine was damaged, so we replaced it. But now the NIC (built-in Realtek RTL8111DL) won't work any more.

lspci lists the NIC, and the NIC is enabled in BIOS. We tried turning off the NIC in BIOS, and lspci did not list it. So we turned it on again in BIOS, and lspci lists it again.

We tried 'ifdown eth0' followed by 'ifup eth0' but we get a sioc error message.

Is there something in Ubuntu that disables the NIC when the mainboard is changed ? Or do I just have a mainboard with a bad NIC ?

Do we need to worry about UUID's or anything like that when we replace a mainboard ?

Thank you in advance for your help.

 
I agree with Ben. Try a live CD first. If that works, then you know that the hardware functions. In which case look in /etc/udev/rules.d/70-persistent-net.rules. This file specifies which MAC address gets tied to which interface. I would think, though, that you would find the new board causes the interface to show up as eth1, with a new entry in this file.

I would also be surprised at this point if it were a lack of driver issue.
 
as Noway2 mentioned, the MAC address is probably tied to ETH0 (and ETH1 if the mainboard has two NICs) and that the new NICs are probably tied to ETH2 (and ETH3)...

had a similar issue with SuSE Linux, and the removal of both ETH0 and ETH1, then configuring the new NICs as ETH0 and ETH1 fixed the issue...


Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"
 
How do I find out the MAC address of the NIC when the NIC is not working, presumably because the software is not configured properly ? Normally, one would use ifconfig, but that requires the NIC to be working. The NIC is built into the mainboard (Intel D945GSEJT).

I tried lspci -vvv, but that does not tell me the MAC address.

 
like I said above, boot with a Linux Live CD (see above for links, my favorite is Parted Magic) and test...

once booted you can then access the network cards properties and read out the MAC address...

once you are sure that the NIC works, then reboot into Ubuntu, then under System >> Preferences >> Network Connections you can change the MAC address that is associated with ETH0... (I am using 10.10 so it may be a bit different under 10.04)...

Ben
"If it works don't fix it! If it doesn't use a sledgehammer..."
How to ask a question, when posting them to a professional forum.
Only ask questions with yes/no answers if you want "yes" or "no"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top