Help answer threads with 0 replies.
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-2010, 09:50 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Busybox udhcpc does not request lease after dhcp server reboots

Hi everyone,
I'm not sure if it is a "bug" but here is my situation : I have an embedded system running udhcpc ( busybox ) connected to a router ( which is also a dhcp server ) . After the router reboots, it does not remember the allocated lease for my embedded system. On the other hand, my udhcpc does not request a new/renew lease either. So my router is not aware of my embedded system <-- no network for my embedded system.

Is it an udhcpc's bug ? ( I'm using busybox 1.12 ) . Because in common desktop settings ( my laptop for example ) , when the network is up again ( after previously down ) , my laptop automatically requests new/renew a lease.

And how to work around this problem. ATM I write a script checking network connection every 5 seconds . If it detects network change, it will kill the old udhcpc daemon and start a new one. But I think this solution is a bit of overkill.

Thanks for reading.
Old 11-27-2010, 11:09 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,869

Rep: Reputation: 162Reputation: 162
If DHCP server reboots, it is normal that client doesn't renew its IP address because lease haven't expired. The DHCP server is smart enough and doesn't assign your client IP address to other clients.


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
DHCP server seems to not give up lease... custangro Linux - Networking 4 09-29-2008 03:54 PM
DHCP Server - No lease time? piercey Linux - Server 2 07-21-2008 11:15 AM
DHCP Server lease list mahesh_sonawane Linux - Networking 1 10-05-2006 09:17 PM
DHCP server and client lease question rickyinman Linux - Networking 0 04-14-2006 10:53 AM
Invalid DHCP server lease time CloudBuilder Linux - Wireless Networking 3 04-30-2004 08:41 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 AM.

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
Open Source Consulting | Domain Registration