LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-09-2010, 01:40 AM   #1
orangesky
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 17
Annoying DHCP loop at startup


Whenever I start debian it runs fine until it gets to the DHCP part.
It completley stops and spends like three minutes with stuff like
Code:
DHCP Request on port 57 interval 4
DHCP Request on port 57 interval 14
DHCP Request on port 57 interval 25
DHCP Request on port 57 interval 12
DHCP Request on port 57 interval 2
Then it gives up.

I don't use dhcp until the computer starts up and I enter in the network credentials. I tried putting dhcpclient in /etc/modprobe.d/blacklist, no luck. Still loops at startup.

How can I stop dhcpclient at startup?
 
Old 02-09-2010, 01:46 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Take a look at
http://www.linuxquestions.org/questi...6/#post1661351
 
Old 02-09-2010, 09:00 PM   #3
orangesky
Member
 
Registered: Jun 2009
Posts: 87

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by repo View Post

I changed all the 'dhcp' to 'static' in /etc/networking/interfaces.
(key and essid x'd out)

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static

iface wlan0 inet static
wireless-key xxxxxxxxxxx
wireless-essid xxxx

auto wlan0
But it seems this file changes itself every time I connect. I changed it before and it rewrote itself as dhcp instead of static. Still get the DHCP REQUEST loop at start.
 
Old 02-09-2010, 09:23 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by orangesky View Post
I changed all the 'dhcp' to 'static' in /etc/networking/interfaces.
probably better to just remove the "auto eth0" line if you don't want the interface bought up automatically. Another option is to reduce the dchp timeout in /etc/dhclient.conf to something smaller so you don't have to wait so long for it to fail at boot up.

Quote:
But it seems this file changes itself every time I connect. I changed it before and it rewrote itself as dhcp instead of static. Still get the DHCP REQUEST loop at start.
Are you using some sort of nonstandard network config tool like network-manager or wicd?

Evo2.
 
1 members found this post helpful.
  


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
firefox startup message that's annoying thehardcore8 Linux - Software 4 10-23-2009 11:15 AM
annoying wicd message after system startup fastestOS Slackware 12 09-08-2009 10:21 PM
annoying windows at startup HmmLinux Linux - Software 1 11-07-2008 04:45 PM
suse 9.1 dhcp getting loop back ip by default santana Linux - Networking 2 03-09-2006 04:33 PM
Annoying Startup Sounds Micro420 Mandriva 3 09-08-2003 09:03 AM

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

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