Comment 1 for bug 685454

Revision history for this message
Kalle Valo (kvalo) wrote : Re: [Bug 685454] [NEW] Feature request: wired connections profiles

Anton Anikin <email address hidden> writes:

> I want to save several wired network profiles (for home and office for
> example, how it work in network-manager), but in the network settings it
> is possible to have only one wired profile and buttons only to edit and
> remove it...

Thank you for the report.

I have been thinking about a similar feature, for example I might want
to use manual IPs when connecting to my test network. I know that
connman has support for some notion of profiles:

  object CreateProfile(string name)

   Create and add new profile with the specified
   identifier name.

   Possible Errors: [service].Error.InvalidArguments

  void RemoveProfile(object path)

   Remove profile with specified object path.

   It is not possible to remove the current active
   profile. To remove the active profile a different
   one must be selected via ActiveProfile property
   first.

   At minimum one profile must be available all the time.

   Possible Errors: [service].Error.InvalidArguments

http://git.kernel.org/?p=network/connman/connman.git;a=blob;f=doc/manager-api.txt;hb=HEAD

I haven't tested the profile support yet and I don't know how they work.
Most probably it also separate wifi settings and that's not really what
we want to do here, we just want to have different profiles for ethernet
connections. But this needs to be properly investigated.

--
Kalle Valo