LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   time to bring up network (https://www.linuxquestions.org/questions/linux-general-1/time-to-bring-up-network-28152/)

mathfeel 08-17-2002 06:46 PM

time to bring up network
 
I am running linux on a laptop...which is not always connected to a network...but when it's not...it takes forever to boot because that "bringing up /eth0" freezes for minutes...can I shorten the wait time?

Thymox 08-17-2002 08:19 PM

The only time that I found the 'bringing up eth0' bit appearing to freeze was when I had my machine setup as a DHCP server when there was already a DHCP server on the network. Try disabling dhcpd on startup.

DavidPhillips 08-18-2002 01:18 AM

leave the boot protocol on dhcp if that's what you use. Change ONBOOT=yes to no

]# pwd
/etc/sysconfig/network-scripts
[root@Micro network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=no

DavidPhillips 08-18-2002 01:20 AM

To start it when you connect to a lan use...

ifup eth0


All times are GMT -5. The time now is 06:19 PM.