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. Re: Is there a way to store static IP configuration without
editing config files? (Daniel Wagner)
2. what is File /proc/net/pnp doesn't exist means?
([email protected])
3. Re: what is File /proc/net/pnp doesn't exist means?
(Daniel Wagner)
4. Re: Is there a way to store static IP configuration without
editing config files? (Andreas Koller)
5. Re: Is there a way to store static IP configuration without
editing config files? (Daniel Wagner)
6. [RFC PATCH 02/27] add .ycm conf to .gitignore
(Peter Meerwald-Stadler)
7. [RFC PATCH 01/27] .gitignore: add vim swp files; add tags
file (Peter Meerwald-Stadler)
8. [RFC PATCH 00/27] Implement Address Conflict Detection (ACD),
RFC 5227 (Peter Meerwald-Stadler)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Mar 2018 08:40:09 +0100
From: Daniel Wagner <[email protected]>
To: Andreas Koller <[email protected]>
Cc: [email protected]
Subject: Re: Is there a way to store static IP configuration without
editing config files?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
On 03/20/2018 04:27 PM, Andreas Koller wrote:
>> Not intentionally. There might be an unknown bug but there is no reason
>> why ConnMan shouldn't work with a sysvinit based system. I guess there
>> are plenty of Yocto based images with ConnMan out there.
>
> Took quite long, but finally found out, what the problem actually was.
> The (self compiled) Connman wanted to save its files in
> /usr/local/var/lib/connman, which didn't exist,
> and because of this, it didn't save anything.
> The stale files in /var/lib/connman where from the previously used
> distribution-packaged connman version.
Oh, that's a nasty one. Glad you were able to find the source of the
problem. Just out of curiosity, did ConnMan complain in the log, that
the data dir is missing or couldn't be created?
------------------------------
Message: 2
Date: Wed, 21 Mar 2018 16:22:46 +0800
From: "[email protected]" <[email protected]>
To: connman <[email protected].>
Cc: wagi <[email protected]>, "Vasyl Vavrychuk" <[email protected]>
Subject: what is File /proc/net/pnp doesn't exist means?
Message-ID: <[email protected]>+6EA00E59437D542C
Content-Type: text/plain; charset="iso-8859-1"
hi all,
thanks for your reply and i want to ask a question about the error
"get_nfs_server_ip:File /proc/net/pnp doesn't exist?"
what pnp files matters? is that hot plug boot? how to user it?
how is pnp function relate to nfs? i am so confused?
[email protected]
From: [email protected]
Date: 2018-03-14 16:57
To: connman
CC: [email protected]; Vavrychuk
Subject: where is IWD project?
hi all,
i want to know about iwd project, and i search the project on google,
buf only
to find nothing. where can i find any introduces about that?
and i find some explations in README of connman,
"--enable-iwd
Enable support for Wireless daemon for Linux
The IWD project does not have initial release so far,
therefore by default IWD support is not enabled.
It is safe to enable this option along WiFi support.
"
but what is exactually IWD project? any one can help?
Thanks
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20180321/34a79934/attachment-0001.html>
------------------------------
Message: 3
Date: Wed, 21 Mar 2018 09:49:07 +0100
From: Daniel Wagner <[email protected]>
To: "[email protected]" <[email protected]>
Cc: connman <[email protected]>, Vasyl Vavrychuk
<[email protected]>
Subject: Re: what is File /proc/net/pnp doesn't exist means?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252
Hi,
On 03/21/2018 09:22 AM, [email protected] wrote:
> ? ??? ? thanks for your reply ?and i want to ask a question about the error?
> "get_nfs_server_ip:File?/proc/net/pnp?doesn't?exist?"
ConnMan tries to figure out if the system is booting with a NFS root
filesystem. In this case the interface on which the NFS root is wont be
touched.
> what pnp files matters? is that hot plug boot? how ?to user it?
> how is pnp function ?relate?to nfs? i am so confused?
Yeah, it's annoying message we should get rid of. It's supposed to be
silent if the file doesn't exists. Care to send a patch?
Daniel
------------------------------
Message: 4
Date: Wed, 21 Mar 2018 11:26:26 +0100
From: "Andreas Koller" <[email protected]>
To: [email protected]
Subject: Re: Is there a way to store static IP configuration without
editing config files?
Message-ID:
<trinity-5f6f1dc1-ab70-4b83-9aa9-640e752b8e1e-1521627986884@3c-app-gmx-bs11>
Content-Type: text/plain; charset=UTF-8
> Just out of curiosity, did ConnMan complain in the log, that
> the data dir is missing or couldn't be created?
It did.
Failed to create storage directory: No such file or directory
and later it complained about missing config files.
connmand[21369]: src/storage.c:storage_load() Unable to load
/usr/local/var/lib/connman/settings: No such file or directory
...
connmand[25541]: src/storage.c:storage_load() Unable to load
/usr/local/var/lib/connman/ethernet_MAC_cable/settings: No such file or
directory
(similar to https://lists.01.org/pipermail/connman/2015-June/020037.html)
------------------------------
Message: 5
Date: Wed, 21 Mar 2018 12:56:26 +0100
From: Daniel Wagner <[email protected]>
To: Andreas Koller <[email protected]>
Cc: [email protected]
Subject: Re: Is there a way to store static IP configuration without
editing config files?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On 03/21/2018 11:26 AM, Andreas Koller wrote:
>> Just out of curiosity, did ConnMan complain in the log, that
>> the data dir is missing or couldn't be created?
>
> It did.
>
> Failed to create storage directory: No such file or directory
This one uses perror(). I wonder why it is not a connman_warn().
> and later it complained about missing config files.
>
> connmand[21369]: src/storage.c:storage_load() Unable to load
> /usr/local/var/lib/connman/settings: No such file or directory
> ...
> connmand[25541]: src/storage.c:storage_load() Unable to load
> /usr/local/var/lib/connman/ethernet_MAC_cable/settings: No such file or
> directory
>
> (similar to https://lists.01.org/pipermail/connman/2015-June/020037.html)
Maybe we should make this a connman_warn() too?
------------------------------
Message: 6
Date: Wed, 21 Mar 2018 14:42:12 +0100
From: Peter Meerwald-Stadler <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: [RFC PATCH 02/27] add .ycm conf to .gitignore
Message-ID: <[email protected]>
From: Christian Spielberger <[email protected]>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index d57346d7..74993bd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -84,3 +84,4 @@ vpn/connman-vpn.service
vpn/net.connman.vpn.service
*.swp
tags
+.ycm_extra_conf.py
--
2.16.2
------------------------------
Message: 7
Date: Wed, 21 Mar 2018 14:42:11 +0100
From: Peter Meerwald-Stadler <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: [RFC PATCH 01/27] .gitignore: add vim swp files; add tags
file
Message-ID: <[email protected]>
From: Christian Spielberger <[email protected]>
---
.gitignore | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index b7cc1348..d57346d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,3 +82,5 @@ vpn/connman-vpnd
vpn/connman-vpn-dbus.conf
vpn/connman-vpn.service
vpn/net.connman.vpn.service
+*.swp
+tags
--
2.16.2
------------------------------
Message: 8
Date: Wed, 21 Mar 2018 14:42:10 +0100
From: Peter Meerwald-Stadler <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: [RFC PATCH 00/27] Implement Address Conflict Detection (ACD),
RFC 5227
Message-ID: <[email protected]>
Patch series implementing Address Conflict Detection (ACD) according to RFC
5227,
please comment/review! The patches are served in small chunks for review.
ACD is not enabled by default, but can be enabled in Connman's main.conf.
Patches 1 to 8 are unrelated and move common code to src/shared.
Patch 9 adds new files for ACD and the following patches add functionality.
The IPv4LL code was used as a basis for implementing ACD.
High-level conflict handling is placed in service, Patches 20 to 22.
Patch 23 adds a DBus property to inform about ACD
Patches 24 to 27 implement sending a DHCP decline message in case an address
conflict is detected.
Christian Spielberger (26):
.gitignore: add vim swp files; add tags file
add .ycm conf to .gitignore
acd: Add random_delay_ms() function from gdhcp
dhcp: Use shared get_random() function
shared: Add low-level ARP functions
shared/arp: Add function get_interface_mac_address()
shared/arp: Add random_ip()
inet: Add function connman_inet_is_ifup()
Add Address Conflict Detection support (RFC 5227)
acd: add struct _ACDHost
acd: add functions start/stop_listening
acd: add send_probe_packet
acd: add send_announce_packet
acd: add callback function pointers
acd: add acdhost_start and acdhost_stop
acd: add acd_defend_timeout and acd_announce_timeout
acd: add handling of received arp packets
acd: add callback registration
service: init and start of acd
service: add acd callback functions
service: add ipv4ll as fallback for acd
acd: add dbus property for address conflict
dhcp: add sending of DHCP decline
network: add function for delayed dhcp start
acd: add acdhost_get_conflicts_count
service: send DHCP decline in case of address conflict
Peter Meerwald-Stadler (1):
doc: Add documentation for AddressConflictDetection
.gitignore | 3 +
Makefile.am | 17 +-
doc/connman.conf.5.in | 10 +
gdhcp/client.c | 88 +++---
gdhcp/common.c | 39 +--
gdhcp/gdhcp.h | 4 +-
include/acd.h | 62 ++++
include/inet.h | 1 +
include/network.h | 2 +
include/service.h | 2 +
src/acd.c | 569 +++++++++++++++++++++++++++++++++++++
src/connman.h | 1 +
src/dhcp.c | 26 +-
src/inet.c | 34 +++
src/main.c | 16 ++
src/network.c | 69 +++++
src/service.c | 224 +++++++++++++++
gdhcp/ipv4ll.c => src/shared/arp.c | 103 ++++---
gdhcp/ipv4ll.h => src/shared/arp.h | 41 ++-
src/shared/random.c | 78 +++++
src/shared/random.h | 30 ++
21 files changed, 1263 insertions(+), 156 deletions(-)
create mode 100644 include/acd.h
create mode 100644 src/acd.c
rename gdhcp/ipv4ll.c => src/shared/arp.c (67%)
rename gdhcp/ipv4ll.h => src/shared/arp.h (55%)
create mode 100644 src/shared/random.c
create mode 100644 src/shared/random.h
--
2.16.2
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 29, Issue 19
***************************************