Re: How to provide DHCP on a technology

2015-10-21 Thread John Ernberg
Hi Patrik, On 10/19/2015 09:29 AM, Patrik Flykt wrote: > On Thu, 2015-10-15 at 09:26 +, John Ernberg wrote: > >>> USB Host USB Gadget >>> +--+ +--+ >>> | eth0| | | >>> |ES|USB cable |D

Re: [PATCH] gdbus: move typedefs for interwork with strict compilers

2015-10-21 Thread Grant Erickson
On Oct 21, 2015, at 8:40 AM, connman-requ...@connman.net wrote: > From: Marcel Holtmann > Subject: Re: [PATCH] gdbus: move typedefs for interwork with strict compilers > Date: October 21, 2015 at 3:35:48 AM PDT > To: connman@connman.net > Reply-To: connman@connman.net > > Hi Grant, > >> Move enu

Re: WPA2 connection problem

2015-10-21 Thread Wawrzek Niewodniczanski
On 21 October 2015 at 11:10, Patrik Flykt wrote: > On Wed, 2015-10-21 at 09:55 +, Wawrzek Niewodniczanski wrote: [...] Hello, >> My configuration is: >> >> [service service_name] > > [service_] here, see doc/config-format.txt, "Service sections > [service_*]" part. > I fixed that, but s

Re: [PATCH v2] openvpn: Add MTU related options

2015-10-21 Thread Sven Schwedas
On 2015-10-21 12:52, Daniel Wagner wrote: > On 10/21/2015 12:45 PM, Sven Schwedas wrote: >> On 2015-10-21 12:30, Daniel Wagner wrote: >>> On 10/21/2015 12:25 PM, Patrik Flykt wrote: On Wed, 2015-10-21 at 12:12 +0200, Daniel Wagner wrote: > The use of the different MTU options depend o

Re: [PATCH v2] openvpn: Add MTU related options

2015-10-21 Thread Daniel Wagner
On 10/21/2015 12:45 PM, Sven Schwedas wrote: > On 2015-10-21 12:30, Daniel Wagner wrote: >> On 10/21/2015 12:25 PM, Patrik Flykt wrote: >>> On Wed, 2015-10-21 at 12:12 +0200, Daniel Wagner wrote: >>> The use of the different MTU options depend on you server and link configuration. I don't

Re: DHCP & hostname faceplant

2015-10-21 Thread Jussi Kukkonen
On 21 October 2015 at 13:27, Daniel Wagner wrote: > On 10/21/2015 12:19 PM, Patrik Flykt wrote: > > Looks like there are two ways to tame this: have a main.conf entry or > > retry without sending a hostname. In the latter case people expecting > > their host name to be added to DNS will be surpri

Re: [PATCH v2] openvpn: Add MTU related options

2015-10-21 Thread Sven Schwedas
On 2015-10-21 12:30, Daniel Wagner wrote: > On 10/21/2015 12:25 PM, Patrik Flykt wrote: >> On Wed, 2015-10-21 at 12:12 +0200, Daniel Wagner wrote: >> >>> The use of the different MTU options depend on you server and link >>> configuration. I don't think you can derive it. OpenVPN seems to offer >>>

Re: [PATCH] gdbus: move typedefs for interwork with strict compilers

2015-10-21 Thread Marcel Holtmann
Hi Grant, > Move enumeration type defintions AFTER the enumerations themselves are > declared > and defined such that the header works with strict compilers. > --- > gdbus/gdbus.h | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h > in

Re: [PATCH v2] openvpn: Add MTU related options

2015-10-21 Thread Daniel Wagner
On 10/21/2015 12:25 PM, Patrik Flykt wrote: > On Wed, 2015-10-21 at 12:12 +0200, Daniel Wagner wrote: > >> The use of the different MTU options depend on you server and link >> configuration. I don't think you can derive it. OpenVPN seems to offer >> an option to learn the MTU size by doing some m

Re: DHCP & hostname faceplant

2015-10-21 Thread Daniel Wagner
On 10/21/2015 12:19 PM, Patrik Flykt wrote: > On Thu, 2015-10-08 at 01:31 -0600, Daniel Wagner wrote: >> I have uploaded two traces. Both created on my Linux machine. >> >> - This one is with an unmodified ConnMan: >> >>http://www.monom.org/connman/dhcp-not-working.pcapng >> >> - And this one i

Re: [PATCH v2] openvpn: Add MTU related options

2015-10-21 Thread Patrik Flykt
Hi, On Wed, 2015-10-21 at 12:12 +0200, Daniel Wagner wrote: > The use of the different MTU options depend on you server and link > configuration. I don't think you can derive it. OpenVPN seems to offer > an option to learn the MTU size by doing some measurements but that > takes around 3

Re: DHCP & hostname faceplant

2015-10-21 Thread Patrik Flykt
Hi, On Thu, 2015-10-08 at 01:31 -0600, Daniel Wagner wrote: > I have uploaded two traces. Both created on my Linux machine. > > - This one is with an unmodified ConnMan: > >http://www.monom.org/connman/dhcp-not-working.pcapng > > - And this one is with a modified ConnMan which does

Re: WPA2 connection problem

2015-10-21 Thread Patrik Flykt
On Wed, 2015-10-21 at 09:55 +, Wawrzek Niewodniczanski wrote: > On 19 October 2015 at 10:45, Patrik Flykt > wrote: > > > > Hi, > > > > On Mon, 2015-10-19 at 09:57 +, Wawrzek Niewodniczanski wrote: > >> I try to connected to Enterprise WPA2 and what I see in console is: > >> 'Could

Re: Stale WPS state when authentication fails

2015-10-21 Thread Patrik Flykt
On Tue, 2015-10-20 at 16:06 -0700, Juha Kuikka wrote: > Hello, > > If I attempt to connect to a network using WPS (pin code or push button) > and the authentication fails it seems the "WiFi.UseWPS" flag never gets > reset. > > This causes the next connection attempt to default to the WPS mode (an

Re: [PATCH] gdbus: move typedefs for interwork with strict compilers

2015-10-21 Thread Patrik Flykt
On Tue, 2015-10-20 at 23:44 -0700, Grant Erickson wrote: > Move enumeration type defintions AFTER the enumerations themselves are > declared > and defined such that the header works with strict compilers. Applied, thanks! Patrik ___ connman m

Re: [PATCH] service: Fix minor memory leak on exit

2015-10-21 Thread Patrik Flykt
On Tue, 2015-10-20 at 17:07 +0300, Slava Monich wrote: > services_notify->add and services_notify->remove are always created > and have to be always destroyed. Applied, thanks! Patrik ___ connman mailing list connman@connman.net https://lists.c

Re: [PATCH v2] doc: Fix ClearProperty documentation

2015-10-21 Thread Patrik Flykt
On Wed, 2015-10-21 at 11:19 +0300, Patrik Flykt wrote: > ClearProperty applies only on the Error property and causes the > service to go to idle state. > --- > > Updated the text and noted that InvalidProperty is the only error that > can be returned. Applied. Now the implementation is wrong and

Re: WPA2 connection problem

2015-10-21 Thread Wawrzek Niewodniczanski
On 19 October 2015 at 10:45, Patrik Flykt wrote: > > Hi, > > On Mon, 2015-10-19 at 09:57 +, Wawrzek Niewodniczanski wrote: >> I try to connected to Enterprise WPA2 and what I see in console is: >> 'Could not connect net.connman.Error.InvalidArguments: Invalid >> arguments' > > WPA2 EAP

Re: [PATCH 0/4] Added captive portal possibility

2015-10-21 Thread Patrik Flykt
On Tue, 2015-10-20 at 14:14 +1100, Craig McQueen wrote: > The following patches are related to the captive portal code originally > provided by Alexandre Chataignon. The first patch is a copy of the > original patch, provided again as a reference. The 3 following patches > are improvements I mad

[PATCH v2] doc: Fix ClearProperty documentation

2015-10-21 Thread Patrik Flykt
ClearProperty applies only on the Error property and causes the service to go to idle state. --- Updated the text and noted that InvalidProperty is the only error that can be returned. doc/service-api.txt | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/service-