Bug 8046

Summary: ifup -a and udhcp sending before link up
Product: Busybox Reporter: robert_cz <robert_cz>
Component: NetworkingAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs, robert_cz
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

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