LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   etho bootup dhcp wait time change (https://www.linuxquestions.org/questions/linux-networking-3/etho-bootup-dhcp-wait-time-change-23289/)

skeletal29 06-12-2002 07:10 PM

etho bootup dhcp wait time change
 
How do i change the time for my network card looking for a network connection.When im not in lan and i try to boot it waits for ever.I cant seem to find the config on my own.

I need to change this to like 15 sec.

finegan 06-12-2002 08:08 PM

Oh my goodness the network config for Mandy is a great big horking mess...

/etc/sysconfig/network-scripts/ifcg-eth0 (or something close to that) feeds into ifup, which is a symlink to this monstrous script called: /sbin/ifup, which has a line in it, about midway through:

DHCP_ARGS=

First make certain that you have dhcpcd installed, as that's what it is probably using, do this with:

ls /sbin/dhcpcd

If its there change that other line to:

DHCP_ARGS= -t 15 (or maybe) "-t 15"

That being timeout=15 seconds instead of 60, the default.

Cheers,

Finegan

skeletal29 06-18-2002 09:07 PM

i tried putting "-t 15" it dint work. Any ideas?

zLinuxz 06-19-2002 09:11 AM

Yeah, why don't you disable dhcp eth at boot up, then it will take 0 time if you are not in a network. Then if you wanna connect, just do the ifup command and it'll log you in if you are connected!
:D

zLinuxz

skeletal29 06-19-2002 03:49 PM

ahh i just took out dhcp and set a static lan ip.


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