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. Setup without cable (Vasiu Alexandru)
   2. Re: Setup without cable (Vasyl Vavrychuk)
   3. Re: Setup without cable (Vasiu Alexandru)
   4. Re: [PATCH 01/27] shared: Add functions for random number
      generation (Christian Spielberger)
   5. Re: [PATCH 01/27] shared: Add functions for random number
      generation (Christian Spielberger)


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

Message: 1
Date: Wed, 18 Apr 2018 13:14:26 +0000
From: Vasiu Alexandru <alexandru.va...@cnglsibiu.ro>
To: "connman@lists.01.org" <connman@lists.01.org>
Subject: Setup without cable
Message-ID:
        <CAFW0YTv7LfiOgh17qZe=D_iFxrLddb41hb=wb99vuajml4n...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

With connman is possible to set up an interface with static IP and so on,
if it's no service on that interface?

Thank you,
Alex
NI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20180418/e311e9bb/attachment-0001.html>

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

Message: 2
Date: Wed, 18 Apr 2018 16:17:39 +0300
From: Vasyl Vavrychuk <vvavryc...@gmail.com>
To: Vasiu Alexandru <alexandru.va...@cnglsibiu.ro>
Cc: "connman@lists.01.org" <connman@lists.01.org>
Subject: Re: Setup without cable
Message-ID:
        <CAGj4m+68zV1pW=l+ai_c9zrydsrkvnmkcf+fdzrxazkgg8b...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

It is possible to setup a static IP but there should be a service on
this interface. What is your interface? Why do you have no service
there?

On Wed, Apr 18, 2018 at 4:14 PM, Vasiu Alexandru
<alexandru.va...@cnglsibiu.ro> wrote:
> Hi,
>
> With connman is possible to set up an interface with static IP and so on, if
> it's no service on that interface?
>
> Thank you,
> Alex
> NI
>
> _______________________________________________
> connman mailing list
> connman@lists.01.org
> https://lists.01.org/mailman/listinfo/connman
>


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

Message: 3
Date: Wed, 18 Apr 2018 13:27:27 +0000
From: Vasiu Alexandru <alexandru.va...@cnglsibiu.ro>
To: Vasyl Vavrychuk <vvavryc...@gmail.com>
Cc: "connman@lists.01.org" <connman@lists.01.org>
Subject: Re: Setup without cable
Message-ID:
        <CAFW0YTuKXT=wnnwozgfszxv7odixd6zehg1nrmjvmmxmuhm...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I'm trying to configure a static IP on an interface that has no cable
connected. Can you have a service without a cable connected? The use-case
is to configure in the office the disconnected interface to static IP over
a DHCP connected secondary interface so that the device can be directly
connected to the static IP interface when taken to its remote location
(e.g. bridge, windmill etc).

?n mie., 18 apr. 2018 la 16:17, Vasyl Vavrychuk <vvavryc...@gmail.com> a
scris:

> It is possible to setup a static IP but there should be a service on
> this interface. What is your interface? Why do you have no service
> there?
>
> On Wed, Apr 18, 2018 at 4:14 PM, Vasiu Alexandru
> <alexandru.va...@cnglsibiu.ro> wrote:
> > Hi,
> >
> > With connman is possible to set up an interface with static IP and so
> on, if
> > it's no service on that interface?
> >
> > Thank you,
> > Alex
> > NI
> >
> > _______________________________________________
> > connman mailing list
> > connman@lists.01.org
> > https://lists.01.org/mailman/listinfo/connman
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20180418/68e4f0ea/attachment-0001.html>

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

Message: 4
Date: Wed, 18 Apr 2018 16:14:55 +0200
From: Christian Spielberger <christian.spielber...@gmail.com>
To: Daniel Wagner <w...@monom.org>
Cc: connman@lists.01.org
Subject: Re: [PATCH 01/27] shared: Add functions for random number
        generation
Message-ID: <20180418141454.gb21...@gmail.com>
Content-Type: text/plain; charset=us-ascii

On Mon 16.04.18  16:33, Daniel Wagner wrote:
> Hi Christian,
> 
> On 04/11/2018 04:00 PM, Christian Spielberger wrote:
> >ACD needs random IPv4 addresses as fallback (IPv4LL address) and random 
> >delays
> >between sent ARP probe and ARP announce packets. Hence, this patch moves
> >ipv4ll_random_delay_ms() to a new file src/shared/random.[h|c] in order to
> >be available generally.
> 
> >--- /dev/null
> >+++ b/src/shared/random.h
> >@@ -0,0 +1,30 @@
> >+/*
> >+ *
> >+ *  Random number generation library
> >+ *
> >+ *  based on IPv4 Local Link library with GLib integration,
> >+ *      Copyright (C) 2009-2010  Aldebaran Robotics. All rights reserved.
> >+ *
> >+ *  Copyright (C) 2018  Commend International. All rights reserved.
> >+ *
> >+ *  This program is free software; you can redistribute it and/or modify
> >+ *  it under the terms of the GNU General Public License version 2 as
> >+ *  published by the Free Software Foundation.
> >+ *
> >+ *  This program is distributed in the hope that it will be useful,
> >+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> >+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> >+ *  GNU General Public License for more details.
> >+ *
> >+ */
> >+
> >+#ifndef SHARED_RANDOM_H
> >+#define SHARED_RANDOM_H
> >+
> >+#include <stdint.h>
> >+
> >+int get_random(uint64_t *val);
> >+void cleanup_random(void);
> >+unsigned int random_delay_ms(unsigned int secs);
> >+
> >+#endif
> 
> Prefix these function with 'random_':
> 
>       random_get()
>       random_cleanup()
>       random_delay_ms()
> 
> Maybe someone has a better idea for 'random_get()'. I'd to have all the
> shared code file properly prefixed to avoid clashes.
> 
> Thanks,
> Daniel

Ok. What about random_number(uint64_t *val) ?

regards,
chris.


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

Message: 5
Date: Wed, 18 Apr 2018 16:32:10 +0200
From: Christian Spielberger <christian.spielber...@gmail.com>
To: Daniel Wagner <w...@monom.org>
Cc: connman@lists.01.org
Subject: Re: [PATCH 01/27] shared: Add functions for random number
        generation
Message-ID: <20180418143209.gc21...@gmail.com>
Content-Type: text/plain; charset=us-ascii

On Mon 16.04.18  16:33, Daniel Wagner wrote:
> Hi Christian,
> 
> On 04/11/2018 04:00 PM, Christian Spielberger wrote:
> >ACD needs random IPv4 addresses as fallback (IPv4LL address) and random 
> >delays
> >between sent ARP probe and ARP announce packets. Hence, this patch moves
> >ipv4ll_random_delay_ms() to a new file src/shared/random.[h|c] in order to
> >be available generally.
> 
> >--- /dev/null
> >+++ b/src/shared/random.h
> >@@ -0,0 +1,30 @@
> >+/*
> >+ *
> >+ *  Random number generation library
> >+ *
> >+ *  based on IPv4 Local Link library with GLib integration,
> >+ *      Copyright (C) 2009-2010  Aldebaran Robotics. All rights reserved.
> >+ *
> >+ *  Copyright (C) 2018  Commend International. All rights reserved.
> >+ *
> >+ *  This program is free software; you can redistribute it and/or modify
> >+ *  it under the terms of the GNU General Public License version 2 as
> >+ *  published by the Free Software Foundation.
> >+ *
> >+ *  This program is distributed in the hope that it will be useful,
> >+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> >+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> >+ *  GNU General Public License for more details.
> >+ *
> >+ */
> >+
> >+#ifndef SHARED_RANDOM_H
> >+#define SHARED_RANDOM_H
> >+
> >+#include <stdint.h>
> >+
> >+int get_random(uint64_t *val);
> >+void cleanup_random(void);
> >+unsigned int random_delay_ms(unsigned int secs);
> >+
> >+#endif
> 
> Prefix these function with 'random_':
> 
>       random_get()
>       random_cleanup()
>       random_delay_ms()
> 
> Maybe someone has a better idea for 'random_get()'. I'd to have all the
> shared code file properly prefixed to avoid clashes.
> 
> Thanks,
> Daniel


Hi Daniel,

now I found src/util.c which does nearly the same. I think, I should use this,
right?

regards,
chris.


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

Subject: Digest Footer

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


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

End of connman Digest, Vol 30, Issue 22
***************************************

Reply via email to