LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   determining ip information for eth0...failed (https://www.linuxquestions.org/questions/linux-newbie-8/determining-ip-information-for-eth0-failed-150888/)

flamah 02-26-2004 04:08 PM

determining ip information for eth0...failed
 
before i get into the error let me tell you a bit on the background so you can all get a clear picture.

Ok the 1st time I installed Redhat 9 I was getting an error saying....

Dertermining IP information for eth0....failed - no link present check cable?

I added this to the /etc/sysconfig/network-scripts/ifcfg-eth0 script:

check_link_down() {
return 1;
}

And it worked - i got an ok when it was bringing up eth0.

However.......

I just reinstalled rh9 in exactlly the same way on exactlly the same computer with exactlly the same hardware.

and when i modified the ifcfg-eth0 script again i got......

dertermining IP information for eth0 failed
iptables...no chain/target/match by that name
iptables...bad rule (does a matching rule exist in that chain?)

so i turned the iptables firewall off and now i get.....

Dertermining IP information for eth0...Failed!


I just don't know what else to do - please someone help me - why has this message only just starting to come up now when nothing has changed on the computer?!

also it works fine when I connect to it via win98 (I had it on a spare hdd) in the same computer.

Im at the end of my thether now!

thanx in advance....

flamah 02-26-2004 04:20 PM

also if you need any more info from me such as what the output of a command is or the contents of a file let me know and i will tell you - i am going to be online for a good few hours yet so i can reply almost straight away!

stupid_guy 02-26-2004 04:57 PM

you know, when I used RH9, I had the same problem. So for a long time, I just used windows. But one day when I booted to linux the problem just disappears.

I donno, this is a strange problem. Could it be your ISP?

flamah 02-26-2004 05:03 PM

its not my isp as the hard drive with windows on it works fine with the internet connection - thats what im using now - but i want to go back to my linux os :(

XavierP 02-26-2004 05:04 PM

Information would be really usefule at this point.

What network card are you using?

flamah 02-26-2004 05:07 PM

I am using a "3Com Fast EtherLink XL 10/100Mb TX Ethernet NIC (3C905B-TX)

XavierP 02-26-2004 05:20 PM

http://support.3com.com/infodeli/too...uxdownload.htm

This is a link to the 3com page. It has drivers and instructions. Have a look there and see if this will solve your problem.

flamah 02-26-2004 05:24 PM

ok i know this is gonna sound really stupid but this is a newbies forum after all i have these questions......

1) How to I get to the floppy drive to get the file once in linux?

2) How to I proceed to install drivers or is it specific to the file?

XavierP 02-26-2004 05:28 PM

1. normally, mount /mnt/fd0 - I think
2. check the readme's against the drivers - it should have instructions. Also read http://www.linuxquestions.org/questi...threadid=45094

Another option, instead of the floppy, is to mount your win drive under linux. If your install picked it up, you should have a "windows" folder, poss. under /mnt/

Mathieu 02-26-2004 07:03 PM

Can you post your /etc/sysconfig/network-scripts/ifcfg-eth0 file ?

To mount your floppy, type: mount /mnt/floppy
To see if Linux loaded the driver for your network card, you can using the following command:
Code:

dmesg | grep eth0

flamah 02-26-2004 11:43 PM

I installed the new driver but to no avil - still exaclly the same problem

babanetcom 02-27-2004 02:23 AM

First of all: hello everyone, my first post here :newbie:
Then: you've to know that a newbie is a guru to me :study:

However: did you try to manually start your NIC?

ifconfig eth0 up

Guigo 02-27-2004 05:51 AM

Hi flamah,

It seems that my problem is similar to yours...

Here is what is happening:
* After installing Fedora Core 1 I am having the same error message as you when my computer is booting: "Dertermining IP information for eth0....failed - no link present check cable? SIOCSIFFLAGS: Device or resourse busy". I don't know, but it seems that the system couldn't bring the ethernet up. This problem occurs each time I turn on my PC (or when I am rebooting it).

* When I saw the problem above I tryied to Active the Ethernet (logged as root) from the X-Window, but it also failed. At this time the error message that I receive is:
"Activating network device eth0, please wait...
Determining IP information for eth0...
SIOCSIFFLAGS: Device or resourse busy
SIOCSIFFLAGS: Device or resourse busy
failed"


I tryied to solve the problem with the following commands in the shell, but it didn't work:

ifconfig eth0 down

ifconfig eth0 up

dhclient eth0


What can I do to solve this problem?? I hope you can help me... Please, give me very detailed instructions (if you can...).

Thank you very much!!!

/bin/bash 02-27-2004 09:49 AM

You have way too many of these threads about the same problem.

Post the contents of /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth0

Also the results of
cat /etc/modules.conf

lsmod

and

service network restart

And finally the results of:
ping -c1 localhost

Guigo 02-27-2004 12:38 PM

Here is the results of the files you asked for:

/etc/sysconfig/network
NETWORKIN=yes
HOSTNAME=localhost.localdomain

/etc/sysconfig/network-scripts/ifcfg-eth0
#Realtek | RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=dhcp
HWADD=00:60:67:06:24:55
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=localhost.localdomain
USERCTL=yes
PEERDNS=no

/etc/modules.conf
alias eth0 8139too
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias souund-slot-emu10k1

ping -c1 localhost everything is fine... OK!!!

ifconfig eth0 up
SIOCSIFFLAGS: Device or resource busy


What can I do to solve this problem??
Please help me...


All times are GMT -5. The time now is 08:11 AM.