LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Bringing up interface eth0: FAILED (https://www.linuxquestions.org/questions/linux-general-1/bringing-up-interface-eth0-failed-17306/)

Kinstonian 03-29-2002 03:38 PM

Bringing up interface eth0: FAILED
 
--------------------------------------------------------------------------------
I'm getting a "Bringing up interface eth0: FAILED" error when Mandrake 8.2 is loading. I uninstalled iptables/firestarter so its not my firewall blocking DHCP info. And think its a problem with DHCP but i can't fix it. Heres my logs.
MESSAGES log

Mar 28 23:49:21 mybox ifup: Determining IP information for eth0...
Mar 28 23:51:21 mybox dhcpcd[1234]: timed out waiting for a valid DHCP server response
Mar 28 23:51:21 mybox ifup: failed.
Mar 28 23:51:21 mybox network: Bringing up interface eth0: failed
.....
Mar 29 12:08:27 mybox snort: WARNING: OpenPcap() device eth0 network lookup: ^Ieth0: no IPv4 address assigned


Mar 28 23:51:21 mybox kernel: PCI: Enabling device 00:0d.0 (0000 -> 0003)
Mar 28 23:51:21 mybox kernel: PCI: Found IRQ 11 for device 00:0d.0
Mar 28 23:51:21 mybox kernel: PCI: Sharing IRQ 11 with 00:07.2
Mar 28 23:51:21 mybox kernel: PCI: Sharing IRQ 11 with 00:07.3
Mar 28 23:51:21 mybox kernel: 3c59x: Donald Becker and others. http://www.scyld.com/network/vortex.html
Mar 28 23:51:21 mybox kernel: 00:0d.0: 3Com PCI 3c905B Cyclone 100baseTx at 0x1000. Vers LK1.1.16
Mar 28 23:51:21 mybox kernel: PCI: Setting latency timer of device 00:0d.0 to 64

DHCPCD log

Mar 28 17:59:46 dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.100
Mar 28 18:01:18 dhcpcd.exe: interface eth0 has been brought down
Mar 28 18:03:41 dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.100
Mar 28 18:08:11 dhcpcd.exe: interface eth0 has been brought down
/etc/dhcpc/dhcpcd.exe: .: filename argument required
.: usage: . filename
Mar 28 22:09:58 dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.100
Mar 28 22:25:17 dhcpcd.exe: interface eth0 has been brought down
Mar 28 22:26:22 dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.100
Mar 28 22:30:01 dhcpcd.exe: interface eth0 has been brought down
Mar 28 22:31:03 dhcpcd.exe: interface eth0 has been configured with old IP=192.168.1.100
Mar 28 23:28:16 dhcpcd.exe: interface eth0 has been brought down
/etc/dhcpc/dhcpcd.exe: .: filename argument required
.: usage: . filename


That sharing IRQ could be a problem, how can i change the IRQ for my NIC? Also heres whats in my ifcfg-eth0

DEVICE="eth0"
BOOTPROTO="dhcp"
IPADDR="192.168.1.100"
NETMASK="255.255.255.0"
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT="yes"
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"

Dualboot with Win98SE/Mandrake 8.2
Lynksys 4port Fast Ethernet DSL/cable router
3com fast ethernet NIC.

Any help is appriciated.

Kinstonian 03-29-2002 03:41 PM

Re: Bringing up interface eth0: FAILED
 
Everyonce in a while it will work but seems to fuck up on its own. Its getting extremely annoying. Heres a example of what will happen.

I reboot and login as root, open up konqbrowser and go to google.com and it will work. I spend like 4 seconds on loged in. I reboot and do that again to make sure it will work again. It does. I reboot to windows and play some Q3. I reboot back to linux. Its fucked up again. :/

Mystified 03-29-2002 05:32 PM

I'm going to take a shot at answering your question and I could be way off base and if so my apologies. I'm a newbie so I'm hesitant about saying anything. But I use Roadrunner which is also cable and it doesn't a static IP address. I used to use a laptop and my desktop computer and I would have to release and renew my IP address before I could switch from one to the other because Road Runner only allows one IP address at a time per each user. I started getting an error message in Linux when I booted up saying that my ethernet connection failed. When I called the tech people I was told that because I was switching between Linux and Windoze each one was latching onto an IP address and I needed to release the IP like when I switched back and forth between two computers. I know how to do that in Windoze, it's Run "winipcfg" but I don't know how to do that in Linux. I don't use the internet anymore when I have to go into Windoze and I haven't had that problem since. I hope this helps.

shassouneh 03-29-2002 06:42 PM

try this...
 
I am no expert in here, but here are a couple of tricks you can use to help you troubleshooot

1.) Try manually bringing up the interface by trying the 2 commands below:

a.) ifconfig eth0 down
[this should make sure the interface is not up]
b.) ifconfig eth0 up
[this should try to bring the interface back up]

2.) Try restarting the network by either
a.) rcroute start
OR
b.) ./network start
[you may have to be in the directory /etc/init.d]


Good luck! :)

DavidPhillips 03-29-2002 08:23 PM

How long does it take to time out?

It may not be waiting long enough for your isp's server

Kinstonian 03-30-2002 12:55 PM

Re: try this...
 
Its taking a good 3 minutes to time out.. I've narrowed the problem down to windows. Somehow i can get linux working if i install things that have to do with networking. For instance one time i installed a wizdrake and it worked for a couple reboots, until i loaded windows then rebooted and tried to get back to linux. Everytime i somehow get it working by simply installing something network related like a firewall or something the net works perfectly for numerous reboots until i reboot to windows and then try to go back to linux. Anyone have any ideas on how windows could be messing up DHCP traffic for linux?

DavidPhillips 03-31-2002 10:57 PM

I would say it's something in your startup scripts.

try taking some of the stuff out of the ifcfg-eth0 file


ONBOOT=yes
DEVICE=eth0
BOOTPROTO=dhcp



that should be all you need


All times are GMT -5. The time now is 05:58 PM.