LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-23-2005, 08:10 AM   #1
1madstork
Member
 
Registered: Aug 2004
Location: Southaven, Mississippi, USA
Distribution: Debian Etch
Posts: 108

Rep: Reputation: 15
Limiting DHCPDISCOVER on boot


During boot, my box uses DHCPDISCOVER to pull an IP address. If it doesn't find one it does DHCPDISCOVER about 5 or 6 times, each time lasting up to 20 seconds. This slows down my boot time when I don't have a wireless signal around.
Is there a way that I can limit it to only run once for about 10 seconds or so?
Thanks
 
Old 02-23-2005, 10:01 AM   #2
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
See man dhclient.conf and the file /etc/dhclient.conf


This in the /etc/dhclient.conf file should help (as the default timeout is 60 seconds):
Code:
timeout 10;
 
Old 02-28-2005, 11:03 AM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
Thanks dastrike -- helped me out too.
 
Old 02-28-2005, 03:52 PM   #4
OsirisX
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian-testing.
Posts: 19

Rep: Reputation: 0
i also have that problem. i am having a problem finding where the edit is. am i suppose to edit at this file
/etc/
vim dhclient.conf?
or is that just an example
 
Old 02-28-2005, 04:11 PM   #5
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
the file is located as /etc/dhclient.conf

To edit that file with vim, execute
Code:
vim /etc/dhclient.conf
There is a lot of commented-away examples in there already.
 
Old 02-28-2005, 10:31 PM   #6
1madstork
Member
 
Registered: Aug 2004
Location: Southaven, Mississippi, USA
Distribution: Debian Etch
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks bud. That's helped tremendously.
 
Old 03-01-2005, 08:16 AM   #7
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
You can also press CTRL+C to abort the DHCP script. But then you ofcourse have to be at the computer during boot.
 
Old 03-01-2005, 02:37 PM   #8
OsirisX
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian-testing.
Posts: 19

Rep: Reputation: 0
Quote:
Distribution: You can also press CTRL+C to abort the DHCP script. But then you ofcourse have to be at the computer during boot.
does that command CTRL+C work with anything that you want to abort in the boot or just the DHCP script?

Not that i know of anything else i would want to abort but i was just wondering if it was a universal command
 
  


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
Changing DHCPDISCOVER on bootup?? halo14 Debian 4 09-01-2004 05:00 PM
Bandwidth limiting OmniXBro Linux - Software 2 06-14-2004 05:50 PM
Limiting no. of connections per IP ^Uri^ Linux - Networking 2 08-16-2003 01:44 AM
Bandwidth Limiting boundless Linux - Networking 2 04-15-2003 03:07 PM
Limiting Bandwidth MasterC Linux - Networking 3 04-09-2003 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:56 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
Open Source Consulting | Domain Registration