Send connman mailing list submissions to
        connman@lists.01.org

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
        connman-requ...@lists.01.org

You can reach the person managing the list at
        connman-ow...@lists.01.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. DBus Signal for Address Conflict Detection (Christian Spielberger)
   2. Static Address for Ethernet interface
      (Eswaran Vinothkumar (BEG/PJ-IOT-EL))


----------------------------------------------------------------------

Message: 1
Date: Tue, 6 Mar 2018 12:09:20 +0100
From: Christian Spielberger <christian.spielber...@gmail.com>
To: connman@lists.01.org
Subject: DBus Signal for Address Conflict Detection
Message-ID: <20180306110919.ga12...@gmail.com>
Content-Type: text/plain; charset=us-ascii

Hello,

I am currently working on address conflict detection. (Code will follow soon.)
One task is to add a notification to application or user. Maybe a dbus signal
would be an adequate form of notification for other processes, right?

Maybe like connman_dbus_property_changed_basic in service.c?

regards,
chris.


------------------------------

Message: 2
Date: Tue, 6 Mar 2018 12:13:36 +0000
From: "Eswaran Vinothkumar (BEG/PJ-IOT-EL)"
        <vinothkumar.eswa...@de.bosch.com>
To: "connman@lists.01.org" <connman@lists.01.org>
Subject: Static Address for Ethernet interface
Message-ID: <71a3e139cdc840e49bb517f2f4785...@de.bosch.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I am using Connman in one of our internal IOT project.  Connman version:1.35

The hardware I am using has two Ethernet interfaces. To set up the static IP I 
run the following commands:
'connmanctl config ethernet_0001c01e6612_cable --ipv4 manual 192.168.1.40 
255.255.255.0 192.168.0.1 --ipv6 off'
'connmanctl config ethernet_0001c01e6621_cable --ipv4 manual 192.168.1.45 
255.255.255.0 192.168.0.1 --ipv6 off'

This works without any problems and I can see the IP addresses being set as 
requested.

For the project I will be using 50 or more hardwares and manually setting IP 
for every hardware is bit annoying. It becomes more complicated when I use over 
the air software updates. Manual interruption is required everytime after 
software update to set up the static IP. Is there any config available within 
connman to set up the static IP for Ethernet inerfaces?

I have looked into the connman-config documents and found out that I can set up 
the static IP by using a config file.

[service_ethernet]
Type = ethernet
IPv4 = 192.168.1.40/255.255.255.0/192.168.1.1
IPv6 = off

I purposefully omitted the MAC address because the addresses will be unique for 
each hardware. But using this sets up the same IP address for both the Ethernet 
interfaces. Is there any way to setup static IP without using MAC address in 
Connman? Any other proposal to solve the problem will also be helpful.

Mit freundlichen Gr??en / Best regards

Vinothkumar Eswaran
BEG-PT/PJ-EL


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20180306/ab9b05c4/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
connman@lists.01.org
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 29, Issue 6
**************************************

Reply via email to