Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-25 Thread Dan Williams
On Fri, 2010-08-13 at 19:22 -0500, Robby Workman wrote: 
> On Fri, 13 Aug 2010 19:10:16 -0500
> Dan Williams  wrote:
> 
> > On Fri, 2010-08-13 at 18:58 -0500, Robby Workman wrote:
> > > On Wed, 11 Aug 2010 18:41:01 -0500
> > > Dan Williams  wrote:
> > > 
> > > > You can always select your preferred DHCP client using 
> > > > dhcp-client=[dhclient|dhcpcd] in the [main] section of 
> > > > the config file too though.
> > > 
> > > 
> > > Maybe I misunderstood, but this should work, right?
> > > 
> > >   [rwork...@liberty ~]$
> > > cat /etc/NetworkManager/nm-system-settings.conf [main]
> > >   plugins=keyfile
> > >   dhcp-client=dhcpcd
> > >   
> > >   [keyfile]
> > >   hostname=liberty
> > > 
> > > If the answer is yes, then one of us has a problem 
> > > (that's a good-natured comment - no insult intended) :-)
> > 
> > Yeah, that should work...  if not then yeah, there's a problem :)
> > 
> 
> 
> Well, here's what I see in ps output:
> 
> /sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.action -pf 
> /var/run/dhclient-wlan0.pid -lf 
> /var/lib/dhclient/dhclient-93af950b-1619-4ce9-a172-645147565970-wlan0.lease 
> -cf /var/run/nm-dhclient-wlan0.conf wlan0
> 
> This is after a reboot (to ensure that both the daemon and 
> nm-applet were started fresh).  I suppose it's possible that
> my NM configure arguments could be at fault, so here they are:
> 
> ./configure \
>   --prefix=/usr \
>   --libdir=/usr/lib${LIBDIRSUFFIX} \
>   --sysconfdir=/etc \
>   --localstatedir=/var \
>   --mandir=/usr/man \
>   --docdir=/usr/doc/$PRGNAM-$VERSION \
>   --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/2.4.5 \
>   --with-crypto=gnutls \
>   --without-resolvconf \
>   --with-dhcpcd=/sbin/dhcpcd \
>   --with-dhclient=yes \
>   --build=$ARCH-slackware-linux
> 
> Where should I begin looking to see what's going on here?  

So I lied earlier.  The key is:

dhcp=dhcpcd

not 'dhcp-client'...

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-22 Thread Robby Workman
On Fri, 20 Aug 2010 13:33:52 -0500
Dan Williams  wrote:

> On Fri, 2010-08-13 at 19:22 -0500, Robby Workman wrote:
> > On Fri, 13 Aug 2010 19:10:16 -0500
> > Dan Williams  wrote:
> > 
> > > On Fri, 2010-08-13 at 18:58 -0500, Robby Workman wrote:
> > > > On Wed, 11 Aug 2010 18:41:01 -0500
> > > > Dan Williams  wrote:
> > > > 
> > > > > You can always select your preferred DHCP client using 
> > > > > dhcp-client=[dhclient|dhcpcd] in the [main] section of 
> > > > > the config file too though.
> > > > 
> > > > 
> > > > Maybe I misunderstood, but this should work, right?
> > > > 
> > > >   [rwork...@liberty ~]$
> > > > cat /etc/NetworkManager/nm-system-settings.conf [main]
> > > >   plugins=keyfile
> > > >   dhcp-client=dhcpcd
> > > >   
> > > >   [keyfile]
> > > >   hostname=liberty
> > > > 
> > > > If the answer is yes, then one of us has a problem 
> > > > (that's a good-natured comment - no insult intended) :-)
> > > 
> > > Yeah, that should work...  if not then yeah, there's a problem :)
> > > 
> > 
> > 
> > Well, here's what I see in ps output:
> > 
> > /sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.action
> > -pf /var/run/dhclient-wlan0.pid
> > -lf 
> > /var/lib/dhclient/dhclient-93af950b-1619-4ce9-a172-645147565970-wlan0.lease
> > -cf /var/run/nm-dhclient-wlan0.conf wlan0
> > 
> > This is after a reboot (to ensure that both the daemon and 
> > nm-applet were started fresh).  I suppose it's possible that
> > my NM configure arguments could be at fault, so here they are:
> > 
> > ./configure \
> >   --prefix=/usr \
> >   --libdir=/usr/lib${LIBDIRSUFFIX} \
> >   --sysconfdir=/etc \
> >   --localstatedir=/var \
> >   --mandir=/usr/man \
> >   --docdir=/usr/doc/$PRGNAM-$VERSION \
> >   --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/2.4.5 \
> >   --with-crypto=gnutls \
> >   --without-resolvconf \
> >   --with-dhcpcd=/sbin/dhcpcd \
> >   --with-dhclient=yes \
> >   --build=$ARCH-slackware-linux
> > 
> > Where should I begin looking to see what's going on here?  
> 
> So I lied earlier.  The key is:
> 
> dhcp=dhcpcd
> 
> not 'dhcp-client'.  Which should also be documented in 'man
> NetworkManager.conf' actually.


Yay, outstanding.  I should have found that on my own though :/

Anyway, it does indeed work; thanks, Dan!

-RW
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-20 Thread Dan Williams
On Fri, 2010-08-13 at 19:22 -0500, Robby Workman wrote:
> On Fri, 13 Aug 2010 19:10:16 -0500
> Dan Williams  wrote:
> 
> > On Fri, 2010-08-13 at 18:58 -0500, Robby Workman wrote:
> > > On Wed, 11 Aug 2010 18:41:01 -0500
> > > Dan Williams  wrote:
> > > 
> > > > You can always select your preferred DHCP client using 
> > > > dhcp-client=[dhclient|dhcpcd] in the [main] section of 
> > > > the config file too though.
> > > 
> > > 
> > > Maybe I misunderstood, but this should work, right?
> > > 
> > >   [rwork...@liberty ~]$
> > > cat /etc/NetworkManager/nm-system-settings.conf [main]
> > >   plugins=keyfile
> > >   dhcp-client=dhcpcd
> > >   
> > >   [keyfile]
> > >   hostname=liberty
> > > 
> > > If the answer is yes, then one of us has a problem 
> > > (that's a good-natured comment - no insult intended) :-)
> > 
> > Yeah, that should work...  if not then yeah, there's a problem :)
> > 
> 
> 
> Well, here's what I see in ps output:
> 
> /sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.action -pf 
> /var/run/dhclient-wlan0.pid -lf 
> /var/lib/dhclient/dhclient-93af950b-1619-4ce9-a172-645147565970-wlan0.lease 
> -cf /var/run/nm-dhclient-wlan0.conf wlan0
> 
> This is after a reboot (to ensure that both the daemon and 
> nm-applet were started fresh).  I suppose it's possible that
> my NM configure arguments could be at fault, so here they are:
> 
> ./configure \
>   --prefix=/usr \
>   --libdir=/usr/lib${LIBDIRSUFFIX} \
>   --sysconfdir=/etc \
>   --localstatedir=/var \
>   --mandir=/usr/man \
>   --docdir=/usr/doc/$PRGNAM-$VERSION \
>   --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/2.4.5 \
>   --with-crypto=gnutls \
>   --without-resolvconf \
>   --with-dhcpcd=/sbin/dhcpcd \
>   --with-dhclient=yes \
>   --build=$ARCH-slackware-linux
> 
> Where should I begin looking to see what's going on here?  

So I lied earlier.  The key is:

dhcp=dhcpcd

not 'dhcp-client'.  Which should also be documented in 'man
NetworkManager.conf' actually.

Sorry!
Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-13 Thread Robby Workman
On Fri, 13 Aug 2010 19:10:16 -0500
Dan Williams  wrote:

> On Fri, 2010-08-13 at 18:58 -0500, Robby Workman wrote:
> > On Wed, 11 Aug 2010 18:41:01 -0500
> > Dan Williams  wrote:
> > 
> > > You can always select your preferred DHCP client using 
> > > dhcp-client=[dhclient|dhcpcd] in the [main] section of 
> > > the config file too though.
> > 
> > 
> > Maybe I misunderstood, but this should work, right?
> > 
> >   [rwork...@liberty ~]$
> > cat /etc/NetworkManager/nm-system-settings.conf [main]
> >   plugins=keyfile
> >   dhcp-client=dhcpcd
> >   
> >   [keyfile]
> >   hostname=liberty
> > 
> > If the answer is yes, then one of us has a problem 
> > (that's a good-natured comment - no insult intended) :-)
> 
> Yeah, that should work...  if not then yeah, there's a problem :)
> 


Well, here's what I see in ps output:

/sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.action -pf 
/var/run/dhclient-wlan0.pid -lf 
/var/lib/dhclient/dhclient-93af950b-1619-4ce9-a172-645147565970-wlan0.lease -cf 
/var/run/nm-dhclient-wlan0.conf wlan0

This is after a reboot (to ensure that both the daemon and 
nm-applet were started fresh).  I suppose it's possible that
my NM configure arguments could be at fault, so here they are:

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/2.4.5 \
  --with-crypto=gnutls \
  --without-resolvconf \
  --with-dhcpcd=/sbin/dhcpcd \
  --with-dhclient=yes \
  --build=$ARCH-slackware-linux

Where should I begin looking to see what's going on here?  

-RW
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-13 Thread Robby Workman
On Wed, 11 Aug 2010 18:41:01 -0500
Dan Williams  wrote:

> You can always select your preferred DHCP client using 
> dhcp-client=[dhclient|dhcpcd] in the [main] section of 
> the config file too though.


Maybe I misunderstood, but this should work, right?

  [rwork...@liberty ~]$ cat /etc/NetworkManager/nm-system-settings.conf 
  [main]
  plugins=keyfile
  dhcp-client=dhcpcd
  
  [keyfile]
  hostname=liberty

If the answer is yes, then one of us has a problem 
(that's a good-natured comment - no insult intended) :-)

-RW
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-13 Thread Dan Williams
On Fri, 2010-08-13 at 18:58 -0500, Robby Workman wrote:
> On Wed, 11 Aug 2010 18:41:01 -0500
> Dan Williams  wrote:
> 
> > You can always select your preferred DHCP client using 
> > dhcp-client=[dhclient|dhcpcd] in the [main] section of 
> > the config file too though.
> 
> 
> Maybe I misunderstood, but this should work, right?
> 
>   [rwork...@liberty ~]$ cat /etc/NetworkManager/nm-system-settings.conf 
>   [main]
>   plugins=keyfile
>   dhcp-client=dhcpcd
>   
>   [keyfile]
>   hostname=liberty
> 
> If the answer is yes, then one of us has a problem 
> (that's a good-natured comment - no insult intended) :-)

Yeah, that should work...  if not then yeah, there's a problem :)

Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-12 Thread Alex Buell
On Thu, 2010-08-12 at 14:56 +0530, Arun Raghavan wrote:
> > Aha, that's the exact problem I had! I'd better get Gentoo to put
> out a
> > fixed version, I'll have to file a bug report.
> 
> This was already fixed 8 days ago (0.8.1-r1). 

Thanks, unmasking it now...
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-12 Thread Arun Raghavan
On 12 August 2010 14:36, Alex Buell  wrote:
[...]
>> Not true actually; it'll work with either.  There was recently a bug
>> where if you had dhcp3 installed and had built NM with
>> --without-dhclient, that NM would still try to use dhclient.  That's
>> since been fixed.  You can always select your preferred DHCP client
>> using dhcp-client=[dhclient|dhcpcd] in the [main] section of the config
>> file too though.
>
> Aha, that's the exact problem I had! I'd better get Gentoo to put out a
> fixed version, I'll have to file a bug report.

This was already fixed 8 days ago (0.8.1-r1).

Cheers,
-- 
Arun Raghavan
http://arunraghavan.net/
(Ford_Prefect | Gentoo) & (arunsr | GNOME)
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-12 Thread Alex Buell
On Wed, 2010-08-11 at 18:41 -0500, Dan Williams wrote:
> On Wed, 2010-08-11 at 19:13 +0100, Alex Buell wrote:
> > Are there any docs on the differences or changes between NetworkManager
> > 0.8 and 0.8.1? The settings seems to have changed between 0.8 and 0.8.1.
> > 
> > If I upgrade to 0.8.1 from 0.8, NetworkManager won't work any more but
> > if I downgrade back to 0.8, it all starts working again. 
> > 
> > What changes were made? 
> 
> Over 650 commits; 80 bugs closed, etc.  What exactly is the problem, and
> when you say "doesn't work" what do you mean?

See below.

> > Finally, from commments made on Gentoo forums it looks like
> > NetworkManager prefers to work with dhclient rather than with dhcpcd. Is
> > this true?
> 
> Not true actually; it'll work with either.  There was recently a bug
> where if you had dhcp3 installed and had built NM with
> --without-dhclient, that NM would still try to use dhclient.  That's
> since been fixed.  You can always select your preferred DHCP client
> using dhcp-client=[dhclient|dhcpcd] in the [main] section of the config
> file too though.

Aha, that's the exact problem I had! I'd better get Gentoo to put out a
fixed version, I'll have to file a bug report. 

Once I move to 0.8.1 I'll carry on with the changes to add 56K modems. 
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Changes between NetworkManager 0.8 and 0.8.1

2010-08-11 Thread Dan Williams
On Wed, 2010-08-11 at 19:13 +0100, Alex Buell wrote:
> Are there any docs on the differences or changes between NetworkManager
> 0.8 and 0.8.1? The settings seems to have changed between 0.8 and 0.8.1.
> 
> If I upgrade to 0.8.1 from 0.8, NetworkManager won't work any more but
> if I downgrade back to 0.8, it all starts working again. 
> 
> What changes were made? 

Over 650 commits; 80 bugs closed, etc.  What exactly is the problem, and
when you say "doesn't work" what do you mean?

> Finally, from commments made on Gentoo forums it looks like
> NetworkManager prefers to work with dhclient rather than with dhcpcd. Is
> this true?

Not true actually; it'll work with either.  There was recently a bug
where if you had dhcp3 installed and had built NM with
--without-dhclient, that NM would still try to use dhclient.  That's
since been fixed.  You can always select your preferred DHCP client
using dhcp-client=[dhclient|dhcpcd] in the [main] section of the config
file too though.

Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Changes between NetworkManager 0.8 and 0.8.1

2010-08-11 Thread Alex Buell
Are there any docs on the differences or changes between NetworkManager
0.8 and 0.8.1? The settings seems to have changed between 0.8 and 0.8.1.

If I upgrade to 0.8.1 from 0.8, NetworkManager won't work any more but
if I downgrade back to 0.8, it all starts working again. 

What changes were made? 

Finally, from commments made on Gentoo forums it looks like
NetworkManager prefers to work with dhclient rather than with dhcpcd. Is
this true?

Thanks
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list