Re: [PATCH] networkmanager-0.7.0-gentoo-dhclient.patch



On Thu, 2009-04-23 at 09:17 +0100, Robert Piasek wrote:
> On Thursday 23 April 2009 00:56:58 you wrote:
> > On Wed, 2009-04-22 at 12:03 +0100, Robert Piasek wrote:
> > > Hi Dan,
> > >
> > > Could you please include this patch? It specifies standard dhclient.conf
> > > location on Gentoo.
> >
> > Gentoo doesn't allow per-interface dhcp config files?  That sorta sucks.
> 
> Well it's not different than Debian or SUSE in this regards is it?
> 
> /etc/dhcp/dhclient.conf is the _default_ location of dhclient configuration 
> file. In Gentoo all networking options are defined in /etc/conf.d/net where you 
> can specify per-interface options for all sorts of settings. dhclient specific 
> section looks like:
> 
> # dhclient, udhcpc and pump don't have many runtime options
> # You can pass options to them in a similar manner to dhcpcd though
> #dhclient_eth0="..."
> #udhcpc_eth0="..."
> #pump_eth0="..."
> 
> Since we don't have Gentoo specific plugin which would be able to read and 
> parse all Gentoo specific configuration options - we need to stick to defaults.

Ok, so /etc/conf.d/net would take dhclient_eth0 and write those options
out to the config file, then kick off the DHCP run?

dan




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