Hi

I just recognized that connman newer than version 1.16 have a regression in 
wired ethernet
APIPA address functionality.

Boot device with ethernet cable connected to non-managed network.
Wait for wired ethernet to get an APIPA address after booting. 
Remove cable.
Plug back in cable in an non-managed network (i.e. no dhcp).
Wait 45 s.
Check if wired ethernet has APIPA address.

Erronous versions tested: 1.17, 1.18, 1.19.
Last known good: 1.16

Log output:
connman 1.18
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {add} route ff00:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {add} route fe80:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {RX} 4 packets 1384 bytes
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {TX} 67 packets 14502 bytes
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {update} flags 102467 
<UP,RUNNING,LOWER_UP>
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {newlink} index 3 address 
50:2D:F4:02:68:EA mtu 1500
Oct 22 16:29:42 tim daemon.info connmand[377]: eth0 {newlink} index 3 operstate 
6 <UP>
Oct 22 16:29:43 tim daemon.warn connmand[377]: Skipping disconnect of carrier, 
network is connecting.
Oct 22 16:29:43 tim daemon.info connmand[377]: eth0 {del} route fe80:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:29:43 tim daemon.info connmand[377]: eth0 {del} route ff00:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:29:43 tim daemon.info connmand[377]: eth0 {add} route ff00:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:29:43 tim daemon.info connmand[377]: eth0 {add} route fe80:: gw :: 
scope 0 <UNIVERSE>

connman 1.16
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {add} route ff00:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {add} route fe80:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {RX} 5 packets 1730 bytes
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {TX} 67 packets 14482 bytes
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {update} flags 102467 
<UP,RUNNING,LOWER_UP>
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {newlink} index 3 address 
50:2D:F4:02:68:EA mtu 1500
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {newlink} index 3 operstate 
6 <UP>
Oct 22 16:44:02 tim daemon.warn connmand[393]: Skipping disconnect of carrier, 
network is connecting.
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {del} route fe80:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {del} route ff00:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {add} route ff00:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:44:02 tim daemon.info connmand[393]: eth0 {add} route fe80:: gw :: 
scope 0 <UNIVERSE>
Oct 22 16:44:43 tim daemon.info connmand[393]: eth0 {add} address 
169.254.234.160/16 label eth0 family 2
Oct 22 16:44:43 tim daemon.info connmand[393]: eth0 {add} route 169.254.0.0 gw 
0.0.0.0 scope 253 <LINK>
Oct 22 16:44:43 tim daemon.info connmand[393]: eth0 {add} route 0.0.0.0 gw 
0.0.0.0 scope 253 <LINK>
Oct 22 16:44:43 tim user.debug com.hbm.fwconfig: connman state now online, 
restarting name resolution services 

Best regards
Tim
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to