LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-26-2006, 12:11 PM   #1
bulldozer
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:
Code:
ifconfig ath0 up
and
Code:
ifup ath0
Thanks
Brian
 
Old 11-26-2006, 02:43 PM   #2
odd2k
Member
 
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
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 35
intesesting...

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.
 
  


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
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

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

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