[PATCH] wwan: don't assume DNS info is always available

2015-02-17 Thread Aleksander Morgado
Fixes segfault with e.g. Ericsson modems that reply just with IP+gateway, without DNS info. [mm-port-serial-at.c:440] debug_log(): (ttyACM8): -- 'AT*E2IPCFG?CR' [mm-port-serial-at.c:440] debug_log(): (ttyACM8): -- 'CRLF*E2IPCFG: (1,10.191.64.12)(2,10.191.64.10)CRLF' [mm-port-serial-at.c:440]

Re: Add WPS information parsing in foreach_property_cb

2015-02-17 Thread Thomas Haller
On Fri, 2015-02-06 at 10:47 +0800, Sheng-Jhih Jiang wrote: hi, sorry for the late reply. WPS should be added to NetworkManager (core daemon) first. It's not really necessary to add anything to nm-applet (client) at that point. Without the help of nm-applet to test the WPS flow, how can I

Re: [PATCH] wwan: don't assume DNS info is always available

2015-02-17 Thread Dan Williams
On Tue, 2015-02-17 at 17:20 +0100, Aleksander Morgado wrote: Fixes segfault with e.g. Ericsson modems that reply just with IP+gateway, without DNS info. Thanks, made a small change (reduced the patch to for (i = 0; dns dns[i]...) and pushed to 0.9.10, 1.0, and git master. Dan

networkd bus activation and exit on idle

2015-02-17 Thread Lubomir Rintel
From systemd 219 release notes: [1] * networkd now exits when idle. It will be automatically restarted as soon as interfaces show up, are removed or change state. networkd will stay around as long as there is at least one DHCP state machine or similar

Re: networkd bus activation and exit on idle

2015-02-17 Thread Thomas Haller
On Tue, 2015-02-17 at 11:15 +0100, Lubomir Rintel wrote: From systemd 219 release notes: [1] * networkd now exits when idle. It will be automatically restarted as soon as interfaces show up, are removed or change state. networkd will stay around as long as