LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2008, 12:31 AM   #1
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Rep: Reputation: 15
FC9 : Not detecting Lan Card


Hi,

I have 2 identical PCs (Intel 915 MBD with 4 GB RAM, 180 GB HDD).

I installed FC9 on 1st PCs.
Setup networking, firewall, services etc, all is working fine.

Then, I made a mirror image of this HDD onto another HDD2.
Installed HDD2 in the 2nd PC.

When I boot the 2nd PC, everything works fine, apart the eth0.
FC9 does not detect a NIC (On board).

When I run "ifup eth0" command, I get an error message "no eth0 found...".

What could be going wrong.
Identical PCs, mirrored HDDs! It should work fine.

I tried kudzu, but realized that kudzu has been replaced with HAL in FC9
No idea how to run HAL to force a h/w detection.

Please help.

Thx
Vai

PS: The NIC is working fine. I installed M$ XP and NIC is working fine.
 
Old 10-16-2008, 02:02 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Look at the kernel modules loaded for the computer that works. (lsmod)

Also look at the hardware detected by the kernel. This command will filter out the other devices:
/sbin/lspci -v | sed -n '/Ethernet/,/^$/p'

Example:
Code:
03:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
        Subsystem: Netgear Device 311a
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        I/O ports at ac00 [size=256]
        Memory at fddfe000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at fdc00000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

Since one computer has a cloned drive, make sure that you change the hostname and if you use static addressing, the IP address. If using dhcpd then check that there is a unique identifier in /var/lib/dhcpcd/.
For example:
Code:
IPADDR='169.254.242.190'
NETMASK='255.255.0.0'
NETWORK='169.254.0.0'
BROADCAST='169.254.255.255'
LEASEDFROM='0'
LEASETIME='20'
RENEWALTIME='10'
REBINDTIME='17'
INTERFACE='eth0'
CLASSID='dhcpcd 3.2.3'
CLIENTID='01:00:17:31:ab:78:a9'
DHCPCHADDR='00:17:31:ab:78:a9'
Also try running the network setup. You may need to delete the nic device in the devices setup and start over. The device may have been given a unique hardware identifier and this information may be wrong if it is based on or contains the MAC address.
 
Old 10-16-2008, 05:26 AM   #3
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Original Poster
Rep: Reputation: 15
@jschiwal
Thx for your suggestions.
I am trying them 1-by-1.


Both the Servers are on Static IP. I have changed the IP and host name of PC2.

Thx.
Vai
 
Old 10-16-2008, 05:50 AM   #4
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Original Poster
Rep: Reputation: 15
On PC-1 (working), when I hit this command: /sbin/lspci -v | sed -n '/Ethernet/,/^$/p'
I get the output as shown by you.

On PC-2 (non-working) I get no output.
The system just wants. Finally I have to press Ctrl C to come back to the system prompt.



On PC-1, when I type "setup" >> "Network Configutaion", I get the eth0 (eth0) - Realtek Simiconductor.....

On PC-2, when I type "setup" >> "Network Configutaion", I get the eth0 (eth0) - Ethernet.
No decide identity is shown

What could be wrong ??
Is there any way to force hardware detection, like kudzu ?

Waiting for some help!
Thx in advance.
Vai
 
Old 10-16-2008, 06:06 AM   #5
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Original Poster
Rep: Reputation: 15
lsmod on both PCs shows
--------------------------------
r8169 27396 0
--------------------------------

What else can I do ??

Pls help!
 
Old 10-16-2008, 08:47 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Maybe try unloading and reloading the r8169 kernel module. You said the computers are identical so identical hardware will use the same kernel modules. (Although sometimes even identical wireless devices use different controlers. E.G. A linksys model used 3 different wireless controllers in it's history). Make sure you don't have the "noacpi" boot option. That can interfere with assigning interupts on modern pc's.

Be sure to read through the boot messages. It sounds like you may have a hardware problem.
Also try restarting the hald and dbusd daemons.

Also look at "sudo /usr/sbin/hwinfo --netcard". Maybe diff the output between the two computers to point out any differences.
Running hwinfo might kick things into gear as well.
 
Old 10-16-2008, 11:33 PM   #7
vaibhavs
Member
 
Registered: Jun 2008
Posts: 113

Original Poster
Rep: Reputation: 15
I found one of the problem areas.
The MAC address of on-board lan is different.

Now the PC-2 has 2 adapters:
eth0 = Ethernet (which is blank) - Does not initialize
eth1 = Realtek Ethernet - this works fine

Any idea how I can delete both adapters and create them fresh so that RealTek (onboard) is setup as eth0.


Thx
Vai
 
Old 10-18-2008, 07:03 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
How many nic devices do you have? If just one, look in /etc/sysconfig/network/. You can delete the hardware profile that is wrong and delete ifcfg-eth0. Then rename ifcfg-eth1 to ifcfg-eth0.

Graphically, you can delete the interface in your gui network config tool.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Detecting sniffers on a LAN Ammad Linux - Security 5 10-13-2008 08:18 AM
RedHat 9 is not detecting the LAN card, but Win'98 is detecting the LAN card SKYNAT Linux - Newbie 4 12-28-2007 10:25 PM
Problem detecting Lan Card tonan Linux - Hardware 4 12-11-2006 08:10 AM
Intel Lan Card not detecting AmitC Linux - Networking 1 09-17-2005 11:11 PM
Problem detecting Wireless LAN card... smiorgian Linux - Wireless Networking 14 10-18-2004 07:07 PM


All times are GMT -5. The time now is 08:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration