I am attempting to use Ethernet provisioning to fulfil my use case, and
I'm struggling.
My setup is as follows:
Headless device (embedded)
- Ethernet
- Serial
1) Firmware is flashed with ethernet provisioning to 192.168.0.180
(default 'factory' settings)
[global]
Name = Wired
Description = Wired network configuration
[service_ethernet]
Type = ethernet
IPv4 = 192.168.0.180/255.255.255.0/192.168.0.1
2) User sets IP address (manual or dhcp), application sets through
connman via dbus
3) On reboot last configuration is used
What actually happens is this:
1) Firmware is flashed, ethernet provisioning works
2) IP can be set to either DHCP or Manual, however this creates a new
service for the Ethernet adapter, e.g.
Provisioned IP: 192.168.0.180
user sets to dhcp, new IP is 192.168.0.47; device can now be accessed at
either .180 OR .47
The device has two IP address'
3) Reboots, IP provisioning returns, DHCP settings are lost.
Is this a valid use case?
Cheers,
Jack.
--
Jack Mitchell ([email protected])
Embedded Systems Engineer
http://www.embed.me.uk
--
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman