pppd: Terminating connection due to lack of activity.

2014-04-01 Thread Aleksander Morgado
Hey hey, Is there any good reason why when launching pppd, for e.g. a mobile connection, we don't use idle 0 by default? Otherwise pppd will suicide after 10 mins (default) of inactivity in the channel: Apr 01 01:22:38 pppd[23180]: Terminating connection due to lack of activity. Apr 01 01:22:38

Re: pppd: Terminating connection due to lack of activity.

2014-04-01 Thread Dan Williams
On Tue, 2014-04-01 at 09:30 +0200, Aleksander Morgado wrote: Hey hey, Is there any good reason why when launching pppd, for e.g. a mobile connection, we don't use idle 0 by default? Otherwise pppd will suicide after 10 mins (default) of inactivity in the channel: Apr 01 01:22:38

Re: RFC: Improving Ref-Settings.html

2014-04-01 Thread Dan Williams
On Thu, 2014-03-27 at 13:55 -0500, Justin Brown wrote: I have recently been working with setting up NetworkManager with keyfiles and struggled to understand https://developer.gnome.org/NetworkManager/unstable/ref-settings.html#idp7510624. To that end, I have some suggestions for a newcomer,

nm_device_disconnect

2014-04-01 Thread Manuel Yguel
Hi, I am using libnm-glib version 0.9.4.0-0ubuntu4.3 on ubuntu 12.04 precise pangolin. I would like to time the delay of activation of an adhoc network and I would like to do statistics: creating an adhoc network with a pc, scan and connect with an other, log the different times and repeat. So

Re: nm_device_disconnect

2014-04-01 Thread Dan Winship
On 04/01/2014 01:18 PM, Manuel Yguel wrote: however in the include directory of libnm-glib the file nm-device.h contains only the following function: void nm_device_disconnect (NMDevice *device, NMDeviceDeactivateFn callback, gpointer user_data); I tried to use the last

Re: nm_device_disconnect

2014-04-01 Thread Manuel Yguel
Thanks for the answer, Is there an other way ? Because I want the adhoc network to stop as soon as possible. Plus I do not do anything in the disconnect callback, so I fear that it is just my callback that is called when the adhoc network is disconnected (by somebody else or by the fact that

server.conf ignore-carrier=* Bonding/Bridge DHCP

2014-04-01 Thread poma
'NetworkManager-config-server', /etc/NetworkManager/conf.d/00-server.conf ... # Ignore the carrier (cable plugged in) state when attempting to # activate static-IP connections. ignore-carrier=* This option tends to break the Bonding andor Bridge DHCP setups. Is it a bug, or a feature? poma

libgsystem as a git submodule, not system wide

2014-04-01 Thread poma
Why the 'libgsystem' is used as a git submodule, and not via the system wide setup - 'libgsystem/devel'? I suppose this is the git way to acquire the source code to build a local tarball, git clone git://anongit.freedesktop.org/NetworkManager/NetworkManager cd NetworkManager/ git submodule init

Data Center Bridging build

2014-04-01 Thread poma
... nm-dcb.c: In function '_dcb_setup': nm-dcb.c:211:3: error: format not a string literal and no format arguments [-Werror=format-security] success = do_helper (iface, DCBTOOL, run_func, user_data, error, s-str); ^ nm-dcb.c: In function '_dcb_cleanup': nm-dcb.c:245:3: error: format not a