Reconnect silently

2011-05-17 Thread Misha Shnurapet
Hi. I run torrents on my notebook. On an electricity outage NM starts asking for a new password, so when I'm not around and the light goes back on (powering up the WLAN router), it just stands stalled. Is there a way to tell NM not to ask for a new password ever? :) Thanks!

Re: [PATCH 1/2] respect libnl flags also in backends/ip6-manager

2011-05-17 Thread Paul Menzel
Am Samstag, den 07.05.2011, 16:28 +0200 schrieb Paul Menzel: From: Martin Jansa martin.ja...@gmail.com Date: Wed, 23 Mar 2011 17:27:54 +0100 `backend/ip6-manager` didn't respect `LIBNL_CFLAGS` and used `/usr/include/netlink` headers from libnl 2 instead. This patch is used in

Re: [PATCH 2/2 v2] respect libnl flags also in DNS-, VPN-, and ModemManager

2011-05-17 Thread Paul Menzel
From: Philip Balister phi...@opensdr.com Date: Wed, 4 May 2011 18:24:49 -0400 This patch has been used in OpenEmbedded [1] since commit b167a9a9 [2][3]. [1] http://www.openembedded.org/ [2]

[PATCH 0/3] Support for ADSL modems v3

2011-05-17 Thread Pantelis Koukousoulas
This is the third version, with some minor bugfixes. Pantelis Koukousoulas (3): ADSL: Settings and initial scaffolding ADSL: Carrier Handling and PPP support ADSL: Add libnm-glib and nmcli code cli/src/connections.c| 66 - cli/src/devices.c|4 +

[PATCH 1/3] ADSL: Settings and initial scaffolding

2011-05-17 Thread Pantelis Koukousoulas
This patch adds the settings code (NMSettingAdsl) and the initial scaffolding i.e., a tiny stub version of NMDeviceAdsl and the udev handler code to get the device detected. With this patch you should be able to see an atm device being detected by networkmanager in the logs, although of course it

[PATCH 2/3] ADSL: Carrier Handling and PPP support

2011-05-17 Thread Pantelis Koukousoulas
This is the juice of the patch series. Initial cut at carrier handling (by polling /sys/class/atm/$iface/carrier) and also support for calling pppd with the proper command-line to achieve a connection. Also implement the necessary boilerplate for the NM state machine to be happy with our device.

[PATCH 3/3] ADSL: Add libnm-glib and nmcli code

2011-05-17 Thread Pantelis Koukousoulas
For the finale, this is the libnm-glib and nmcli part of the support, with this you can now make a full pppoatm connection from NetworkManager by configuring it in system scope in a keyfile. As an example, here is mine: (password and username snipped for obvious reasons) [connection] id=MYISP

[RFC] ADSL: Experimental PPPoE support

2011-05-17 Thread Pantelis Koukousoulas
This is a first cut at experimental PPPoE support for ADSL devices. There are several shortcuts and the code is ugly, but it works so it can be used as a strawman to improve upon. Happily waiting for comments / testing / suggestions :) With this code and a system keyfile connection like the

patch for adding RSA-MD4 on HMAC auth, for OpenVPN

2011-05-17 Thread Olivier Lambert
Hi everyone, I need to connect to a corporate OpenVPN server. This VPN use RSA-MD4 on HMAC.. But this option doesn't exist in the nm GUI ! So, here is a fix (it was tested by me, and it works like a charm). diff --git a/properties/auth-helpers.c b/properties/auth-helpers.c index