LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-22-2007, 09:04 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Fail to detect NIC


Hi folks,

CentOS 4.4 x86_64


Occasionally on starting the PC it failed to detect the NIC "eth0" (only the onboard NIC, no additional)

After login

# ifconfig
did not show "eth0"

# /etc/rc.d/init.d/network start
Code:
Bringing up loopback interface   [ok]
Bringing up interface eth0
hanging here.

I have to poweroff the PC several times before eth0 can be detected.

It only happened recently. Pls advise where I have to check. TIA


B.R.
satimis
 
Old 03-22-2007, 09:43 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
does it work if you disable this script at boot-time and 'modprobe <driverName>; ifconfig eth0 up' yourself?
 
Old 03-22-2007, 09:59 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi nadroj,

Quote:
does it work if you disable this script at boot-time
Please advise which script? Tks.

$ cat /etc/sysconfig/network
Code:
Networking=yes
Hostname=localhost.localdomain
Quote:
and 'modprobe <driverName>; ifconfig eth0 up' yourself?
Whether run

# modprobe eth0

then run
# ifconfig
to see whether eth0 is up?

Tks


B.R.
satimis
 
Old 03-22-2007, 10:05 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
the script was the one you mentioned running in your first post, /etc/rc.d/init.d/network (or any startup network-related scripts).

Quote:
Whether run

# modprobe eth0

then run
# ifconfig
to see whether eth0 is up?
i dont really understand what your saying here? as root run: 'modprobe <driverName>' then 'ifconfig eth0 up'. does it work now?
im assuming you know what module it is, if you dont know exactly then let us know the network portion of 'lspci' to help out.
 
Old 03-22-2007, 11:00 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi nadroj,

Quote:
the script was the one you mentioned running in your first post, /etc/rc.d/init.d/network (or any startup network-related scripts).
Which file controls evoking/running the sh-script "network"? Changing "Networking=yes" to "Networking=no" on /etc/sysconfig/network rather than renaming "network"

Tks.

Quote:
'modprobe <driverName>' then 'ifconfig eth0 up'. does it work now?
The eth0 is working otherwise I can't communicate with the forum.

# ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:0E:A6:F9:A3:5B  
          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20e:a6ff:fef9:a35b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15459 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14604 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:13871002 (13.2 MiB)  TX bytes:3105433 (2.9 MiB)
          Interrupt:201 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:232 errors:0 dropped:0 overruns:0 frame:0
          TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:21258 (20.7 KiB)  TX bytes:21258 (20.7 KiB)
Quote:
let us know the network portion of 'lspci' to help out.
# lspci
Code:
00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
00:08.0 Ethernet controller: nVidia Corporation MCP55 Ethernet (rev a2)
00:0a.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
07:00.0 VGA compatible controller: nVidia Corporation GeForce 7300 GS (rev a1)

B.R.
satimis
 
  


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
network everywhere NIC large downloads fail Bagleemo Linux - Networking 4 02-26-2006 12:18 PM
Fail to install NIC on Redhat 9 noelcantona Linux - Hardware 6 12-01-2004 06:55 PM
Fail to detect ISA SCSI card satimis Fedora 0 11-21-2004 08:31 PM
disk druid fail to detect usb hard drive zlizli Linux - Laptop and Netbook 1 02-09-2004 02:14 PM
NIC fail to load/detect/config Darkman_2099 Linux - Hardware 7 12-07-2003 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 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
Open Source Consulting | Domain Registration