On Fri, 10 Apr 2009 11:12:04 +0100
Etaoin Shrdlu <[email protected]> wrote:

> On my laptop, I always had an issue with eth0; during boot, I got a 
> warning "no configuration found for eth0, assuming dhcp" despite the 
> fact that in /etc/conf.d/net I had config_eth0=( "dhcp" ).

I don't remember since when, but the correct syntax should be
'config_eth0="dhcp"'. Could be it's that way since OpenRC and
baselayout-2, and that will explain why you don't have the same problem
on other, probably not up-to-date or just stable arch, machines.

> Now I don't want to start eth0 at boot anymore (only wlan0), so I 
> commented out the config_eth0=( "dhcp" ) in /etc/conf.d/net, and did a 
> rc-update del net.eth0 default (which correctly deleted net.eth0 from 
> the default runlevel).

That should be done by disabling hotplugging in /etc/rc.conf.
You can either disable hotplug completely, or, better yet, since you
don't need in for one device only, disable it for that device:

  rc_hotplug="!net.eth0"

Note that I'm not sure about syntax with baselayout-1, but the option
should be there anyway.

-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: PGP signature

Reply via email to