LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ethernet card not working when '/etc/rc.d/init.d/network restart'. (https://www.linuxquestions.org/questions/linux-newbie-8/ethernet-card-not-working-when-etc-rc-d-init-d-network-restart-204004/)

brynjarh 07-12-2004 05:04 AM

Ethernet card not working when '/etc/rc.d/init.d/network restart'.
 
My ethernet card (National Semi|DP83820 10/100/1000 Ethernet Controller) is not working properly, it works on bootup and just works but when I do '/etc/rc.d/init.d/network restart' I get:
Code:

Shutting down loopback interface:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0...PING 10.9.12.1 (10.9.12.1) 56(84) bytes of data.
 
--- 10.9.12.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
, pipe 4
 failed.
                                                          [FAILED]

This does not happen with my other ethernet card (nVidia Corporation|nForce2 Ethernet Controller.), which is integraded with my motherbord.

Any idea why this might happen?

/etc/sysconfig/network-scripts/ifcfg-eth0
Code:

# National Semi|DP83820 10/100/1000 Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:40:F4:67:21:4B
ONBOOT=yes
TYPE=Ethernet


reetep 08-11-2004 12:17 PM

If you have two ethernet interfaces, one will be eth0, the other will be eth1. The /etc/rc.d/init.d/ script may be pinging out of the wrong interface. I suggest you post again with a description of what you want to do with each interface, and show us what you have inside the /etc script you were using.

reetep


All times are GMT -5. The time now is 12:41 AM.