Hi Tomasz,

Sorry for the delay. I was not disconnecting and re-connecting in between.
Following your recommandations, I did the following tests using connmanctl :

My device is started in dhcp mode, with 172.21.140.129 as IP address and then 
here is what I did :

connmanctl  disconnect ethernet_18550f6e44b3_cable
connmanctl  config ethernet_18550f6e44b3_cable --ipv4 manual 172.21.140.129 
255.255.255.0 172.21.140.254
connmanctl  connect ethernet_18550f6e44b3_cable

connmanctl  disconnect ethernet_18550f6e44b3_cable
connmanctl  config ethernet_18550f6e44b3_cable --ipv4 dhcp
connmanctl  connect ethernet_18550f6e44b3_cable

The result is the same in the settings file :

[ethernet_18550f6e44b3_cable]
Name=Wired
AutoConnect=true
Modified=2015-05-11T13:26:42.581611Z
IPv4.method=dhcp
IPv6.method=auto
IPv6.privacy=disabled
IPv4.netmask_prefixlen=24
IPv4.local_address=172.21.140.129
IPv4.gateway=172.21.140.254
IPv4.DHCP.LastAddress=172.21.140.129

At this moment, if I reboot my device I have no more IP address

Do you have any idea about something else I could try ?

Best Regards

Thierry

On 08/05/2015 08:18, "Tomasz Bursztyka" <[email protected]>
wrote:

>Hi Thierry,
>> I have an issue using connman when switching from dhcp to manual 
>>configuration, and coming back to dhcp configuration.
>> With the particularity that in the manual configuration I am using 
>>the address given by the dhcp.
>
>Do you disconnect and re-connect in between?
>
>Tomasz
>_______________________________________________
>connman mailing list
>[email protected]
>https://lists.connman.net/mailman/listinfo/connman

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

Reply via email to