LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2009, 01:39 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
Preventing dhcp/dhclient request at startup? (Debian lenny)


I believe that when the computer starts up and there is an Ethernet cable inside the Ethernet port that the computer requests for an IP address from the dhcp3 server. I would like to prevent this process at startup and regain control of it, thus allowing me to request an IP address at startup by using rc.local.

How do I go about disabling the automatic IP assignment request at startup and gain self-autonomy?
 
Old 10-16-2009, 02:28 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Edit the /etc/network/interfaces file. I believe you just have to comment out the auto eth0 line and/or the allow-hotplug eth0 line. I've done this at home for one of my interfaces. Sorry, but I'm not in front of my box right now to check for sure.

Last edited by pljvaldez; 10-16-2009 at 02:30 PM.
 
  


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
Amarok crashes at startup with a bus error on Debian Lenny Donik Linux - Software 0 08-26-2008 07:11 AM
Fedora 4&5 - Disable DHCP request at startup oaul Linux - Newbie 2 06-04-2006 09:03 AM
how to request a specific ip address with dhclient hypexr Linux - Networking 4 09-15-2005 10:07 PM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
Broadcast request for dhclient virendratp Linux - Networking 1 08-05-2004 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration