[review] dcbw/duid-fixes

2013-03-18 Thread Dan Williams
Look for machine-id in another location, and fall back to generated DUID if all else fails. https://bugzilla.gnome.org/show_bug.cgi?id=696109 Thanks! Dan ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/

Re: [PATCH] core: Honor CLI arguments when config file is not found

2013-03-18 Thread Dan Williams
On Thu, 2013-01-31 at 17:36 -0600, Dan Williams wrote: > On Tue, 2013-01-29 at 11:12 -0200, Jonh Wendell wrote: > > If the config file is not present, the Config object is > > returned empty, even if some configs were passed as command > > line arguments. > > > > This patch honor these arguments i

Re: [PATCH] config: convert NMConfig to object

2013-03-18 Thread Dan Williams
On Wed, 2013-02-27 at 07:19 +0100, Thomas Bechtold wrote: > On 02/01/2013 12:36 AM, Dan Williams wrote: > > On Tue, 2013-01-15 at 18:48 +0100, Thomas Bechtold wrote: > >> --- > >> src/main.c | 2 +- > >> src/nm-config.c | 209 > >> ++--

Re: [PATCH] Multiple search domains in OpenVPN

2013-03-18 Thread Dan Williams
On Sat, 2013-03-16 at 03:55 +0400, Vsevolod Velichko wrote: > Hello all, > > I'm widely using OpenVPN and recently found that network-manager-openvpn > plugin just ignores all but first search domains it has to send to NM. > > I wrote a little patch, that obviously fixes the issue, however I'm no

Re: [PATCH] Multiple search domains in OpenVPN

2013-03-18 Thread Dan Williams
On Mon, 2013-03-18 at 21:01 +0400, Vsevolod Velichko wrote: > Thanks, Dan! > > Your way is much simpler than one of mine. Looks good; thanks! Pushed this. I added one piece because I forgot about it in my earlier reply; we do need to free the GPtrArray when no domains are received from OpenVPN,

Re: [PATCH] Multiple search domains in OpenVPN

2013-03-18 Thread Vsevolod Velichko
Thanks, Dan! Your way is much simpler than one of mine. I tested it and found it working, so I'm attaching a new patch. Best wishes and have a nice day, Vsevolod Velichko 2013/3/18 Dan Williams > On Sat, 2013-03-16 at 03:55 +0400, Vsevolod Velichko wrote: > > Hello all, > > > > I'm widely us

Re: How to handle USB CDC driver randomly assigned MAC

2013-03-18 Thread test name
On Mon, Mar 18, 2013 at 5:45 PM, Dan Williams wrote: > On Sun, 2013-03-17 at 13:39 +0200, test name wrote: >> Hi, >> >> I'm busy with a new embedded design, and I'd really like to use the >> USB gadget CDC EEM driver for connectivity to the device. On the PC >> side I get a random MAC address for

Re: [PATCH] Multiple search domains in OpenVPN

2013-03-18 Thread Dan Williams
On Sat, 2013-03-16 at 03:55 +0400, Vsevolod Velichko wrote: > Hello all, > > I'm widely using OpenVPN and recently found that network-manager-openvpn > plugin just ignores all but first search domains it has to send to NM. > > I wrote a little patch, that obviously fixes the issue, however I'm no

Re: dnsmasq config generated by NetworkManager

2013-03-18 Thread Dan Williams
On Sat, 2013-03-16 at 14:29 +0400, Евгений Королев wrote: > Hello! > [I'm using KUbuntu 12.04, so some paths can be system-specific] > > I have an idea about customizing dnsmasq config /var/run/nm-dns-dnsmasq.conf, > which is generated by NM. > > First, I've added some lines (like `address=/loca

Re: How to handle USB CDC driver randomly assigned MAC

2013-03-18 Thread Dan Williams
On Sun, 2013-03-17 at 13:39 +0200, test name wrote: > Hi, > > I'm busy with a new embedded design, and I'd really like to use the > USB gadget CDC EEM driver for connectivity to the device. On the PC > side I get a random MAC address for the usb0 interface each time the > usbnet and cdc_eem driver

How to handle USB CDC driver randomly assigned MAC

2013-03-18 Thread test name
Hi, I'm busy with a new embedded design, and I'd really like to use the USB gadget CDC EEM driver for connectivity to the device. On the PC side I get a random MAC address for the usb0 interface each time the usbnet and cdc_eem driver is reloaded. What would be the best way to handle this in NM?

dnsmasq config generated by NetworkManager

2013-03-18 Thread Евгений Королев
Hello! [I'm using KUbuntu 12.04, so some paths can be system-specific] I have an idea about customizing dnsmasq config /var/run/nm-dns-dnsmasq.conf,  which is generated by NM. First, I've added some lines (like `address=/localhost/127.0.0.1` - it's really  userfull, because /etc/hosts doesn't wor

[PATCH] Multiple search domains in OpenVPN

2013-03-18 Thread Vsevolod Velichko
Hello all, I'm widely using OpenVPN and recently found that network-manager-openvpn plugin just ignores all but first search domains it has to send to NM. I wrote a little patch, that obviously fixes the issue, however I'm not familiar with the libglib API at all, so it would be nice if someone c