LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Fail to detect NIC (https://www.linuxquestions.org/questions/linux-networking-3/fail-to-detect-nic-539802/)

satimis 03-22-2007 09:04 PM

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

nadroj 03-22-2007 09:43 PM

does it work if you disable this script at boot-time and 'modprobe <driverName>; ifconfig eth0 up' yourself?

satimis 03-22-2007 09:59 PM

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

nadroj 03-22-2007 10:05 PM

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.

satimis 03-22-2007 11:00 PM

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


All times are GMT -5. The time now is 02:42 PM.