Re: openrc-0.5 new network
Roy Marples
Tue Oct 13 20:09:45 2009
On Tuesday 13 October 2009 17:19:09 Dirk Heinrichs wrote:
> 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
Link or post your net.eth0 script then please.
> > > 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)?
Yes :)
And dhcpcd will prefer wired over wireless when on the same subnet.
Thanks
Roy
Archive administrator: postmaster@marples.name