Hi Peter,

On 12/08/2012 07:51 PM, Peter A. Bigot wrote:
>> We could have ConnMan configure the MAC addresses, but right now I can 
>> not see a good way to do so. I am open to suggestions on how this 
>> could have been done in a generic and clean way.
> I don't think ConnMan should be responsible for configuring MAC 
> addresses on an interface.  I do think it should provide a mechanism 
> that allows this to be done before it starts using those interfaces. The 
> mechanism should take into account that, with existing kernels, connman 
> should not (probably cannot) unilaterally decide whether an interface is 
> ready to be configured just because it got an RTNL message.
> 
> In the absence of a robust and fully-featured file-based infrastructure 
> that connman uses to initially configure itself, a robust and fully 
> featured connmanctl utility is needed to do this after connman is 
> brought up in "sit there until I say you can move" mode.

connmanctl is missing the agent support (needed for asking a password
from the user, e.g. for WiFi networks). If you are only interested
in 'ethernet' device, connmanctl should be okay. connmanctl is still WIP.

"sit there until I say you can move" sounds like "offline mode", which
ConnMan happens to support :)

If OfflineMode is true ConnMan wont do anything. After the mac address
is set you should be able to set OfflineMode to false and ConnMan starts
to operate. OfflineMode is state is persistent therefore it might not be
100% fit right now, but I guess we could change that a bit. 

cheers,
daniel
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to