LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2005, 11:28 PM   #1
javierj
LQ Newbie
 
Registered: Mar 2004
Location: Guatemala
Distribution: suse 9,knoppix
Posts: 24

Rep: Reputation: 15
dhcp slows boot


well... i am kindda stuck here..

what happens is that when i boot my pc it starts everything allright... but after a while.. if
a lan cable is not plugged in,, my laptop takes a lot of time to boot cause doesnt find
dhcp but when it is plugged it doesnt take that much.. a couple of seconds... (still a lot i think)
but it works... how can I reconfigure that... to maybe use dhcp at some later point... or something... i use debian and use a program called laptop-net which sees if some cable is
plugged into my eth0 and configures dhcp
 
Old 03-02-2005, 11:48 PM   #2
cavalier
Member
 
Registered: Feb 2005
Location: Denver, CO
Distribution: Slack 12, tweaked just so (though I'm also a fan of Ubuntu)
Posts: 198
Blog Entries: 1

Rep: Reputation: 30
This isn't meant to be a flip or funny comment, but have you considered using a static IP address? I have to, as there's an odd interaction between linux dhcp clients and my DSL router, and it's one less bit of unnecessary overhead on my laptop.

If you're using this at home, and control the router/dhcpd machine, I can't think of a reason not to go with a static IP address.
 
Old 03-02-2005, 11:51 PM   #3
javierj
LQ Newbie
 
Registered: Mar 2004
Location: Guatemala
Distribution: suse 9,knoppix
Posts: 24

Original Poster
Rep: Reputation: 15
yes.. its an approach but.. the problem is that its a laptop that i use on different places.. not only in my home.. but in work (sometimes) and in college.. and thats why i dont use static ip...
even though thnx
 
Old 03-03-2005, 12:24 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Check out a network tool called ifplugd .
If you can't use that, then consider setting the network interface to be not active on boot. Then, if you decide to connect after the machine is all booted up, type the command: /sbin/dhclient
 
  


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
Debian dhcp when boot gongcon Linux - Laptop and Netbook 2 04-04-2005 12:21 PM
DHCP skip on boot zchoyt Linux - Newbie 5 08-31-2004 10:17 PM
dhcp on boot... hross Linux - Networking 0 03-07-2004 11:50 AM
DHCP on boot guygriffiths Linux - Networking 1 10-22-2003 09:22 AM
DHCP Boot Question mjb2123 Linux - Networking 1 06-07-2002 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 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