Operating System - Linux
1820635 Members
1825 Online
109626 Solutions
New Discussion юеВ

problems configuring eth0

 
Pradeep_7
Occasional Advisor

problems configuring eth0

Hi,

I have installed linux redhat 7.2 on an optima machine. On installation linux did not recognise the network card. I tried assigning the tulip/catc/8139too.o (tried with all of them seperately) drivers. I have made an entry in the modules.conf. But, still no use. When I am trying to start the network, eth0 fails with an error message
"Determining IP informatiion for eth0... failed."

Any help would be a lot appreciated.

Thanks.
4 REPLIES 4
Steven Mertens
Trusted Contributor

Re: problems configuring eth0

hi,

It looks like eth0 is waiting to get an
ip from a dhcpserver.
I think theres no problem with the driver.
To do a test you can do the following :

vi /etc/sysconfig/networking/ifcfg-eth0

and put the following in the file

DEVICE=eth0
IPADDR=10.0.0.1
NETMASK=255.255.255.0
ONBOOT=yes

Than boot the system or do
service network restart
and check with ifconfig eth0 if the
interface as ip 10.0.0.1

Regards

Steven
Craig Kelley
Valued Contributor

Re: problems configuring eth0

Alternatively, you can check out /var/log/messages and you should see a note about your network card (eth0) when the module is loaded up. If you see that your driver is loading just fine, then you'll want to move on to figure out what the DHCP problem is (bad cable? bad port? no dhcp server running?). You can also use the 'netconfig' program as the root user to manually setup IP address information.
Steven Mertens
Trusted Contributor

Re: problems configuring eth0

Craig is right , you better check first
if your networkdriver is loaded properly.
You can do this also with

dmesg

or look the module mentioned in /etc/modules.conf is loaded -> lsmod

If your driver is loaded properly i guess he's waiting for reply from a dhcpserver.


regards

Steven
George Wolanin
New Member

Re: problems configuring eth0

When I first installed RedHat about 2 years ago I was having the same problem. Took about 3 months to figure it out.

Here is what I did:

Went into the BIOS and checked to see if Plug & Play was turned on, it was so I turned it off. Check your BIOS to see if there is anything that might auto select the Operating System [ i.e. Windows, etc ] Change it to DOS or none if possible.

You then should be able to initialize your network card.

When you are trying to to the insmod command on your network card have another console window open and do a tail -f /var/log/messages to see the messages of the attempts on the network card.

Also be sure that you have done the /usr/sbin/netconfig command to configure your network for DHCP use.

I hope this works for you

George
none