LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-20-2007, 08:11 AM   #1
jkh107
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Rep: Reputation: 0
Boot slow at DHCPDISCOVER on Debian Etch


I have Debian Etch installed on my laptop, which connects to the Internet using an ethernet cable. When the ethernet cable is plugged in, the boot process is very fast. However, when the ethernet cable is not plugged in (ie when I'm not at home) the boot process is very slow at the DHCPDISCOVER stage. Is there any way to speed it up when it's not connected to the Internet?
 
Old 05-20-2007, 08:36 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Yep, give the wired interface a static addres.
 
Old 05-20-2007, 11:47 AM   #3
jkh107
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you for the prompt reply. I don't suppose you could be a bit more specific about that. Exactly which setting needs to be changed?
 
Old 05-20-2007, 12:03 PM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
In KDE it is in - Settings --> Networking --> Ethernet Connection --> Properties. Change DHCP to Static IP. You will probably have to change settings on your router if you have one. Not sure about the last part.
 
Old 05-20-2007, 04:39 PM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Manually edit the /etc/network/interfaces file. You'll need to know what the network scheme is, which if you don't know can be found by typing /sbin/ifconfig at the terminal. Your /etc/network/interfaces file probably looks like this at present:

Code:
auto lo
iface lo inet loopback

# This entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp
And assuming your network assigns addresses in the 192.168.1.0 network, you could edit the file to look like this:

Code:
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth0

iface eth0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        gateway 192.168.1.1
Peace,
JimBass
 
  


Reply



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 Etch & Apache2, very slow page loads jippen Linux - Server 0 04-27-2007 04:23 PM
Xorg impossibly slow on Debian Etch (PowerPC) with ATI Rage 128 Pro video card Lannix Linux - Hardware 7 04-20-2007 01:41 AM
Dual boot Debian Etch and XP with GRUB - Debian installed First - one HDD bence8810 Debian 11 01-07-2007 10:45 AM
Boot problems in Debian (Etch) ocdj Linux - General 5 01-25-2006 02:22 PM
Limiting DHCPDISCOVER on boot 1madstork Debian 7 03-01-2005 01:37 PM

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

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