Re: reconnecting to same interface.

2005-12-13 Thread Robert Love
On Tue, 2005-12-13 at 18:54 -0500, Dan Williams wrote: > Yeah, that's totally broken right now since the applet uses a new dbus > interface that I haven't pushed down into NetworkManager quite yet. So long as you are on top of it. ;-) Robert Love ___

NetworkManager Build Failure

2005-12-13 Thread Ben Gamari
Howdy all, NetworkManager seems to fail due to a type redefinition in if.h on Linux kernel 2.6.15-rc5. The error is reproduced below. I am building with gcc-3.4.4 on a gentoo linux machine (although not using the gentoo portage system) using both NetworkManager and libnl from CVS/SVN. I noticed th

Re: reconnecting to same interface.

2005-12-13 Thread Dan Williams
On Tue, 2005-12-13 at 17:43 -0500, Robert Love wrote: > Dan, > > In the ~last day, the ability to reconnect to the currently active > interface[1] by clicking on it in the applet went away -- e.g., if I > click on my wired interface now, nothing happens (I stay connected, as > is). > > I have the

reconnecting to same interface.

2005-12-13 Thread Robert Love
Dan, In the ~last day, the ability to reconnect to the currently active interface[1] by clicking on it in the applet went away -- e.g., if I click on my wired interface now, nothing happens (I stay connected, as is). I have the diff of when it worked / when it did not down to the last day, mostl

Re: rml: recent commit to nm-named-manager.c

2005-12-13 Thread Robert Love
On Tue, 2005-12-13 at 16:37 -0500, Robert Love wrote: > One option is to not trigger the assertion when config==NULL but exit > silently. In other words, treat it as a known case. I backed out the change and went ahead and checked this in. I made two changes (a) Return TRUE not FALSE i

Re: rml: recent commit to nm-named-manager.c

2005-12-13 Thread Robert Love
On Tue, 2005-12-13 at 16:27 -0500, Dan Williams wrote: > I'm going to think about this a bit more tonight and come up with a > solution for it. However, what's the use-case for wanting a > valid /etc/resolv.conf on exit? Why is the user exiting NM? (just > curious, this issue should definitely

rml: recent commit to nm-named-manager.c

2005-12-13 Thread Dan Williams
Hi, So there's a slight problem with this change, I reverted an earlier patch for this issue on 2005-10-25 because it causes nameservers to never be removed from named. This is likely caused by my implementation and can be patched, but the warning was harmless and I didn't care enough about it...

Re: NetworkManager and NIS

2005-12-13 Thread Bastien Nocera
On Tue, 2005-12-13 at 13:11 -0500, Dan Williams wrote: > On Tue, 2005-12-13 at 18:15 +0100, Stefan Scheler wrote: > > What's still to be done is to set up the nis domain name and modify yp.conf > > accordingly. This should probably placed somehow in the distribution > > specific > > backends (i

Re: NetworkManager and NIS

2005-12-13 Thread Robert Love
On Tue, 2005-12-13 at 15:57 -0500, Dan Williams wrote: > Sure, go ahead. Great. Committed, plus the g_free addition. Robert Love ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networ

Re: NetworkManager and NIS

2005-12-13 Thread Dan Williams
On Tue, 2005-12-13 at 13:28 -0500, Robert Love wrote: > On Tue, 2005-12-13 at 13:11 -0500, Dan Williams wrote: > > > Sounds great actually. One note on the patch: config->nis_domain is set > > with a g_strdup(), but its not freed when the config is unref-ed. You > > should just need a g_free (co

Re: NetworkManager and NIS

2005-12-13 Thread Robert Love
On Tue, 2005-12-13 at 13:11 -0500, Dan Williams wrote: > Sounds great actually. One note on the patch: config->nis_domain is set > with a g_strdup(), but its not freed when the config is unref-ed. You > should just need a g_free (config->nis_domain) in nm_ip4_config_unref(). > > Do you have gno

Re: NetworkManager pptp

2005-12-13 Thread Antony J Mee
Dan Williams wrote: But in your case, the pppd-vpn-service daemon could just do whatever it does to start the connection, but provide a dbus service that when called, returns the password and username. The pppd plugin would then call this dbus service and request the pass & user. That is pr

Re: NetworkManager and NIS

2005-12-13 Thread Dan Williams
On Tue, 2005-12-13 at 18:15 +0100, Stefan Scheler wrote: > Hi folks, > > I played a bit around with NetworkManager and I think a must-have feature > that > is currently missing is surely to set up NIS if available. I already prepared > a bit of code (diff attached) to read the NIS domain, and N

Re: NetworkManager pptp

2005-12-13 Thread Dan Williams
On Tue, 2005-12-13 at 17:15 +, Antony J Mee wrote: > Sadly, I haven't quite figured out how I'm gonna get the username and > password from the vpn-daemon to the pppd helper plugin infact I've just > got my credentials hard coded in the plugin for testing! If you did a dbus call in the pppd

Re: NetworkManager pptp

2005-12-13 Thread Antony J Mee
Hi Nikolaus, Yes, I've did quite a bit of work on it. Infact I totally revamped it to use a pppd plugin as it's helper. (Thus is can do the DNS + routing without modifications to your local /etc/ppp files) Actually there is one exception... Many distros have an ip-up script which implements

NetworkManager and NIS

2005-12-13 Thread Stefan Scheler
Hi folks, I played a bit around with NetworkManager and I think a must-have feature that is currently missing is surely to set up NIS if available. I already prepared a bit of code (diff attached) to read the NIS domain, and NIS servers from the dhcp reply into NMIP4Config. What's still to be