LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-01-2004, 12:55 PM   #1
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
Changing DHCPDISCOVER on bootup??


I'm runnin Sarge on my notebook... and I am constantly mobile.. sometimes conected to a network, sometimes not...

When I'm not connected to a network I get that "DHCPDISCOVER for eth0" or whatever it is that runs for like 30 seconds before being like "oh, you're not getting dhcp?"

I wanted to see if I could either disable the dhcp lookup from booting at all and then just do a ifup eth0 later... or, what would be more practical in my case... to change the anount of times it tries to lookup... I would be satisfied with 1 interval... because it should connect right awa if I'm on it... and if i'm not... i want it to just give up right away... any ideas?
 
Old 09-01-2004, 01:18 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
There is a good guide here: http://www.risc.uni-linz.ac.at/syste...g/index_3.html

If you put "noauto" in /etc/network/interfaces it won't be automatically activated at boot time.
 
Old 09-01-2004, 01:22 PM   #3
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Original Poster
Rep: Reputation: 45
thanks..

any other suggestions on lowering the wait time for dhcp?
 
Old 09-01-2004, 01:43 PM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
I'm not sure about this, but if you use pump, you could try adding "timeout XX" to /etc/pump.conf Where XX is the number of seconds. Or you could add "timeout XX" to /etc/dhclient.conf if you use dhcp-client.
 
Old 09-01-2004, 05:00 PM   #5
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Original Poster
Rep: Reputation: 45
m_yates THANKS!

I checked for a /etc/dhclient.conf first, and I had one.. so i opened it up in vim... and it already has a ton of lines in it just commented out.. and one of them was #timeout 60;

So I uncommented it and changed the time to 3... I rebooted to see what would happen and it dd exactly as planned... checked for 3 seconds and continied without.. this wasn't so hard.. but wouldn't have thought to look in there...
 
  


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 Resolution, First Bootup Malakye Fedora 2 10-10-2005 08:14 PM
Changing the Linux bootup appearance. Nebetsu Debian 1 08-17-2005 05:53 PM
Limiting DHCPDISCOVER on boot 1madstork Debian 7 03-01-2005 02:37 PM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 04:28 AM
Changing Grub Menu at Bootup thenebula Linux - Newbie 6 10-25-2003 08:21 AM

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

All times are GMT -5. The time now is 06:19 AM.

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