GNOME Bugzilla – Bug 722295
keyfile should auto-detect connection type
Last modified: 2015-02-18 10:43:33 UTC
Instead of requiring users to set 'type=xxx' in the [connection] block, the keyfile plugin should auto-detect that type based on what groups are available. eg, if there is a [802-3-ethernet] block, then the connection will be type=802-3-ethernet. And so on. The only case where this is ambiguous is for pppoe connections, where for backwards compatibility, we allow type=pppoe and a wired setting might be present. I think the keyfile plugin should always write out the type if it's updating the file, but I don't think users should have to set type manually if they are creating one from scratch.
Sounds reasonable, I'm all for.
ah, this was actually done as part of bug 696936 and merged with commit http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=fdef81207f7158a9acbdf900c05367bb960e6533 Belatedly closing as a duplicate. *** This bug has been marked as a duplicate of bug 696936 ***