Re: Fundamental "howto" question
Roy Marples
Wed Aug 19 20:30:20 2009
On Tuesday 18 August 2009 23:12:52 Ed W wrote:
> What I observe is:
>
> - If I *don't* start /etc/init.d/dhcpcd then when I try and start
> /etc/init.d/net.eth0 with nothing connected, then it hangs for what I
> guess is a 30 second timeout looking for a dhcp server. It would appear
> that the link state check isn't being checked?
I would work your conf.d/net on the assumption that NO dhcp client is
installed so dhcp is never tried.
modules="!dhcp"
When using dhcpcd, you only want the net.foo scripts to handle hotplugging of
wireless interfaces (to start wpa_supplicant).
> I'm mainly confused on how dhcpcd should be leveraged in all this. It
> seems that dhcpcd is doing a bit too much and it's not clear how to
> dovetail it with the openrc net scripts?
>
> Also how does this all change with openrc 0.50... ?
dhcpcd-5 is designed to configure your entire IPv4 network, including
interaction with PtP interfaces such as PPP and VPN.
OpenRC-0.5 only ships with a networks script by default to configure the lo
interface as dhcpcd-5 now handles everything else.
IPv6 is autoconfig anyway (DNS aside).
> It's possible I missed a bunch of documentation - pointers appreciated.
> However, grateful for some suggestions on how to implement such a setup
> and in particular how to make best use of dhcpcd? Please don't
> overthink the scenario above, it's the big picture I'm after, the above
> just illustrates a reasonably comprehensive configuration
If the documentation is lacking, please provide patches to it so others benefit
:)
Thanks
Roy
Archive administrator: postmaster@marples.name