Re: openrc-0.5 new network
Dirk Heinrichs
Tue Oct 13 16:19:17 2009
Am Sonntag 11 Oktober 2009 17:28:49 schrieb Roy Marples:
> On Sunday 11 October 2009 10:22:16 Dirk Heinrichs wrote:
> > Unfortunately old style is broken in 0.5.1 (/etc/init.d/net.lo: 510:
> > _exists: Command not found).
>
> It works for me in a quick test - is the ebuild broken or did you fail to
> update files?
I've seen the same on another box today, config files are updated. Here's the
exact error message I got:
# LANG="" /etc/init.d/net.eth0 restart
* Bringing up interface eth0
/etc/init.d/net.eth0: line 510: _exists: command not found
* ERROR: interface eth0 does not exist
* Ensure that you have loaded the correct kernel module for your
hardware
* ERROR: net.eth0 failed to start
> > Another question: How to selectively enable different network interfaces
> > (i.e. switching between wired and wireless)? To me it looks like I can
> > only have all or nothing.
>
> This is what dhcpcd-5 is designed to do :)
Does that mean I can just start it on my laptop (maybe after setting up
wpa_supplicant for wireless) and I can then switch on/off wireless or plug/pull
the cable from wired interface and it will automatically query the dhcp
server? What if both interfaces are available (they sometimes disturb each
other, because they get adresses from the same network)?
Bye...
Dirk
Archive administrator: postmaster@marples.name