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. |
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 |
i tried putting "-t 15" it dint work. Any ideas?
|
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 |
ahh i just took out dhcp and set a static lan ip.
|
All times are GMT -5. The time now is 06:40 PM. |