Bug 8046 - ifup -a and udhcp sending before link up
Summary: ifup -a and udhcp sending before link up
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 09:12 UTC by robert_cz
Modified: 2015-04-25 11:38 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert_cz 2015-04-24 09:12:28 UTC
Hello,

We are using your soft in out platform based don STi processor. We have detected that on some installation are problems to obtain dynamic IP from DHCP server using ifup -a.
I have check TCP/IP packages using Wireshark and looks that ifup starting to send udhcp packages before physical linkup - in console I see 3 udhcp discovery packages, but in wireshark only one.

It is possible to add some link checking mechanism like in ifplugd.c over SIOCETHTOOL?

Best regards
Comment 1 robert_cz 2015-04-25 11:38:34 UTC
(In reply to comment #0)
> Hello,
> 
> We are using your soft in out platform based don STi processor. We have
> detected that on some installation are problems to obtain dynamic IP from DHCP
> server using ifup -a.
> I have check TCP/IP packages using Wireshark and looks that ifup starting to
> send udhcp packages before physical linkup - in console I see 3 udhcp discovery
> packages, but in wireshark only one.
> 
> It is possible to add some link checking mechanism like in ifplugd.c over
> SIOCETHTOOL?
> 
> Best regards

I have forgot: Timeout for link in my opinion can be 3,5s like in this documentation http://www.ieee802.org/3/af/public/jan02/brown_1_0102.pdf