Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Configuration file issues (Nuno Gon?alves)
----------------------------------------------------------------------
Message: 1
Date: Sun, 4 Nov 2018 12:04:28 +0100
From: Nuno Gon?alves <[email protected]>
To: [email protected]
Subject: Configuration file issues
Message-ID:
<CAEXMXLRdzK_Cwo+tkXuQVLK=8rAuZRScyA7MtTOizpxBoBp=6...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
I've noticed 2 issues in the handling of the configuration file on Connman
1.36.
I have 2 ethernet devices at this device. I have not applied any
configuration so they default to DHCP on IPv4. Immutable is False for
both as expected.
I create a configuration file without a MAC address specified:
$ cat /var/lib/connman/010203040506.config
[service_config]
Type = ethernet
IPv4 = 192.168.1.107/255.255.255.0/192.168.1.1
After I commit this file both ethernet interfaces get the address
192.168.1.107 and they both display Immutable=True.
This could actually be expected, since I do not specify to which
interface I want my configuration to apply. But documentation says:
- MAC: MAC address of the interface where this setting should be applied.
The MAC address is optional and if it is missing, then the first found
interface is used.
So according to this the configuration should only apply to once interface.
The second issue happens when I remove /var/lib/connman/010203040506.config,
Connman at this time does not reset the interfaces to the default
configuration and instead they become unconfigured:
$ connmanctl services ethernet_(...1...)_cable
...
State = idle
Favorite = True
Immutable = False
AutoConnect = True
...
IPv4 = [ ]
IPv4.Configuration = [ ]
...
$ connmanctl services ethernet_(...2...)_cable
...
State = idle
Favorite = True
Immutable = False
AutoConnect = True
...
IPv4 = [ ]
IPv4.Configuration = [ ]
...
Thanks,
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20181104/7dfee545/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 37, Issue 2
**************************************