Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-26-2006, 12:11 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Chicago
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
What does dhcpcd do when it fails to lease an IP address?

I am just curious as to what dhcpcd does if it fails to lease an IP address other than bring down the interface. Does it do anything else?

Also, what is the difference between the commands:
ifconfig ath0 up
ifup ath0
Old 11-26-2006, 02:43 PM   #2
Registered: Oct 2006
Distribution: Slackware-11.0
Posts: 35

Rep: Reputation: 15
ifup is just a simple bash script that calls ifconfig <stdin> up. No idea about the dhcp issue.
Old 11-26-2006, 04:57 PM   #3
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35

I never thought about what dhcpcd does if it fails to lease an IP address. Nothing is said in the man page, either. If you really want to find out, use dhcpcd with option "-d" would log everything in syslog. Maybe you can figure out what it really does from the log.


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
Interface will not associate after dhcpcd fails bulldozer Linux - Wireless Networking 0 11-25-2006 01:49 PM
dhcpcd ath0 fails, works for eth0 Josh328 Linux - Wireless Networking 7 02-07-2006 10:45 PM
dhcpcd wlan0 doesn't assign ip address dnaEnhanced Slackware 1 02-01-2006 02:34 PM
DHCPCD - can we get IP address of it? lintadsl Linux - Networking 5 11-04-2002 11:54 AM
DHCP client fails to renew lease NiPNi Linux - Networking 2 04-06-2002 06:01 PM

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration