Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe 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. Unable to remove personal data (Stéphane Veyret)
2. New membership (Emmanuel Vautrin)
3. Re: [PATCH] Force BSS expiration (Emmanuel Vautrin)
4. DSA support - bug (Pieter Cardoen)
5. Bridge and bond interface support (Pieter Cardoen)
----------------------------------------------------------------------
Date: Tue, 1 Dec 2020 08:15:11 +0100
From: Stéphane Veyret <[email protected]>
Subject: Unable to remove personal data
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hello,
When connman connects to a network, it creates a directory (ethernet_*,
wifi_*, usually under the /lib/connman directory) and saves data about
the network. Some of these data may be sensitive to a GDPR (European
data protection rule) point of view. This may be, for example, the case
for the SSID or even an IP address (especially if it is a public IPv6
address).
In order to be compliant to the GDPR, we have to delete these data if
end user asks for it. Therefore, we would need to have a connman
command, using the DBUS API, which would remove all those directories
(including those for networks which are not currently connected). Does
such a command exist? If not, is it possible to open an issue, and how
(I saw that there is a Jira, but I couldn't open an issue on it because
I don't have an account)?
Regards,
Stéphane Veyret
------------------------------
Date: Tue, 01 Dec 2020 14:01:56 -0000
From: "Emmanuel Vautrin" <[email protected]>
Subject: New membership
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hello everyone,
In the past, Yasser Toor has provided you some patches on which we have worked
together. As unfortunately he is working with us anymore, I will continue to
provide you the new fixes, based on 1.38 integrated in our Yocto (3.2)
Best Regards,
Emmanuel Vautrin
------------------------------
Date: Tue, 01 Dec 2020 14:17:30 -0000
From: "Emmanuel Vautrin" <[email protected]>
Subject: Re: [PATCH] Force BSS expiration
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
Hello everyone,
We have updated our version to 1.38 (via Yocto 3.2), and we are still facing
this issue.
Even if I have noticed that the interface to set the bss expiration age has
been added, we still need to add a call to this interface. On the contrary, we
have still cyclic periods (between bss expiration and before scanning), where
only the favorite networks are listed.
Is it normal?
By our side, we needed to add this patch:
---
plugins/wifi.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index cc2623a2..c75a7ccc 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1529,6 +1529,7 @@ static void interface_create_callback(int result,
void *user_data)
{
struct wifi_data *wifi = user_data;
+ char * bgscan_range_max;
DBG("result %d ifname %s, wifi %p", result,
g_supplicant_interface_get_ifname(interface),
@@ -1544,6 +1545,13 @@ static void interface_create_callback(int result,
wifi->interface_ready = true;
finalize_interface_creation(wifi);
}
+ /* Force the BSS expiration age to match ConnMan long scanning interval
to avoid the loss of networks during a long interval between two scannings. */
+ if ((bgscan_range_max = strrchr(BGSCAN_DEFAULT,':')) != NULL &&
+ g_supplicant_interface_set_bss_expiration_age(interface,
strtol(bgscan_range_max + 1, (char**)NULL, 10) + 10) >= 0) {
+ DBG("bss expiration age successfully updated");
+ } else {
+ DBG("bss expiration age update has failed");
+ }
}
static int wifi_enable(struct connman_device *device)
--
Best Regards,
Emmanuel
------------------------------
Date: Tue, 1 Dec 2020 15:58:47 +0000
From: Pieter Cardoen <[email protected]>
Subject: DSA support - bug
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]
prd07.prod.outlook.com>
Content-Type: multipart/alternative; boundary="_000_AM4PR07MB306077
B903B8C004CBF1D42EFFF40AM4PR07MB3060eurp_"
--_000_AM4PR07MB306077B903B8C004CBF1D42EFFF40AM4PR07MB3060eurp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Dear
I am using connmand on our embedded devices which have an on-board marvell =
switch, configured using dsa. I noticed that, using latest release, the net=
work connections were not working. After debugging i found that this patch =
needed to be applied to have connmand properly working with dsa ports:
diff --git a/src/rtnl.c b/src/rtnl.c
index dfe6bb6..b2fea44 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -174,6 +174,9 @@ static void read_uevent(struct interface_data *interfac=
e)
} else if (strcmp(line + 8, "vlan") =3D=3D 0) {
interface->service_type =3D CONNMAN_SERVICE_TYPE_ET=
HERNET;
interface->device_type =3D CONNMAN_DEVICE_TYPE_ETHE=
RNET;
+ } else if (strcmp(line + 8, "dsa") =3D=3D 0) {
+ interface->service_type =3D CONNMAN_SERVICE_TYPE_ET=
HERNET;
+ interface->device_type =3D CONNMAN_DEVICE_TYPE_ETHE=
RNET;
} else if (strcmp(line + 8, "bond") =3D=3D 0) {
interface->service_type =3D CONNMAN_SERVICE_TYPE_ET=
HERNET;
interface->device_type =3D CONNMAN_DEVICE_TYPE_ETHE=
RNET;
Kind regards
Pieter Cardoen
Embedded Linux Development Engineer
<https://www.televic-rail.com/>
--_000_AM4PR07MB306077B903B8C004CBF1D42EFFF40AM4PR07MB3060eurp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Dear</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
I am using connmand on our embedded devices which have an on-board marvell =
switch, configured using dsa. I noticed that, using latest release, the net=
work connections were not working. After debugging i found that this patch =
needed to be applied to have connmand
properly working with dsa ports:</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
diff --git a/src/rtnl.c b/src/rtnl.c
<div>index dfe6bb6..b2fea44 100644</div>
<div>--- a/src/rtnl.c</div>
<div>+++ b/src/rtnl.c</div>
<div>@@ -174,6 +174,9 @@ static void read_uevent(struct interface_data *int=
erface)</div>
<div> } else if (str=
cmp(line + 8, "vlan") =3D=3D 0) {</div>
<div> =
interface->service_type =3D CONNMAN_SERVICE_TYPE_ETHERNET;=
</div>
<div> =
interface->device_type =3D CONNMAN_DEVICE_TYPE_ETHERNET;</=
div>
<div>+ } else if (strcmp(l=
ine + 8, "dsa") =3D=3D 0) {</div>
<div>+  =
; interface->service_type =3D CONNMAN_SERVICE_TYPE_ETHERNET;</div=
>
<div>+  =
; interface->device_type =3D CONNMAN_DEVICE_TYPE_ETHERNET;</div>
<div> } else if (str=
cmp(line + 8, "bond") =3D=3D 0) {</div>
<div> =
interface->service_type =3D CONNMAN_SERVICE_TYPE_ETHERNET;=
</div>
 =
; interface->device_type =3D CONNMAN_DEVICE_TYPE_ETHERNET;</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Kind regards<br>
</div>
<div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id=3D"Signature">
<div>
<div></div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p=
t; color:rgb(0,0,0)">
<div>
<p style=3D"text-align:justify; text-justify:inter-ideograph"><span style=
=3D"color:black" lang=3D"EN-US">Pieter Cardoen</span></p>
<p style=3D"text-align:justify; text-justify:inter-ideograph"><span style=
=3D"color:black" lang=3D"EN-US">Embedded Linux Development Engineer<br>
</span></p>
<p style=3D"text-align:justify; text-justify:inter-ideograph"><span lang=3D=
"EN-US"> </span></p>
<p><a href=3D"https://www.televic-rail.com/" target=3D"_blank" rel=3D"noope=
ner noreferrer"><span style=3D"color:black"></span></a></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
--_000_AM4PR07MB306077B903B8C004CBF1D42EFFF40AM4PR07MB3060eurp_--
------------------------------
Date: Tue, 1 Dec 2020 16:14:30 +0000
From: Pieter Cardoen <[email protected]>
Subject: Bridge and bond interface support
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]
prd07.prod.outlook.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear
Is it possible to use connmand to configure and enable a bridge at boot-time
and then use connmand to manage this interface?
Same question for bonding interfaces.
I would like to use a config file like this:
[service_br0]
Type=bridge
IPv4=dhcp
IPv6=off
ports=eth0,eth1
Thanks
Pieter Cardoen
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 61, Issue 20
***************************************