Click to See Complete Forum and Search --> : Bringing up eth0 card takes a long time.


lucasp
03-11-2003, 08:00 AM
When I boot, brining up my ehternet card takes a very long time. I know I read something about it. But I don't know where....

Any Ideas?

(Compaq Presario 901EA
Realtek 8139too eth card)

mrBen
03-11-2003, 09:02 AM
If it is doing the 'Bringing up eth0......' thing, then it is trying to get an IP address from a DHCP server. If you aren't using DHCP, then you should disable dhcpcd from your bootup.

lucasp
03-11-2003, 11:38 AM
I'm sorry, newbie..... :-)

How do I do that?

Thanx for you reply though!

homey
03-11-2003, 12:03 PM
You can edit these files with your info....

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

DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.2

and the file /etc/sysconfig/network.
NETWORKING=yes
HOSTNAME=name.host.net
FORWARD_IPV4=yes
GATEWAYDEV=
GATEWAY=192.168.1.1

root.veg
03-11-2003, 12:11 PM
/etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network are only for Red Hat or similar distributions. For instance, Debian uses /etc/network/interfaces. What distro are you using? If its Red Hat then I reckon homey's done the job for you.

lucasp
03-11-2003, 12:32 PM
Mandrake Linux 9.0

But I do recognize something about that...

Cookie-Monsta
03-12-2003, 05:12 AM
Hey, just a question on this line:

HOSTNAME=name.host.net

where can I actually find information on that ? Does it detect it automatically ? and if I don't have anything in here, is it possible that that is the reason as to why my eth0 is up but not connecting to the internet ?

Icarus
03-12-2003, 10:39 AM
I have seen invalid hostnames really slow down the network stuff. Check the hostname in /etc/sysconfig/network (or /etc/HOSTNAME on some) and make sure it is identical to that in /etc/hosts. You'll need a line in /etc/hosts like this

127.0.0.1 localhost.localdomain localhost hostname

where hostname is the name you gave the machine in the HOSTNAME part.
I've seen that clear up many long delays in getting networks up.