Re: Fundamental "howto" question
Ed W
Wed Aug 19 22:15:17 2009
Hi
I would work your conf.d/net on the assumption that NO dhcp client is
installed so dhcp is never tried.
modules="!dhcp"
Aha - not tried it yet, but that makes a lot of sense!
When using dhcpcd, you only want the net.foo scripts to handle hotplugging of
wireless interfaces (to start wpa_supplicant).
Did I already point out that I seem to be getting a bit of extra
hotplugging for free?
Using
rc_hotplug="net.wlan"
Is apparently also hotplugging my net.lanX scripts as well - did I get
the syntax wrong?
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.
Yeah, that looks cool.
However, I'm not quite sure I can see where this is going yet? So if
I'm on openrc 0.50, what would be the equiv of the current net:
config_eth1="null"
config_eth2="null"
config_wlan0="null"
bridge_br0="eth1 eth2 wlan0"
config_br0="192.168.105.83 netmask 255.255.255.0 broadcast
192.168.105.255"
routes_br0="default via 192.168.105.254"
ie, create a bridge and give it a static IP.
Is dhcpcd supposed to bring up that bridge? How is it supposed to
allocate static ips or more unique/advanced features of a given interface?
Can dhcpcd help with the situation of having multiple outbound routes
with different priorites?
These are no doubt dim questions, please be gentle...
If the documentation is lacking, please provide patches to it so others benefit
:)
Would be happy to.
You have some web versions of the man pages - do you think we might have
a master index for all of those? They are very good, but often I'm not
sure what to search for (and I can only find them via a google search)
I was about to also suggest some kind of editable space, but I guess
there is one through Trac already... I do suffer from it being a bit of
a blank canvas at preset - I'm afraid to dirty it...
By the way I didn't mean to critique the documentation - what is out
there seems excellent - however, I do find it a bit hard to navigate
around the man pages and suffer from not really getting the 10,000 foot
view yet
Thanks Roy
Ed W
Archive administrator: postmaster@marples.name