LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-12-2002, 08:10 PM   #1
skeletal29
Member
 
Registered: Apr 2002
Location: Nyc
Distribution: Gentoo
Posts: 127

Rep: Reputation: 15
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.
 
Old 06-12-2002, 09:08 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
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
 
Old 06-18-2002, 10:07 PM   #3
skeletal29
Member
 
Registered: Apr 2002
Location: Nyc
Distribution: Gentoo
Posts: 127

Original Poster
Rep: Reputation: 15
i tried putting "-t 15" it dint work. Any ideas?
 
Old 06-19-2002, 10:11 AM   #4
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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!


zLinuxz
 
Old 06-19-2002, 04:49 PM   #5
skeletal29
Member
 
Registered: Apr 2002
Location: Nyc
Distribution: Gentoo
Posts: 127

Original Poster
Rep: Reputation: 15
ahh i just took out dhcp and set a static lan ip.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unusually long wait time for mutex gecoool Programming 1 11-15-2005 11:58 AM
controlling the wait time on boot up Veteq Linux - General 2 03-19-2005 04:10 PM
DHCP on bootup, how do I background it? Oxyacetylene Linux - Networking 7 10-21-2004 08:37 AM
normal wait time for yast2 package reading? l1fe Linux - Newbie 2 07-01-2004 03:20 PM
re-run DHCP after bootup? azwr Linux - Wireless Networking 3 06-19-2004 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration