Re: Connecting to an AP with wrong password

2014-11-17 Thread Richard Röjfors
Hi, On Mon, Nov 17, 2014 at 5:30 PM, Thangamanimaran, Radhakris (R.) rthan...@visteon.com wrote: Hi, I am using connman 1.24 with wpa_supplicant to realize WiFi station mode functionalities. When I try to connect to an AP along with a wrong password, the connection fails (which is

Issue doing Connect on a failed service

2014-09-17 Thread Richard Röjfors
Hi, Currently there is an issue in connman when Connect is issued for a failed service. 1. In connect service the incoming DBusMessage is assigned to service-pending. 2. __connman_service_connect is called which will call __connman_service_clear_error. state_ipv4 and state_ipv6 is set to

Re: [PATCH] gsupplicant: Do P2P detection after interface property load

2014-08-07 Thread Richard Röjfors
On Thu, Aug 7, 2014 at 8:21 AM, Tomasz Bursztyka tomasz.burszt...@linux.intel.com wrote: When interface was already created in wpa_supplicant, p2p detection was failing. Thus, calling p2p detection after interface property has been signaled fixes this detection failure. Wpa_supplicant

Re: [PATCH v2] device: Make sure the device is up and running before enabling it

2014-08-07 Thread Richard Röjfors
/technology.c:technology_find() type 3 04:08:45 connmand[254]: src/device.c:__connman_device_enable() device 0x35e8a8 Reported by Richard Röjfors richard.rojf...@gmail.com Ack from me, now connman can be restarted in my setup without leaving the wifi interface down. --- src/device.c | 4 1 file changed, 4

Issue while recovering

2014-08-06 Thread Richard Röjfors
Hi, I mentioned this briefly on the mailinglist. If connman dies of some reason (crash or I kill it), my init system will restart connman. But connman fails to connect again (well it works if I also make sure wpa_supplicant is restarted). When connman dies I'm connected to wifi, which I expect

Re: Issue while recovering

2014-08-06 Thread Richard Röjfors
Soft blocked: no Hard blocked: no And ifconfig considered the interface up. //Richard On Wed, Aug 6, 2014 at 2:50 PM, Richard Röjfors richard.rojf...@gmail.com wrote: Hi, I mentioned this briefly on the mailinglist. If connman dies of some reason (crash or I kill it), my init

[PATCH] gsupplicant: Null check DBusMessageIter to avoid abort

2014-07-30 Thread Richard Röjfors
Depending on how dbus is built it might abort when passing null pointers to it. This patch checks an iter while parsing dbus errors, the iter might be NULL, for instance when an operation is aborted. This trace shows the issue: 0 0xb6c24144 in __GI_raise (sig=sig@entry=6) at

Re: [PATCH] gsupplicant: Allocate memory for data that is to be used in callback

2014-05-26 Thread Richard Röjfors
On Mon, May 19, 2014 at 1:51 PM, Richard Röjfors richard.rojf...@gmail.com wrote: Hi, On Fri, May 16, 2014 at 10:06 AM, Patrik Flykt patrik.fl...@linux.intel.com wrote: When gsupplicant is handed interface data, allocate memory for the supplied strings as the caller might free them at any

Re: [PATCH] gsupplicant: Allocate memory for data that is to be used in callback

2014-05-19 Thread Richard Röjfors
. --- This should fix Richard Röjfors' problems. Thanks, I'll test this and let you know the results. :-) --Richard ___ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman

Crash using HEAD

2014-05-15 Thread Richard Röjfors
Hi, I started using: 74dbbc974550aac32610e5bf6448e93811e06ff8http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=74dbbc974550aac32610e5bf6448e93811e06ff8 Now I experience this crash 100% of the times when wifi is to be enabled: 00:40:30 connmand[991]:

Re: Crash using HEAD

2014-05-15 Thread Richard Röjfors
On Thu, May 15, 2014 at 8:52 AM, Richard Röjfors richard.rojf...@gmail.com wrote: Hi, I started using: 74dbbc974550aac32610e5bf6448e93811e06ff8 Now I experience this crash 100% of the times when wifi is to be enabled: This does not happen on: c84651f6686e67027033d86af03c4d13122dc48c

Re: Crash using HEAD

2014-05-15 Thread Richard Röjfors
On Thu, May 15, 2014 at 9:12 AM, Michael Trimarchi mich...@amarulasolutions.com wrote: I started using: 74dbbc974550aac32610e5bf6448e93811e06ff8 Now I experience this crash 100% of the times when wifi is to be enabled: This does not happen on:

Re: Crash using HEAD

2014-05-15 Thread Richard Röjfors
On Thu, May 15, 2014 at 9:12 AM, Michael Trimarchi mich...@amarulasolutions.com wrote: Hi I started using: 74dbbc974550aac32610e5bf6448e93811e06ff8 Now I experience this crash 100% of the times when wifi is to be enabled: This does not happen on:

The online check and state

2014-01-06 Thread Richard Röjfors
Hi, I have looked at the online state and have some questions regarding its purpose. As I see it, this is just an intermediate state shortly after IP configuration is finished. Then if the internet access is lost or gained after that point is not reflected in the state. For instance I see if I