Hi Sven,

> we're using connman (latest GIT version) with an embedded Linux System and we 
> need to set a static IP configuration.  
>    
> Currently you get the IP information from the "Connection" interface, but 
> this seems to be "read only".
> So how do I set a "static config." ?  
>    
> I looked through the code and I saw, there is already some work done to set a 
> static config.
> But I'm a little bit confused...
> In the "Device" interface there seems to be the correspondeing D-Bus 
> "set_properties" interface, but why in this interface and not in the 
> "Connection" interface, where the getProperties function is?  
>    
> I think, if you could provide me some information about setting a "static IP 
> conig", I can try to do the implementation and provide you a patch.  

you would need to set the static IP details on the device or network
interface. When the connection interface is present, then it is already
to late for that, because DHCP already have been executed.

Regards

Marcel


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

Reply via email to