Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-23-2005, 08:10 AM
|
#1
|
Member
Registered: Aug 2004
Location: Southaven, Mississippi, USA
Distribution: Debian Etch
Posts: 108
Rep:
|
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
|
|
|
02-23-2005, 10:01 AM
|
#2
|
Member
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250
Rep:
|
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):
|
|
|
02-28-2005, 11:03 AM
|
#3
|
Member
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601
Rep:
|
Thanks dastrike -- helped me out too.
|
|
|
02-28-2005, 03:52 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Distribution: Debian-testing.
Posts: 19
Rep:
|
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
|
|
|
02-28-2005, 04:11 PM
|
#5
|
Member
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250
Rep:
|
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.
|
|
|
02-28-2005, 10:31 PM
|
#6
|
Member
Registered: Aug 2004
Location: Southaven, Mississippi, USA
Distribution: Debian Etch
Posts: 108
Original Poster
Rep:
|
Thanks bud. That's helped tremendously.
|
|
|
03-01-2005, 08:16 AM
|
#7
|
Member
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243
Rep:
|
You can also press CTRL+C to abort the DHCP script. But then you ofcourse have to be at the computer during boot.
|
|
|
03-01-2005, 02:37 PM
|
#8
|
LQ Newbie
Registered: Jan 2005
Distribution: Debian-testing.
Posts: 19
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|