Re: Changes between NetworkManager 0.8 and 0.8.1



On Fri, 2010-08-13 at 19:22 -0500, Robby Workman wrote:
> On Fri, 13 Aug 2010 19:10:16 -0500
> Dan Williams <dcbw redhat com> wrote:
> 
> > On Fri, 2010-08-13 at 18:58 -0500, Robby Workman wrote:
> > > On Wed, 11 Aug 2010 18:41:01 -0500
> > > Dan Williams <dcbw redhat com> 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?
> > > 
> > >   [rworkman 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]